Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Aug 25, 2024
2 parents 8561e86 + 4baba4f commit ba5f6da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/peaqhvac/service/hvac/house_ventilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _vent_boost_warmth(self) -> bool:
return all(
[
self._hvac.hub.sensors.get_tempdiff() > 3,
self._hvac.hub.sensors.get_tempdiff_in_out() > 4,
self._hvac.hub.sensors.get_tempdiff_in_out() > 5,
self._hvac.hub.sensors.temp_trend_indoors.gradient >= 0,
self._hvac.hub.sensors.temp_trend_outdoors.gradient >= 0,
datetime.now().hour in list(range(7, 21)),
Expand All @@ -88,7 +88,8 @@ def _vent_boost_warmth(self) -> bool:
def _vent_boost_night_cooling(self) -> bool:
return all(
[
self._hvac.hub.sensors.get_tempdiff_in_out() > 4,
self._hvac.hub.sensors.get_tempdiff() > 3,
self._hvac.hub.sensors.get_tempdiff_in_out() > 5,
self._hvac.hub.sensors.average_temp_outdoors.value >= self._hvac.hub.options.heating_options.outdoor_temp_stop_heating,
datetime.now().hour in list(range(21, 24)) + list(range(0, 7)),
self._hvac.hub.sensors.set_temp_indoors.preset != HvacPresets.Away,
Expand Down

0 comments on commit ba5f6da

Please sign in to comment.