mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-11-12 07:51:54 +00:00
feat: add support for T0x9B. Fixed #35.
This commit is contained in:
@@ -23,6 +23,7 @@ Get devices from MSmartHome/Midea Meiju homes through the network and control th
|
||||
- T0x21 Central Air Conditioning Gateway
|
||||
- T0x26 Bath Heater
|
||||
- T0x3D Water Heater
|
||||
- T0x9B Steam oven
|
||||
- T0x9C Integrated Gas Stove
|
||||
- T0xA1 Dehumidifier
|
||||
- T0xAC Air Conditioner
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
- T0x21 中央空调网关
|
||||
- T0x26 浴霸
|
||||
- T0x3D 电热水瓶
|
||||
- T0x9B 蒸烤箱
|
||||
- T0x9C 集成灶
|
||||
- T0xA1 除湿机
|
||||
- T0xAC 空调
|
||||
|
||||
20
custom_components/midea_auto_cloud/device_mapping/T0x9B.py
Normal file
20
custom_components/midea_auto_cloud/device_mapping/T0x9B.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from homeassistant.const import Platform, UnitOfTemperature, UnitOfVolume, UnitOfTime, PERCENTAGE, PRECISION_HALVES, \
|
||||
UnitOfEnergy, UnitOfPower, PRECISION_WHOLE, UnitOfPressure
|
||||
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
|
||||
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
|
||||
from homeassistant.components.switch import SwitchDeviceClass
|
||||
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.SENSOR: {
|
||||
"work_status": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user