Planner: fix projected end time not showing actual completion (#27624)
This commit is contained in:
parent
b54397a0fd
commit
98dad9a971
1 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ func (lp *Loadpoint) plannerActive() (active bool) {
|
|||
return true
|
||||
case strategy.Continuous && requiredDuration > strategy.Precondition:
|
||||
lp.log.DEBUG.Printf("plan: ignoring restart at %s for continuous charging", planStart.Round(time.Second).Local())
|
||||
planStart = lp.clock.Now()
|
||||
planEnd = planStart.Add(requiredDuration)
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue