Skip to content

Commit

Permalink
Update climate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MapoDan committed Dec 19, 2020
1 parent 3098c95 commit 0310615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/programmable_thermostat/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0310615

Please sign in to comment.