Skip to content

Commit

Permalink
Remove unused async flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Nov 3, 2017
1 parent 1347c31 commit 1c8f179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/tellstick.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ def _discover(hass, config, component_name, found_tellcore_devices):
def setup(hass, config):
"""Set up the Tellstick component."""
from tellcore.constants import TELLSTICK_DIM
from tellcore.telldus import AsyncioCallbackDispatcher
from tellcore.telldus import QueuedCallbackDispatcher
from tellcore.telldus import TelldusCore

try:
tellcore_lib = TelldusCore(
callback_dispatcher=AsyncioCallbackDispatcher(hass.loop))
callback_dispatcher=QueuedCallbackDispatcher())
except OSError:
_LOGGER.exception("Could not initialize Tellstick")
return False
Expand Down

0 comments on commit 1c8f179

Please sign in to comment.