diff --git a/custom_components/programmable_thermostat/climate.py b/custom_components/programmable_thermostat/climate.py index f9400fd..054090d 100644 --- a/custom_components/programmable_thermostat/climate.py +++ b/custom_components/programmable_thermostat/climate.py @@ -220,6 +220,7 @@ async def control_system_mode(self): await self._async_turn_off(mode="heat", forced=True) if opmod is HVAC_MODE_COOL: await self._async_turn_off(mode="cool", forced=True) + self._hvac_action = CURRENT_HVAC_OFF elif self._hvac_mode == HVAC_MODE_HEAT: _LOGGER.debug("set to heat") await self._async_control_thermo(mode="heat")