mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Lyric climate Auto mode (#123490)
fix: Lyric has an actual "Auto" mode that is exposed if the device has an Auto mode.
This commit is contained in:
parent
8324360045
commit
300445948e
@ -208,10 +208,7 @@ class LyricClimate(LyricDeviceEntity, ClimateEntity):
|
||||
if LYRIC_HVAC_MODE_COOL in device.allowed_modes:
|
||||
self._attr_hvac_modes.append(HVACMode.COOL)
|
||||
|
||||
if (
|
||||
LYRIC_HVAC_MODE_HEAT in device.allowed_modes
|
||||
and LYRIC_HVAC_MODE_COOL in device.allowed_modes
|
||||
):
|
||||
if LYRIC_HVAC_MODE_HEAT_COOL in device.allowed_modes:
|
||||
self._attr_hvac_modes.append(HVACMode.HEAT_COOL)
|
||||
|
||||
# Setup supported features
|
||||
|
Loading…
x
Reference in New Issue
Block a user