chore: minor
This commit is contained in:
parent
1c7d8f3683
commit
e6f0ced0da
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue