Add new climate feature flags to stiebel_eltron (#109457)

This commit is contained in:
G Johansson 2024-02-02 22:45:06 -05:00 committed by GitHub
parent de308fbd55
commit 9325243ef2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,9 +73,13 @@ class StiebelEltron(ClimateEntity):
_attr_hvac_modes = SUPPORT_HVAC _attr_hvac_modes = SUPPORT_HVAC
_attr_supported_features = ( _attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.PRESET_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
) )
_attr_temperature_unit = UnitOfTemperature.CELSIUS _attr_temperature_unit = UnitOfTemperature.CELSIUS
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, name, ste_data): def __init__(self, name, ste_data):
"""Initialize the unit.""" """Initialize the unit."""