Skip to content

Commit

Permalink
Fix dalkin climate warnings (#109279)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwh authored and frenck committed Feb 1, 2024
1 parent 1353c1d commit fc6cc45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion homeassistant/components/daikin/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ def __init__(self, api: DaikinApi) -> None:
ATTR_SWING_MODE: self._attr_swing_modes,
}

self._attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
self._attr_supported_features = (
ClimateEntityFeature.TURN_ON
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TARGET_TEMPERATURE
)

if api.device.support_away_mode or api.device.support_advanced_modes:
self._attr_supported_features |= ClimateEntityFeature.PRESET_MODE
Expand Down

0 comments on commit fc6cc45

Please sign in to comment.