Revert "Loadpoint: set internal current to 0 when disabling charger"
This reverts commit 4249372551.
This commit is contained in:
parent
4249372551
commit
faa9d580d3
1 changed files with 0 additions and 5 deletions
|
|
@ -862,11 +862,6 @@ func (lp *Loadpoint) setLimit(chargeCurrent float64) error {
|
|||
lp.setAndPublishEnabled(enabled)
|
||||
lp.chargerSwitched = lp.clock.Now()
|
||||
|
||||
// ensure we always re-set current when enabling charger
|
||||
if !enabled {
|
||||
lp.chargeCurrent = 0
|
||||
}
|
||||
|
||||
lp.bus.Publish(evChargeCurrent, chargeCurrent)
|
||||
|
||||
// start/stop vehicle wake-up timer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue