mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-17 09:55:51 +00:00
feat: add follow_body_sense for T0xAC. Fixes #51
This commit is contained in:
@@ -107,7 +107,10 @@ DEVICE_MAPPING = {
|
|||||||
},
|
},
|
||||||
"aux_heat": {
|
"aux_heat": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
}
|
},
|
||||||
|
"follow_body_sense": {
|
||||||
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Platform.SENSOR: {
|
Platform.SENSOR: {
|
||||||
"mode": {
|
"mode": {
|
||||||
@@ -252,16 +255,13 @@ DEVICE_MAPPING = {
|
|||||||
},
|
},
|
||||||
Platform.SWITCH: {
|
Platform.SWITCH: {
|
||||||
"dry": {
|
"dry": {
|
||||||
"name": "干燥",
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"prevent_straight_wind": {
|
"prevent_straight_wind": {
|
||||||
"name": "防直吹",
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
"rationale": [1, 2]
|
"rationale": [1, 2]
|
||||||
},
|
},
|
||||||
"aux_heat": {
|
"aux_heat": {
|
||||||
"name": "电辅热",
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -357,7 +357,6 @@ DEVICE_MAPPING = {
|
|||||||
},
|
},
|
||||||
Platform.SWITCH: {
|
Platform.SWITCH: {
|
||||||
"power": {
|
"power": {
|
||||||
"name": "电源",
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1574,6 +1574,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"switch": {
|
"switch": {
|
||||||
|
"follow_body_sense": {
|
||||||
|
"name": "Follow Body Sense"
|
||||||
|
},
|
||||||
"waterions": {
|
"waterions": {
|
||||||
"name": "Disinfection"
|
"name": "Disinfection"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1578,6 +1578,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"switch": {
|
"switch": {
|
||||||
|
"follow_body_sense": {
|
||||||
|
"name": "随身感"
|
||||||
|
},
|
||||||
"waterions": {
|
"waterions": {
|
||||||
"name": "消杀"
|
"name": "消杀"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user