Vehicle: suppress climater error log when vehicle is asleep (#30239)
This commit is contained in:
parent
2e682c689f
commit
4d64a073e5
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ func (lp *Loadpoint) vehicleClimateActive() bool {
|
|||
return active
|
||||
}
|
||||
|
||||
if !errors.Is(err, api.ErrNotAvailable) {
|
||||
if !errors.Is(err, api.ErrNotAvailable) && !errors.Is(err, api.ErrAsleep) {
|
||||
lp.log.ERROR.Printf("climater: %v", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue