From 696b2b17e7d04887b79024371a73ff1ccc178b16 Mon Sep 17 00:00:00 2001 From: Cyborg2017 Date: Mon, 5 Jan 2026 20:58:32 +0800 Subject: [PATCH] fix: support of deep_filter_percent for T0xFC(571Z3081) --- custom_components/midea_auto_cloud/device_mapping/T0xFC.py | 4 ++++ custom_components/midea_auto_cloud/translations/en.json | 3 +++ custom_components/midea_auto_cloud/translations/zh-Hans.json | 3 +++ 3 files changed, 10 insertions(+) diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xFC.py b/custom_components/midea_auto_cloud/device_mapping/T0xFC.py index 39e6ad1..d311151 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xFC.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xFC.py @@ -152,6 +152,10 @@ DEVICE_MAPPING = { } }, Platform.SENSOR: { + "deep_filter_percent": { + "unit_of_measurement": PERCENTAGE, + "state_class": SensorStateClass.MEASUREMENT + }, "temperature_feedback": { "device_class": SensorDeviceClass.TEMPERATURE, "unit_of_measurement": UnitOfTemperature.CELSIUS, diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index 4c3d41f..139ce5e 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -1037,6 +1037,9 @@ } }, "sensor": { + "deep_filter_percent": { + "name": "Filter Life Remaining" + }, "fresh_air_temp": { "name": "Fresh Air Temp" }, diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index 283e04d..36c3f6a 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -1170,6 +1170,9 @@ } }, "sensor": { + "deep_filter_percent": { + "name": "滤芯寿命" + }, "fresh_air_temp": { "name": "新风温度" },