From 339b5117c5a85cea2e5ef6965f271cb040ad76df Mon Sep 17 00:00:00 2001 From: Matrix <justin@yosmart.com> Date: Fri, 19 Jul 2024 16:05:24 +0800 Subject: [PATCH] Add default value for YoLink thermostat (#122114) --- homeassistant/components/yolink/climate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/yolink/climate.py b/homeassistant/components/yolink/climate.py index 21e0a71ebcb..98f1b764498 100644 --- a/homeassistant/components/yolink/climate.py +++ b/homeassistant/components/yolink/climate.py @@ -77,6 +77,7 @@ class YoLinkClimateEntity(YoLinkEntity, ClimateEntity): self._attr_fan_modes = [FAN_ON, FAN_AUTO] self._attr_min_temp = -10 self._attr_max_temp = 50 + self._attr_hvac_mode = None self._attr_hvac_modes = [ HVACMode.COOL, HVACMode.HEAT, -- GitLab