Skip to content

Commit

Permalink
Correcting small error in code for house_cold_onpeak
Browse files Browse the repository at this point in the history
  • Loading branch information
thdfw committed Jan 6, 2025
1 parent 4fdd6b0 commit 29e435d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gw_spaceheat/actors/home_alone.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def main(self):

# Update top state
if self.top_state == HomeAloneTopState.Normal:
if self.house_is_cold_onpeak() and self.is_buffer_empty(really_empty=True) and self.is_storage_empty:
if self.house_is_cold_onpeak() and self.is_buffer_empty(really_empty=True) and self.is_storage_empty():
self.trigger_house_cold_onpeak_event()

elif self.top_state == HomeAloneTopState.UsingBackupOnpeak:
Expand Down

0 comments on commit 29e435d

Please sign in to comment.