Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 7, 2025
1 parent 52af82d commit a835bfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/loadpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a835bfc

Please sign in to comment.