diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py index 05e0413..738b6c4 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py @@ -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, }, }, diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index 7ae9946..395ec4c 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -1574,6 +1574,9 @@ } }, "switch": { + "follow_body_sense": { + "name": "Follow Body Sense" + }, "waterions": { "name": "Disinfection" }, diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index c1bc070..d559261 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -1578,6 +1578,9 @@ } }, "switch": { + "follow_body_sense": { + "name": "随身感" + }, "waterions": { "name": "消杀" },