chore: remove out of band publish

This commit is contained in:
andig 2024-03-11 12:42:19 +01:00
parent bddb25adeb
commit e6f0d61c5b

View file

@ -98,7 +98,6 @@ func (lp *Loadpoint) effectiveMaxCurrent() float64 {
if c, ok := lp.charger.(api.CurrentLimiter); ok {
if _, res, err := c.GetMinMaxCurrent(); err == nil && res > 0 {
maxCurrent = min(maxCurrent, res)
lp.publish(keys.EffectiveMaxCurrent, maxCurrent)
}
}