Add TURN_ON/OFF ClimateEntityFeature for HomeKit Device (#109137)
This commit is contained in:
parent
70ee6a16ee
commit
066a0ccc6d
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class HomeKitBaseClimateEntity(HomeKitEntity, ClimateEntity):
|
|||
@cached_property
|
||||
def supported_features(self) -> ClimateEntityFeature:
|
||||
"""Return the list of supported features."""
|
||||
features = ClimateEntityFeature(0)
|
||||
features = ClimateEntityFeature.TURN_OFF | ClimateEntityFeature.TURN_ON
|
||||
|
||||
if self.service.has(CharacteristicsTypes.FAN_STATE_TARGET):
|
||||
features |= ClimateEntityFeature.FAN_MODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue