From 1b718c62a34784bbdd6e15d18b409fe59239e6fd Mon Sep 17 00:00:00 2001 From: Greg Dowling Date: Mon, 29 Aug 2016 14:45:48 +0100 Subject: [PATCH] Fix bug in wemo discovery caused by voluptuous addition. (#3027) --- homeassistant/components/wemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/wemo.py b/homeassistant/components/wemo.py index 29e6d53cd2c..c80ec8cbc12 100644 --- a/homeassistant/components/wemo.py +++ b/homeassistant/components/wemo.py @@ -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)