Add TURN_ON/OFF ClimateEntityFeature for Vera (#108969)

pull/109150/head
G Johansson 2024-01-30 18:12:15 +01:00 committed by GitHub
parent 1acc9007d4
commit 822d5b3ce8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ class VeraThermostat(VeraDevice[veraApi.VeraThermostat], ClimateEntity):
_attr_hvac_modes = SUPPORT_HVAC _attr_hvac_modes = SUPPORT_HVAC
_attr_fan_modes = FAN_OPERATION_LIST _attr_fan_modes = FAN_OPERATION_LIST
_attr_supported_features = ( _attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
) )
def __init__( def __init__(