Add new climate feature flags to whirlpool (#109440)

This commit is contained in:
G Johansson 2024-02-02 22:36:19 -05:00 committed by GitHub
parent bb6051f9c4
commit 1d3c5d92ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,10 +103,13 @@ class AirConEntity(ClimateEntity):
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.SWING_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_attr_swing_modes = SUPPORTED_SWING_MODES
_attr_target_temperature_step = SUPPORTED_TARGET_TEMPERATURE_STEP
_attr_temperature_unit = UnitOfTemperature.CELSIUS
_enable_turn_on_off_backwards_compatibility = False
def __init__(
self,