From 9056fc60bda9f815b0f7c025a7d71060a7099a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20He=C3=9F?= Date: Thu, 8 Aug 2024 18:05:57 +0200 Subject: [PATCH] Easee: always pause/resume when phase switching on charger level (#15306) --- charger/easee.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/charger/easee.go b/charger/easee.go index db9661cb93..d710a25352 100644 --- a/charger/easee.go +++ b/charger/easee.go @@ -781,7 +781,7 @@ func (c *Easee) Phases1p3p(phases int) error { } else { // charger level if phases == 3 { - phases = 2 // mode 2 means 3p + phases = 2 // mode 2 means auto } // change phaseMode only if necessary @@ -795,10 +795,9 @@ func (c *Easee) Phases1p3p(phases int) error { if _, err = c.postJSONAndWait(uri, data); err != nil { return err } - - // disable charger to activate changed settings (loadpoint will reenable it) - err = c.Enable(false) } + // disable charger to activate changed settings (loadpoint will reenable it) + err = c.Enable(false) } return err