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:
Kristof Mattei
2024-09-16 15:41:52 +02:00
committed by Franck Nijhof
parent ed2d321746
commit dc189e1d58
+1 -4
View File
@@ -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