mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Add supported features for iZone (#124416)
* Fix for #123462 * Set outside of constructor
This commit is contained in:
parent
c541cb5cba
commit
4a6f833fca
@ -441,6 +441,9 @@ class ZoneDevice(ClimateEntity):
|
|||||||
_attr_name = None
|
_attr_name = None
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_target_temperature_step = 0.5
|
_attr_target_temperature_step = 0.5
|
||||||
|
_attr_supported_features = (
|
||||||
|
ClimateEntityFeature.TURN_OFF | ClimateEntityFeature.TURN_ON
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self, controller: ControllerDevice, zone: Zone) -> None:
|
def __init__(self, controller: ControllerDevice, zone: Zone) -> None:
|
||||||
"""Initialise ZoneDevice."""
|
"""Initialise ZoneDevice."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user