mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 20:57:51 +00:00
Fix bug in wemo discovery caused by voluptuous addition. (#3027)
This commit is contained in:
parent
6275cffab4
commit
1b718c62a3
@ -81,7 +81,7 @@ def setup(hass, config):
|
|||||||
|
|
||||||
# Add static devices from the config file.
|
# Add static devices from the config file.
|
||||||
devices.extend((address, None)
|
devices.extend((address, None)
|
||||||
for address in config.get(DOMAIN, {}).get(CONF_STATIC))
|
for address in config.get(DOMAIN, {}).get(CONF_STATIC, []))
|
||||||
|
|
||||||
for address, device in devices:
|
for address, device in devices:
|
||||||
port = pywemo.ouimeaux_device.probe_wemo(address)
|
port = pywemo.ouimeaux_device.probe_wemo(address)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user