mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add TURN_ON/OFF ClimateEntityFeature for Advantage Air (#108971)
This commit is contained in:
parent
8f9969131b
commit
8395992dbe
@ -88,7 +88,11 @@ class AdvantageAirAC(AdvantageAirAcEntity, ClimateEntity):
|
|||||||
"""Initialize an AdvantageAir AC unit."""
|
"""Initialize an AdvantageAir AC unit."""
|
||||||
super().__init__(instance, ac_key)
|
super().__init__(instance, ac_key)
|
||||||
|
|
||||||
self._attr_supported_features = ClimateEntityFeature.FAN_MODE
|
self._attr_supported_features = (
|
||||||
|
ClimateEntityFeature.FAN_MODE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
|
)
|
||||||
self._attr_hvac_modes = [
|
self._attr_hvac_modes = [
|
||||||
HVACMode.OFF,
|
HVACMode.OFF,
|
||||||
HVACMode.COOL,
|
HVACMode.COOL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user