Re-add soc property

This commit is contained in:
andig 2020-11-12 12:15:42 +01:00
parent 9b866ddb12
commit 392c1f42bf

View file

@ -347,6 +347,7 @@ func (lp *LoadPoint) Prepare(uiChan chan<- util.Param, pushChan chan<- push.Even
lp.publish("maxCurrent", lp.MaxCurrent)
lp.publish("phases", lp.Phases)
lp.publish("activePhases", lp.Phases)
lp.publish("soc", len(lp.vehicles) > 0)
lp.Lock()
lp.publish("mode", lp.Mode)