feat: Follow body sense function fixed. Fix #51.

This commit is contained in:
sususweet
2025-11-27 23:24:01 +08:00
parent bf7345d680
commit 98ebac5516

View File

@@ -109,8 +109,9 @@ DEVICE_MAPPING = {
"aux_heat": { "aux_heat": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
"follow_body_sense": { "follow_body_sense_enable": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1]
}, },
}, },
Platform.SENSOR: { Platform.SENSOR: {
@@ -312,8 +313,9 @@ DEVICE_MAPPING = {
"aux_heat": { "aux_heat": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
"follow_body_sense": { "follow_body_sense_enable": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1]
}, },
}, },
Platform.SENSOR: { Platform.SENSOR: {