mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-17 09:55:51 +00:00
fix: support of follow_body_sense.
This commit is contained in:
@@ -109,10 +109,14 @@ DEVICE_MAPPING = {
|
|||||||
"aux_heat": {
|
"aux_heat": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"follow_body_sense_enable": {
|
},
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
Platform.SELECT: {
|
||||||
"rationale": [0, 1]
|
"follow_body_sense": {
|
||||||
},
|
"options": {
|
||||||
|
"on": {"follow_body_sense": "on", "follow_body_sense_enable": 1},
|
||||||
|
"off": {"follow_body_sense": "off", "follow_body_sense_enable": 1},
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Platform.SENSOR: {
|
Platform.SENSOR: {
|
||||||
"mode": {
|
"mode": {
|
||||||
@@ -215,10 +219,6 @@ DEVICE_MAPPING = {
|
|||||||
"aux_heat": {
|
"aux_heat": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"follow_body_sense_enable": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
"rationale": [0, 1]
|
|
||||||
},
|
|
||||||
"manul_fresh_air": {
|
"manul_fresh_air": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
@@ -338,10 +338,6 @@ DEVICE_MAPPING = {
|
|||||||
"aux_heat": {
|
"aux_heat": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"follow_body_sense_enable": {
|
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
|
||||||
"rationale": [0, 1]
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Platform.SENSOR: {
|
Platform.SENSOR: {
|
||||||
"mode": {
|
"mode": {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ DEVICE_MAPPING = {
|
|||||||
},
|
},
|
||||||
"bubble": {
|
"bubble": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
|
"rationale": [0, 1],
|
||||||
},
|
},
|
||||||
"cold_water": {
|
"cold_water": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
|
|||||||
@@ -368,6 +368,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"select": {
|
"select": {
|
||||||
|
"follow_body_sense": {
|
||||||
|
"name": "Follow Body Sense"
|
||||||
|
},
|
||||||
"bright": {
|
"bright": {
|
||||||
"name": "Brightness"
|
"name": "Brightness"
|
||||||
},
|
},
|
||||||
@@ -1674,9 +1677,6 @@
|
|||||||
"summer_mode": {
|
"summer_mode": {
|
||||||
"name": "Summer Mode"
|
"name": "Summer Mode"
|
||||||
},
|
},
|
||||||
"follow_body_sense_enable": {
|
|
||||||
"name": "Follow Body Sense"
|
|
||||||
},
|
|
||||||
"waterions": {
|
"waterions": {
|
||||||
"name": "Disinfection"
|
"name": "Disinfection"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -372,6 +372,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"select": {
|
"select": {
|
||||||
|
"follow_body_sense": {
|
||||||
|
"name": "随身感"
|
||||||
|
},
|
||||||
"bright": {
|
"bright": {
|
||||||
"name": "亮度"
|
"name": "亮度"
|
||||||
},
|
},
|
||||||
@@ -1678,9 +1681,6 @@
|
|||||||
"summer_mode": {
|
"summer_mode": {
|
||||||
"name": "夏季模式"
|
"name": "夏季模式"
|
||||||
},
|
},
|
||||||
"follow_body_sense_enable": {
|
|
||||||
"name": "随身感"
|
|
||||||
},
|
|
||||||
"waterions": {
|
"waterions": {
|
||||||
"name": "消杀"
|
"name": "消杀"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user