From 16c2827465f7151cd5e33802633846e63023f1a4 Mon Sep 17 00:00:00 2001 From: Stefan Jonasson Date: Wed, 23 Sep 2015 09:50:12 +0200 Subject: [PATCH] Removed the check for callback_dispatcher --- homeassistant/components/switch/tellstick.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/tellstick.py b/homeassistant/components/switch/tellstick.py index ea269468270..7846f789250 100644 --- a/homeassistant/components/switch/tellstick.py +++ b/homeassistant/components/switch/tellstick.py @@ -34,7 +34,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None): # pylint: disable=no-member #if telldus.TelldusCore.callback_dispatcher is None: - dispatcher = DirectCallbackDispatcher() + dispatcher = DirectCallbackDispatcher() core = telldus.TelldusCore(callback_dispatcher=dispatcher) #else: # core = telldus.TelldusCore()