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()