Loadpoint: reset fake charge time when interrupting session
This commit is contained in:
parent
20250ac4a3
commit
77bceff557
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func (lp *Loadpoint) resetHeatingSession() {
|
|||
if cr, ok := lp.chargeRater.(wrapper.ChargeResetter); ok {
|
||||
cr.ResetCharge()
|
||||
}
|
||||
if ct, ok := lp.chargeRater.(wrapper.ChargeResetter); ok {
|
||||
if ct, ok := lp.chargeTimer.(wrapper.ChargeResetter); ok {
|
||||
ct.ResetCharge()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue