Skip to content

Commit

Permalink
[TASK] add quick fix, for HA crash, but need to fixed global
Browse files Browse the repository at this point in the history
  • Loading branch information
KartoffelToby committed Feb 4, 2024
1 parent 28ca2c9 commit c650075
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/better_thermostat/events/trv.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ async def trigger_trv_change(self, event):


async def update_hvac_action(self):
self.bt_target_temp = 5.0 if self.bt_target_temp is None else self.bt_target_temp
self.cur_temp = 5.0 if self.cur_temp is None else self.cur_temp
self.tolerance = 0.0 if self.tolerance is None else self.tolerance
"""Update the hvac action."""
if self.startup_running or self.control_queue_task is None:
return
Expand Down

0 comments on commit c650075

Please sign in to comment.