Skip to content

Commit

Permalink
Merge pull request #1340 from Ashpork/master
Browse files Browse the repository at this point in the history
hvac_action attribute stays in "heating" state even if Better Thermostat is turned off
  • Loading branch information
KartoffelToby authored Apr 24, 2024
2 parents 219838f + 8f75674 commit 946ab94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/better_thermostat/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,7 @@ def hvac_mode(self):
def hvac_action(self):
"""Return the current HVAC action"""
if (
self.attr_hvac_action is None
and self.bt_target_temp is not None
self.bt_target_temp is not None
and self.cur_temp is not None
):
if self.hvac_mode == HVACMode.OFF:
Expand Down

0 comments on commit 946ab94

Please sign in to comment.