Hi.
i just did the latest update which loaded with no problem , restarted HA now the wemo switches are not working with the following error message.
ERROR:homeassistant.bootstrap:Error during setup of component wemo
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/bootstrap.py”, line 157, in _setup_component
result = component.setup(hass, config)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/wemo.py”, line 84, in setup
for address in config.get(DOMAIN, {}).get(CONF_STATIC))
TypeError: ‘NoneType’ object is not iterable
ERROR:homeassistant.bootstrap:Unable to prepare setup for platform switch.wemo because dependency wemo could not be initialized
any ideas.
chilliman.
1 Like
I’m getting the same issue. HA has a lot of issues recovering from a service restart.
Same here. Tried a restart of my entire server, still no go.
Looks like there were a few changes to wemo in this last release:
One looks like a change in the wemo library used. I’m not sure that’s related though, as the error is coming from a line where homeassistant is configuring itself.
Actually, the other PR changes the line erroring. Previously, it’d default the static
to an empty array. Now it’s getting nothing.
If you don’t already have static
configuration for wemo, try adding a line to your configuration.yaml like static: []
, ie:
wemo:
static: []
This sets it to an empty list. If that fixes, it, it can be fixed in homeassistant.
technicalpickles.
thanks for the info i add the wemo static line now itis working fine.
thanks again
steve
Cool, glad it worked. Thanks for confirming. I filed https://github.com/home-assistant/home-assistant/pull/3032 that might fix the need for that.