From a835bfcaccdeb8912c1652ee2916ada81527244e Mon Sep 17 00:00:00 2001 From: andig Date: Tue, 7 Jan 2025 22:20:10 +0100 Subject: [PATCH] wip --- core/loadpoint.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/loadpoint.go b/core/loadpoint.go index ba1ed0aa01..78cb571304 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -645,9 +645,8 @@ func (lp *Loadpoint) Prepare(uiChan chan<- util.Param, pushChan chan<- push.Even lp.publish(keys.EnableDelay, lp.Enable.Delay) lp.publish(keys.DisableDelay, lp.Disable.Delay) - lp.publish(keys.Phases, lp.configuredPhases) // TODO why + lp.publish(keys.Phases, lp.configuredPhases) // TODO why lp.publish(keys.PhasesConfigured, lp.configuredPhases) // TODO remove - lp.publish(keys.PhasesConfigured, lp.configuredPhases) lp.publish(keys.ChargerPhaseSwitching, lp.hasPhaseSwitching()) lp.publish(keys.ChargerPhaseReading, lp.getChargerPhysicalPhases() != 0) lp.publish(keys.PhasesEnabled, lp.phases)