mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix feature flag in climate (#121398)
This commit is contained in:
parent
f1693f2fde
commit
44f989ae38
@ -379,7 +379,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|||||||
|
|
||||||
supported_features = self.supported_features
|
supported_features = self.supported_features
|
||||||
if 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
|
# The entity supports both turn_on and turn_off, the backwards compatibility
|
||||||
# checks are not needed
|
# checks are not needed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user