Fix WUnderground spamming logs (#12548)

pull/12558/head
Otto Winter 2018-02-20 18:01:34 +01:00 committed by Paulus Schoutsen
parent 1d8a5147e9
commit f2a2727a15
1 changed files with 0 additions and 2 deletions

View File

@ -790,7 +790,5 @@ class WUndergroundData(object):
self.data = result
except ValueError as err:
_LOGGER.error("Check WUnderground API %s", err.args)
self.data = None
except (asyncio.TimeoutError, aiohttp.ClientError) as err:
_LOGGER.error("Error fetching WUnderground data: %s", repr(err))
self.data = None