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": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"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: {
|
||||
"mode": {
|
||||
@@ -215,10 +219,6 @@ DEVICE_MAPPING = {
|
||||
"aux_heat": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"manul_fresh_air": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
@@ -338,10 +338,6 @@ DEVICE_MAPPING = {
|
||||
"aux_heat": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"mode": {
|
||||
|
||||
@@ -15,6 +15,7 @@ DEVICE_MAPPING = {
|
||||
},
|
||||
"bubble": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1],
|
||||
},
|
||||
"cold_water": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
|
||||
@@ -368,6 +368,9 @@
|
||||
}
|
||||
},
|
||||
"select": {
|
||||
"follow_body_sense": {
|
||||
"name": "Follow Body Sense"
|
||||
},
|
||||
"bright": {
|
||||
"name": "Brightness"
|
||||
},
|
||||
@@ -1674,9 +1677,6 @@
|
||||
"summer_mode": {
|
||||
"name": "Summer Mode"
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"name": "Follow Body Sense"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "Disinfection"
|
||||
},
|
||||
|
||||
@@ -372,6 +372,9 @@
|
||||
}
|
||||
},
|
||||
"select": {
|
||||
"follow_body_sense": {
|
||||
"name": "随身感"
|
||||
},
|
||||
"bright": {
|
||||
"name": "亮度"
|
||||
},
|
||||
@@ -1678,9 +1681,6 @@
|
||||
"summer_mode": {
|
||||
"name": "夏季模式"
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"name": "随身感"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "消杀"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user