chore: minor

This commit is contained in:
andig 2022-01-17 08:50:34 +01:00
parent 1c7d8f3683
commit e6f0ced0da
2 changed files with 2 additions and 2 deletions

View file

@ -1408,7 +1408,7 @@ func (lp *LoadPoint) Update(sitePower float64, cheap bool, batteryBuffered bool)
// track if remote disabled is actually active
remoteDisabled := loadpoint.RemoteEnable
// reset detection if soc timer needs be deactived after evaluating the loading strategy
// reset detection if soc timer needs be deactivated after evaluating the loading strategy
lp.socTimer.MustValidateDemand()
// execute loading strategy

View file

@ -121,8 +121,8 @@ func (s *Estimator) SoC(chargedEnergy float64) (float64, error) {
s.log.WARN.Printf("vehicle soc (charger): %v (ignored by estimator)", err)
}
s.vehicleSoc = f
fetchedSoC = &f
s.vehicleSoc = f
}
}