mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Adds new climate feature flags in baf (#109476)
This commit is contained in:
parent
16b20403e6
commit
61cf7862a0
@ -33,10 +33,15 @@ async def async_setup_entry(
|
|||||||
class BAFAutoComfort(BAFEntity, ClimateEntity):
|
class BAFAutoComfort(BAFEntity, ClimateEntity):
|
||||||
"""BAF climate auto comfort."""
|
"""BAF climate auto comfort."""
|
||||||
|
|
||||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
_attr_supported_features = (
|
||||||
|
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
|
)
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_hvac_modes = [HVACMode.OFF, HVACMode.FAN_ONLY]
|
_attr_hvac_modes = [HVACMode.OFF, HVACMode.FAN_ONLY]
|
||||||
_attr_translation_key = "auto_comfort"
|
_attr_translation_key = "auto_comfort"
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def _async_update_attrs(self) -> None:
|
def _async_update_attrs(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user