Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 12, 2023
1 parent 581c684 commit 3837e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7923,7 +7923,7 @@ def calculate_plan(self, recompute=True):
self.rate_best_cost_threshold_discharge = None

if self.calculate_best and recompute:
# Recompuging the plan
# Recomputing the plan
self.log_option_best()

# Full plan
Expand Down Expand Up @@ -8726,7 +8726,7 @@ def fetch_sensor_data(self):
if self.rate_import:
# Find charging window
self.low_rates, lowest, highest = self.rate_scan_window(self.rate_import, 5, self.rate_import_cost_threshold, False)
self.log("Low Import rate found rates in range {} to {} - {}".format(lowest, highest, self.low_rates))
self.log("Low Import rate found rates in range {} to {}".format(lowest, highest))
# Update threshold automatically
if self.rate_low_threshold == 0 and highest >= self.rate_min:
self.rate_import_cost_threshold = highest
Expand Down

0 comments on commit 3837e14

Please sign in to comment.