chore: sync disabled state (#14639)

This commit is contained in:
andig 2024-06-30 15:48:42 +02:00 • committed by GitHub
parent b2f68162bb
commit e92388602f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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