Fix a WeMo discovery issue
This commit is contained in:
parent
7938cbffd4
commit
0fd89a4b1f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue