From e3a1812f9ab9c8226c2f7deb2673b16a1e0e530b Mon Sep 17 00:00:00 2001 From: sususweet Date: Thu, 13 Nov 2025 10:09:40 +0800 Subject: [PATCH] feat: fix cold water single loop support for T0xE3. --- custom_components/midea_auto_cloud/device_mapping/T0xE3.py | 3 +++ custom_components/midea_auto_cloud/translations/en.json | 2 +- custom_components/midea_auto_cloud/translations/zh-Hans.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py index 393af6e..0f3dac6 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py @@ -17,6 +17,9 @@ DEVICE_MAPPING = { "device_class": SwitchDeviceClass.SWITCH, "rationale": [0, 1] }, + "cold_water": { + "device_class": SwitchDeviceClass.SWITCH, + }, "cold_water_master": { "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 4a93524..00192f1 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -1827,7 +1827,7 @@ "name": "CO2 Check Enable" }, "cold_water": { - "name": "Cold Water" + "name": "Cold Water Single Loop" }, "cold_water_ai": { "name": "Cold Water AI" diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index a5fe160..e5165fb 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -1831,7 +1831,7 @@ "name": "CO2检测启用" }, "cold_water": { - "name": "零冷水" + "name": "零冷水单次循环" }, "cold_water_ai": { "name": "AI零冷水"