mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add TURN_ON/OFF ClimateEntityFeature for Sensibo (#108962)
This commit is contained in:
parent
c51a675893
commit
9d664c0fdd
@ -207,7 +207,7 @@ class SensiboClimate(SensiboDeviceBaseEntity, ClimateEntity):
|
||||
|
||||
def get_features(self) -> ClimateEntityFeature:
|
||||
"""Get supported features."""
|
||||
features = ClimateEntityFeature(0)
|
||||
features = ClimateEntityFeature.TURN_OFF | ClimateEntityFeature.TURN_ON
|
||||
for key in self.device_data.full_features:
|
||||
if key in FIELD_TO_FLAG:
|
||||
features |= FIELD_TO_FLAG[key]
|
||||
|
Loading…
x
Reference in New Issue
Block a user