From 8e0897468278af0705817754d92ce54f266cebf9 Mon Sep 17 00:00:00 2001 From: sususweet Date: Wed, 1 Oct 2025 18:35:19 +0800 Subject: [PATCH] feat: add turn on & off feature for T0xAC. --- custom_components/midea_auto_cloud/climate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/midea_auto_cloud/climate.py b/custom_components/midea_auto_cloud/climate.py index 31d5667..abed8ba 100644 --- a/custom_components/midea_auto_cloud/climate.py +++ b/custom_components/midea_auto_cloud/climate.py @@ -81,6 +81,8 @@ class MideaClimateEntity(MideaEntity, ClimateEntity): @property def supported_features(self): features = ClimateEntityFeature(0) + features |= ClimateEntityFeature.TURN_ON + features |= ClimateEntityFeature.TURN_OFF if self._key_target_temperature is not None: features |= ClimateEntityFeature.TARGET_TEMPERATURE if self._key_preset_modes is not None: