fix: update T0xD9 binary sensor and translation keys

This commit is contained in:
Cyborg2017
2026-02-07 22:04:44 +08:00
parent 987ec12a81
commit fed8519996

View File

@@ -19,17 +19,21 @@ DEVICE_MAPPING = {
},
"entities": {
Platform.BINARY_SENSOR: {
"db_power": {
"device_class": BinarySensorDeviceClass.RUNNING,
},
"door_opened": {
"db_door_opened": {
"device_class": BinarySensorDeviceClass.OPENING,
"translation_key": "door_opened"
},
"bucket_water_overheating": {
"db_bucket_water_overheating": {
"device_class": BinarySensorDeviceClass.PROBLEM,
"translation_key": "bucket_water_overheating"
},
"drying_tunnel_overheating": {
"db_drying_tunnel_overheating": {
"device_class": BinarySensorDeviceClass.PROBLEM,
"translation_key": "drying_tunnel_overheating"
},
"db_detergent_needed": {
"device_class": BinarySensorDeviceClass.PROBLEM,
"translation_key": "detergent_lack"
}
},
Platform.SWITCH: {