Add new climate feature flags to venstar (#109436)
parent
fe25975cab
commit
63f78dece0
|
@ -108,6 +108,7 @@ class VenstarThermostat(VenstarEntity, ClimateEntity):
|
|||
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.COOL, HVACMode.OFF, HVACMode.AUTO]
|
||||
_attr_precision = PRECISION_HALVES
|
||||
_attr_name = None
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
@ -130,6 +131,8 @@ class VenstarThermostat(VenstarEntity, ClimateEntity):
|
|||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.FAN_MODE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
|
||||
if self._client.mode == self._client.MODE_AUTO:
|
||||
|
|
Loading…
Reference in New Issue