Removed the check for callback_dispatcher
This commit is contained in:
1 parent
e90fd3d654
commit
16c2827465
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user