Skip to content

Commit

Permalink
Fixed unavailable dawn capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanmarlor committed Oct 21, 2022
1 parent 5ac1bfa commit 6a569d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/foxess_em/battery/battery_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def refresh_battery_model(self, forecast: pd.DataFrame, load: pd.DataFrame) -> N

forecast = forecast[
(forecast["date"] >= now.date())
& (forecast["date"] <= (now + timedelta(days=1)).date())
& (forecast["date"] <= (now + timedelta(days=2)).date())
]

load.reset_index(drop=True, inplace=True)
Expand Down

0 comments on commit 6a569d8

Please sign in to comment.