Reset measured phases when switching (#7154)

This commit is contained in:
MarkusGH 2023-04-01 16:39:54 +02:00 • committed by GitHub
parent 032a969fdf
commit 58f720b74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -935,6 +935,9 @@ func (lp *Loadpoint) scalePhases(phases int) error {
return err
}
// reset measured phases
lp.resetMeasuredPhases()
// switch phases
if err := cp.Phases1p3p(phases); err != nil {
return fmt.Errorf("switch phases: %w", err)