Downgrade Sonarr and Radarr 'Host is not avaliable' errors to warnings (#12119)
This commit is contained in:
1 parent
be37bb14b7
commit
30ad591a59
2 files changed
+2
-2
No files matched your search
@@ -162,7 +162,7 @@ class RadarrSensor(Entity):
|
||||
self.ssl, self.host, self.port, self.urlbase, start, end),
|
||||
headers={'X-Api-Key': self.apikey}, timeout=10)
|
||||
except OSError:
|
||||
_LOGGER.error("Host %s is not available", self.host)
|
||||
_LOGGER.warning("Host %s is not available", self.host)
|
||||
self._available = False
|
||||
self._state = None
|
||||
return
|
||||
|
||||
@@ -181,7 +181,7 @@ class SonarrSensor(Entity):
|
||||
headers={'X-Api-Key': self.apikey},
|
||||
timeout=10)
|
||||
except OSError:
|
||||
_LOGGER.error("Host %s is not available", self.host)
|
||||
_LOGGER.warning("Host %s is not available", self.host)
|
||||
self._available = False
|
||||
self._state = None
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user