Skip to content

Commit

Permalink
Keep step data for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 23, 2024
1 parent 4b743ca commit 8d0f050
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/predbat/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -2057,9 +2057,8 @@ def calculate_yesterday(self):
)

# Save step data for debug
if self.debug_enable:
self.yesterday_load_step = yesterday_load_step
self.yesterday_pv_step = yesterday_pv_step
self.yesterday_load_step = yesterday_load_step
self.yesterday_pv_step = yesterday_pv_step

# Save state
minutes_now = self.minutes_now
Expand Down

0 comments on commit 8d0f050

Please sign in to comment.