From 2921c0045d9ca360d70a040e092fada5c7bcb82d Mon Sep 17 00:00:00 2001 From: Nathan Gorriaran Date: Wed, 14 Aug 2024 20:21:26 -0400 Subject: [PATCH] Ensure AUTO mode matches HVAC capabilities --- custom_components/smartir/climate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/smartir/climate.py b/custom_components/smartir/climate.py index 28b400c0..743c387a 100644 --- a/custom_components/smartir/climate.py +++ b/custom_components/smartir/climate.py @@ -852,6 +852,7 @@ async def _async_update_hvac_action(self): ) and self._current_temperature is not None and self._current_temperature < self._target_temperature + and HVACMode.HEAT in self._hvac_modes ): self._hvac_action = HVACAction.HEATING elif ( @@ -862,6 +863,7 @@ async def _async_update_hvac_action(self): ) and self._current_temperature is not None and self._current_temperature > self._target_temperature + and HVACMode.COOL in self._hvac_modes ): self._hvac_action = HVACAction.COOLING elif (