Loadpoint: reset fake charge time when interrupting session (#22396)
This commit is contained in:
parent
6a7b86707f
commit
74b1fa561c
2 changed files with 13 additions and 0 deletions
|
|
@ -126,6 +126,9 @@ func (lp *Loadpoint) resetHeatingSession() {
|
|||
if cr, ok := lp.chargeRater.(wrapper.ChargeResetter); ok {
|
||||
cr.ResetCharge()
|
||||
}
|
||||
if ct, ok := lp.chargeRater.(wrapper.ChargeResetter); ok {
|
||||
ct.ResetCharge()
|
||||
}
|
||||
|
||||
lp.createSession()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue