Loadpoint: update odometer on disconnect (#30361)
This commit is contained in:
parent
5fa62d520d
commit
fd94f8a376
1 changed files with 3 additions and 0 deletions
|
|
@ -547,6 +547,9 @@ func (lp *Loadpoint) evVehicleDisconnectHandler() {
|
|||
// re-read energy from charger and re-persist session if values improved
|
||||
lp.finalizeSessionEnergy()
|
||||
|
||||
// re-read odometer to catch delayed update (#30225)
|
||||
lp.vehicleOdometer()
|
||||
|
||||
// session is persisted during evChargeStopHandler which runs before
|
||||
lp.clearSession()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue