From 6d43a5627aa92366db5b1201cefd7e4568170bb0 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Tue, 30 Jan 2024 18:14:16 +0100 Subject: [PATCH] Add TURN_ON/OFF ClimateEntityFeature for CoolMasterNet (#108972) --- homeassistant/components/coolmaster/climate.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/coolmaster/climate.py b/homeassistant/components/coolmaster/climate.py index c9f5cff4339..de0a7029ac6 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -65,7 +65,10 @@ class CoolmasterClimate(CoolmasterEntity, ClimateEntity): def supported_features(self) -> ClimateEntityFeature: """Return the list of supported features.""" supported_features = ( - ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE + ClimateEntityFeature.TARGET_TEMPERATURE + | ClimateEntityFeature.FAN_MODE + | ClimateEntityFeature.TURN_OFF + | ClimateEntityFeature.TURN_ON ) if self.swing_mode: supported_features |= ClimateEntityFeature.SWING_MODE