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

pull/3043/head
Greg Dowling 2016-08-29 14:45:48 +01:00 committed by Teagan Glenn
parent 6275cffab4
commit 1b718c62a3
1 changed files with 1 additions and 1 deletions

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)