mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-09-28 02:32:40 +00:00
feat: add more device support
This commit is contained in:
16
custom_components/midea_auto_cloud/device_mapping/T0xED.py
Normal file
16
custom_components/midea_auto_cloud/device_mapping/T0xED.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from homeassistant.const import Platform, UnitOfTemperature, PRECISION_HALVES
|
||||
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.SWITCH: {},
|
||||
Platform.SENSOR: {}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user