Fix error raised when climater unavailable
This commit is contained in:
parent
435b79afdb
commit
eeb3082504
1 changed files with 3 additions and 1 deletions
|
|
@ -537,7 +537,9 @@ func (lp *LoadPoint) climateActive() bool {
|
|||
return active
|
||||
}
|
||||
|
||||
lp.log.ERROR.Printf("climater: %v", err)
|
||||
if !errors.Is(err, api.ErrNotAvailable) {
|
||||
lp.log.ERROR.Printf("climater: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue