Fix a WeMo discovery issue
This commit is contained in:
1 parent
7938cbffd4
commit
0fd89a4b1f
1 file changed
+1
-1
@@ -25,7 +25,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
device = discovery.device_from_description(discovery_info)
|
||||
|
||||
if device:
|
||||
add_devices_callback([device])
|
||||
add_devices_callback([WemoSwitch(device)])
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user