From 44f989ae38ea0e274a6a691b472207114cbd8918 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 6 Jul 2024 23:36:53 +0200 Subject: [PATCH] Fix feature flag in climate (#121398) --- homeassistant/components/climate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/climate/__init__.py b/homeassistant/components/climate/__init__.py index 98500d97eb7..2c891779c37 100644 --- a/homeassistant/components/climate/__init__.py +++ b/homeassistant/components/climate/__init__.py @@ -379,7 +379,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_): supported_features = self.supported_features if supported_features & ( - ClimateEntityFeature.TURN_ON | ClimateEntityFeature.TURN_ON + ClimateEntityFeature.TURN_ON | ClimateEntityFeature.TURN_OFF ): # The entity supports both turn_on and turn_off, the backwards compatibility # checks are not needed