Adds new climate feature flags to maxcube (#109467)
This commit is contained in:
parent
82a2980cbd
commit
7666c432e4
1 changed files with 5 additions and 1 deletions
|
@ -68,8 +68,12 @@ class MaxCubeClimate(ClimateEntity):
|
|||
|
||||
_attr_hvac_modes = [HVACMode.OFF, HVACMode.AUTO, HVACMode.HEAT]
|
||||
_attr_supported_features = (
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(self, handler, device):
|
||||
"""Initialize MAX! Cube ClimateEntity."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue