Skip to content

Commit

Permalink
#69
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Nov 13, 2023
1 parent c22e6cf commit d349c77
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ def __set_toggle_boost_next_start(self, next_start) -> None:
_LOGGER.debug("Next water heater start is now. Turning on water heating.")
self.model.water_boost.value = True
self.model.latest_boost_call = time.time()
self._hub.observer.broadcast("water boost start", DEFAULT_WATER_BOOST)
demand = self._get_demand()
preset = self._hub.sensors.set_temp_indoors.preset
demand_minutes = DEMAND_MINUTES[preset].get(demand, DEFAULT_WATER_BOOST)
self._hub.observer.broadcast("water boost start", demand_minutes)
except Exception as e:
pass

Expand Down

0 comments on commit d349c77

Please sign in to comment.