Hide vehicle asleep error messages (#14113)
This commit is contained in:
parent
de2cd864be
commit
3a3797c58c
4 changed files with 17 additions and 3 deletions
|
|
@ -132,7 +132,9 @@ func (c *Coordinator) identifyVehicleByStatus(available []api.Vehicle) api.Vehic
|
|||
if vs, ok := vehicle.(api.ChargeState); ok {
|
||||
status, err := vs.Status()
|
||||
if err != nil {
|
||||
c.log.ERROR.Println("vehicle status:", err)
|
||||
if !loadpoint.AcceptableError(err) {
|
||||
c.log.ERROR.Println("vehicle status:", err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue