feat: add follow_body_sense for T0xAC. Fixes #51

This commit is contained in:
Yingqi Tang
2025-11-21 01:10:45 +00:00
parent 3edd94d790
commit 849280676f
3 changed files with 10 additions and 5 deletions

View File

@@ -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,
},
},

View File

@@ -1574,6 +1574,9 @@
}
},
"switch": {
"follow_body_sense": {
"name": "Follow Body Sense"
},
"waterions": {
"name": "Disinfection"
},

View File

@@ -1578,6 +1578,9 @@
}
},
"switch": {
"follow_body_sense": {
"name": "随身感"
},
"waterions": {
"name": "消杀"
},