Prevent disabled heating warning loop while HVACMode is OFF (#374)

This commit is contained in:
Paulo Ferreira de Castro
2024-02-04 19:58:22 +00:00
committed by GitHub
parent e52666b9d9
commit a440b35815
5 changed files with 40 additions and 18 deletions
@@ -234,7 +234,7 @@ class ThermostatOverValve(BaseThermostat):
self._target_temp,
self._cur_temp,
self._cur_ext_temp,
self._hvac_mode == HVACMode.COOL,
self._hvac_mode or HVACMode.OFF,
)
new_valve_percent = round(