From 2c821ceb5453ae656f63141cd901651cef2b44d4 Mon Sep 17 00:00:00 2001 From: Hinnka Date: Wed, 8 Oct 2025 12:43:28 +0800 Subject: [PATCH] feat: zero cold water switch --- .../midea_auto_cloud/device_mapping/T0xE3.py | 9 ++------- custom_components/midea_auto_cloud/translations/en.json | 3 +++ .../midea_auto_cloud/translations/zh-Hans.json | 3 +++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py index b9b163d..44fd798 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py @@ -7,19 +7,14 @@ DEVICE_MAPPING = { "default": { "rationale": ["off", "on"], "queries": [{}], - "centralized": [ - "power", "bubble", "cold_water", "bathtub", "safe", "cold_water_dot", - "change_litre_switch", "cold_water_ai", "cold_water_pressure", - "person_mode_one", "person_mode_two", "person_mode_three", "gesture_function", - "mode", "power_level", "type_machine", "capacity", "temperature" - ], + "centralized": [], "entities": { Platform.SWITCH: { "bubble": { "device_class": SwitchDeviceClass.SWITCH, "rationale": [0, 1] }, - "cold_water": { + "cold_water_master": { "device_class": SwitchDeviceClass.SWITCH, }, "bathtub": { diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index ea8852d..838616b 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -2317,6 +2317,9 @@ }, "antifreeze": { "name": "Antifreeze" + }, + "cold_water_master": { + "name": "Cold Water Master" } } } diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index a46e3bf..216756e 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -2317,6 +2317,9 @@ }, "antifreeze": { "name": "防冻模式" + }, + "cold_water_master": { + "name": "单次零冷水" } } }