Reset target soc to 100 instead of 0
This commit is contained in:
parent
ce6e770580
commit
6eb2bb3d09
1 changed files with 1 additions and 1 deletions
|
|
@ -819,7 +819,7 @@ func (lp *LoadPoint) setActiveVehicle(vehicle api.Vehicle) {
|
|||
|
||||
// reset minSoC and targetSoC before change
|
||||
lp.setMinSoC(0)
|
||||
lp.setTargetSoC(0)
|
||||
lp.setTargetSoC(100)
|
||||
|
||||
if lp.vehicle = vehicle; vehicle != nil {
|
||||
lp.socUpdated = time.Time{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue