Reset vehicle cache when charging stops for last soc update (#7238)
This commit is contained in:
parent
413f184562
commit
fda399bb10
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ import (
|
|||
"github.com/evcc-io/evcc/core/planner"
|
||||
"github.com/evcc-io/evcc/core/soc"
|
||||
"github.com/evcc-io/evcc/core/wrapper"
|
||||
"github.com/evcc-io/evcc/provider"
|
||||
"github.com/evcc-io/evcc/push"
|
||||
"github.com/evcc-io/evcc/util"
|
||||
|
||||
|
|
@ -415,6 +416,7 @@ func (lp *Loadpoint) evChargeStopHandler() {
|
|||
}
|
||||
|
||||
// soc update reset
|
||||
provider.ResetCached()
|
||||
lp.socUpdated = time.Time{}
|
||||
|
||||
// reset pv enable/disable timer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue