Rename estimate to finish in site logs
This commit is contained in:
parent
87fe402a4f
commit
3c9adfb042
1 changed files with 3 additions and 3 deletions
|
|
@ -187,11 +187,11 @@ func (site *Site) DumpConfig() {
|
|||
lp.log.INFO.Printf(" vehicles: %s", presence[len(lp.vehicles) > 0])
|
||||
|
||||
for i, v := range lp.vehicles {
|
||||
_, estimate := v.(api.ChargeFinishTimer)
|
||||
_, finish := v.(api.ChargeFinishTimer)
|
||||
_, status := v.(api.VehicleStatus)
|
||||
_, climate := v.(api.Climater)
|
||||
lp.log.INFO.Printf(" car %d: estimate %s status %s climate %s",
|
||||
i, presence[estimate], presence[status], presence[climate],
|
||||
lp.log.INFO.Printf(" car %d: finish %s status %s climate %s",
|
||||
i, presence[finish], presence[status], presence[climate],
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue