mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix dalkin climate warnings (#109279)
This commit is contained in:
parent
0caed80320
commit
723d9c4c8a
@ -142,7 +142,11 @@ class DaikinClimate(ClimateEntity):
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user