Skip to content

Commit

Permalink
Correctly specify target state as 3p
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 9, 2022
1 parent 8633eb9 commit 445bafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/loadpoint.go
Expand Up @@ -969,7 +969,7 @@ func (lp *LoadPoint) pvScalePhases(availablePower, minCurrent, maxCurrent float6

// if more active phases observed than configured, update internal state accordingly
if phases < lp.activePhases {
lp.log.WARN.Printf("inconsistent phases: %dp configured < %dp observed active, updating internal state to %dp", phases, lp.activePhases, lp.activePhases)
lp.log.WARN.Printf("inconsistent phases: %dp configured < %dp observed active, updating internal state to 3p", phases, lp.activePhases)
phases = 3
lp.setPhases(3)
}
Expand Down

0 comments on commit 445bafc

Please sign in to comment.