Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #216 from robmarkcole/remove-logger
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
robmarkcole authored Feb 14, 2020
2 parents 5132da4 + eabfe7c commit ae0dcf7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions custom_components/huesensor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
"""The huesensors component."""
import asyncio
import logging

import async_timeout

_LOGGER = logging.getLogger(__name__)


def get_bridges(hass):
from homeassistant.components import hue
Expand All @@ -25,6 +21,5 @@ async def update_api(api):
with async_timeout.timeout(10):
await api.update()
except (asyncio.TimeoutError, aiohue.AiohueException) as err:
_LOGGER.debug("Failed to fetch sensors: %s", err)
return False
return True

0 comments on commit ae0dcf7

Please sign in to comment.