Add TURN_ON/OFF ClimateEntityFeature for Adax (#108966)
This commit is contained in:
parent
96ee8ba9a8
commit
1acc9007d4
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,11 @@ class AdaxDevice(ClimateEntity):
|
|||
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF]
|
||||
_attr_max_temp = 35
|
||||
_attr_min_temp = 5
|
||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
_attr_supported_features = (
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
_attr_target_temperature_step = PRECISION_WHOLE
|
||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue