chore: sync disabled state (#14639)
This commit is contained in:
parent
b2f68162bb
commit
e92388602f
1 changed files with 3 additions and 0 deletions
|
|
@ -755,6 +755,9 @@ func (lp *Loadpoint) syncCharger() error {
|
|||
}
|
||||
}
|
||||
|
||||
case enabled == lp.enabled:
|
||||
// sync disabled state
|
||||
|
||||
case !enabled && !lp.phaseSwitchCompleted():
|
||||
// some chargers (i.E. Easee in some configurations) disable themselves to be able to switch phases
|
||||
// -> enable charger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue