From c4d237d8fc08cd759d74a3101c67f188f3244cf7 Mon Sep 17 00:00:00 2001 From: Michael Hess Date: Mon, 18 Nov 2024 09:51:29 +0100 Subject: [PATCH] PhaseGetter returns configured (not used) phases --- charger/easee.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charger/easee.go b/charger/easee.go index 2d4ffb4c9f..ca4ff0d820 100644 --- a/charger/easee.go +++ b/charger/easee.go @@ -814,7 +814,11 @@ var _ api.PhaseGetter = (*Easee)(nil) func (c *Easee) GetPhases() (int, error) { c.mux.RLock() defer c.mux.RUnlock() - return c.outputPhase, nil + phaseMode := c.phaseMode + if phaseMode == 2 { // map automatic to 3p + phaseMode = 3 + } + return phaseMode, nil } var _ api.Identifier = (*Easee)(nil)