From 98ebac5516ee028cff7d174dbd344527b50a4de9 Mon Sep 17 00:00:00 2001 From: sususweet Date: Thu, 27 Nov 2025 23:24:01 +0800 Subject: [PATCH] feat: Follow body sense function fixed. Fix #51. --- custom_components/midea_auto_cloud/device_mapping/T0xAC.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py index 21dd560..eb5a343 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py @@ -109,8 +109,9 @@ DEVICE_MAPPING = { "aux_heat": { "device_class": SwitchDeviceClass.SWITCH, }, - "follow_body_sense": { + "follow_body_sense_enable": { "device_class": SwitchDeviceClass.SWITCH, + "rationale": [0, 1] }, }, Platform.SENSOR: { @@ -312,8 +313,9 @@ DEVICE_MAPPING = { "aux_heat": { "device_class": SwitchDeviceClass.SWITCH, }, - "follow_body_sense": { + "follow_body_sense_enable": { "device_class": SwitchDeviceClass.SWITCH, + "rationale": [0, 1] }, }, Platform.SENSOR: {