Skip to content

Commit

Permalink
Merge pull request #107 from Nathangorr/master
Browse files Browse the repository at this point in the history
Ensure AUTO mode matches HVAC capabilities
  • Loading branch information
litinoveweedle authored Aug 15, 2024
2 parents a2966eb + 2921c00 commit 803ef27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/smartir/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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 (
Expand Down

0 comments on commit 803ef27

Please sign in to comment.