Downgrade Sonarr and Radarr 'Host is not avaliable' errors to warnings (#12119)

This commit is contained in:
Timmo authored and Fabian Affolter committed 2018-02-01 20:57:33 +01:00
1 parent be37bb14b7
commit 30ad591a59
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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