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": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
}
|
||||
},
|
||||
"follow_body_sense": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"mode": {
|
||||
@@ -252,16 +255,13 @@ DEVICE_MAPPING = {
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"dry": {
|
||||
"name": "干燥",
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"prevent_straight_wind": {
|
||||
"name": "防直吹",
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [1, 2]
|
||||
},
|
||||
"aux_heat": {
|
||||
"name": "电辅热",
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
}
|
||||
},
|
||||
@@ -357,7 +357,6 @@ DEVICE_MAPPING = {
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"power": {
|
||||
"name": "电源",
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1574,6 +1574,9 @@
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"follow_body_sense": {
|
||||
"name": "Follow Body Sense"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "Disinfection"
|
||||
},
|
||||
|
||||
@@ -1578,6 +1578,9 @@
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"follow_body_sense": {
|
||||
"name": "随身感"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "消杀"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user