mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2026-02-20 18:58:12 +00:00
fix: update T0xD9 binary sensor and translation keys
This commit is contained in:
@@ -19,17 +19,21 @@ DEVICE_MAPPING = {
|
|||||||
},
|
},
|
||||||
"entities": {
|
"entities": {
|
||||||
Platform.BINARY_SENSOR: {
|
Platform.BINARY_SENSOR: {
|
||||||
"db_power": {
|
"db_door_opened": {
|
||||||
"device_class": BinarySensorDeviceClass.RUNNING,
|
|
||||||
},
|
|
||||||
"door_opened": {
|
|
||||||
"device_class": BinarySensorDeviceClass.OPENING,
|
"device_class": BinarySensorDeviceClass.OPENING,
|
||||||
|
"translation_key": "door_opened"
|
||||||
},
|
},
|
||||||
"bucket_water_overheating": {
|
"db_bucket_water_overheating": {
|
||||||
"device_class": BinarySensorDeviceClass.PROBLEM,
|
"device_class": BinarySensorDeviceClass.PROBLEM,
|
||||||
|
"translation_key": "bucket_water_overheating"
|
||||||
},
|
},
|
||||||
"drying_tunnel_overheating": {
|
"db_drying_tunnel_overheating": {
|
||||||
"device_class": BinarySensorDeviceClass.PROBLEM,
|
"device_class": BinarySensorDeviceClass.PROBLEM,
|
||||||
|
"translation_key": "drying_tunnel_overheating"
|
||||||
|
},
|
||||||
|
"db_detergent_needed": {
|
||||||
|
"device_class": BinarySensorDeviceClass.PROBLEM,
|
||||||
|
"translation_key": "detergent_lack"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Platform.SWITCH: {
|
Platform.SWITCH: {
|
||||||
|
|||||||
Reference in New Issue
Block a user