Skip to content

Commit

Permalink
Battery control: graceful smart cost error handling (#13172)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Mar 28, 2024
1 parent d47f97d commit 1e6780b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/site_battery.go
Expand Up @@ -74,8 +74,7 @@ func (site *Site) updateBatteryMode() {
for _, lp := range site.Loadpoints() {
smartCostActive, err := site.smartCostActive(lp)
if err != nil {
site.log.ERROR.Println("smart cost:", err)
continue
site.log.WARN.Println("smart cost:", err)
}

if lp.GetStatus() == api.StatusC && (smartCostActive || lp.IsFastChargingActive()) {
Expand Down

0 comments on commit 1e6780b

Please sign in to comment.