mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Add new climate feature flags to venstar (#109436)
This commit is contained in:
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…
x
Reference in New Issue
Block a user