Skip to content

Commit

Permalink
Fix typo causing crash
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 6, 2023
1 parent 74f5ec2 commit c55a6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8245,7 +8245,7 @@ def execute_plan(self):
else:
inverter.adjust_battery_target(self.charge_limit_percent_best[0])
else:
if not self.inv_has_target_soc:
if not inverter.inv_has_target_soc:
# If the inverter doesn't support target soc and soc_enable is on then do that logic here:
inverter.mimic_target_soc(0)
elif not self.inverter_hybrid and self.inverter_soc_reset:
Expand Down

0 comments on commit c55a6a3

Please sign in to comment.