mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-17 09:55:51 +00:00
feat: update wash function for T0xED.
This commit is contained in:
@@ -17,9 +17,6 @@ DEVICE_MAPPING = {
|
|||||||
"heat": {
|
"heat": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"antifreeze": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
},
|
|
||||||
"lock": {
|
"lock": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
@@ -29,22 +26,13 @@ DEVICE_MAPPING = {
|
|||||||
"keep_warm": {
|
"keep_warm": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"vacation": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
},
|
|
||||||
"germicidal": {
|
"germicidal": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"lack_water": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
},
|
|
||||||
"drainage": {
|
"drainage": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"wash_enable": {
|
"wash": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
},
|
|
||||||
"water_way": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"soften": {
|
"soften": {
|
||||||
@@ -65,14 +53,14 @@ DEVICE_MAPPING = {
|
|||||||
"cl_sterilization": {
|
"cl_sterilization": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"holiday_mode": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Platform.BINARY_SENSOR: {
|
Platform.BINARY_SENSOR: {
|
||||||
"heat_status": {
|
"heat_status": {
|
||||||
"device_class": BinarySensorDeviceClass.RUNNING,
|
"device_class": BinarySensorDeviceClass.RUNNING,
|
||||||
},
|
},
|
||||||
|
"lack_water": {
|
||||||
|
"device_class": BinarySensorDeviceClass.PROBLEM,
|
||||||
|
},
|
||||||
"standby_status": {
|
"standby_status": {
|
||||||
"device_class": BinarySensorDeviceClass.RUNNING,
|
"device_class": BinarySensorDeviceClass.RUNNING,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user