Fix bug in wemo discovery caused by voluptuous addition. (#3027)

This commit is contained in:
Greg Dowling 2016-08-29 14:45:48 +01:00 committed by Teagan Glenn
parent 6275cffab4
commit 1b718c62a3

View File

@ -81,7 +81,7 @@ def setup(hass, config):
# Add static devices from the config file.
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:
port = pywemo.ouimeaux_device.probe_wemo(address)