Suggestion regarding error - Wemo switch

I have been able to configure Wemo switches once, however I have noticed that this is intermittent, many times when loading hass this error is generated and no items appear.

ERROR:homeassistant.bootstrap:Error during setup of component wemo
Traceback (most recent call last):
File “/srv/hass/lib/python3.5/site-packages/homeassistant/bootstrap.py”, line 157, in _setup_component
if not component.setup(hass, config):
File “/srv/hass/lib/python3.5/site-packages/homeassistant/components/wemo.py”, line 76, in setup
devices = [(device.host, device) for device in pywemo.discover_devices()]
File “/home/hass/.homeassistant/deps/pywemo/discovery.py”, line 27, in discover_devices
device = device_from_description(entry.location, mac)
File “/home/hass/.homeassistant/deps/pywemo/discovery.py”, line 39, in device_from_description
return device_from_uuid_and_location(uuid, mac, description_url)
File “/home/hass/.homeassistant/deps/pywemo/discovery.py”, line 55, in device_from_uuid_and_location
return Bridge(location, mac)
File “/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 39, in init
self.bridge_update()
File “/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 49, in bridge_update
endDeviceList = et.fromstring(endDevices.get(‘DeviceLists’))
File “/usr/lib/python3.5/xml/etree/ElementTree.py”, line 1334, in XML
return parser.close()
File “”, line None

Any ideas what could be leading to this or how I can troubleshoot it.

After much tinkering I have discovered this is due to the wemo link I had installed. After removing it from the network things worked fine.

Hi

Could u please give some hint about the wemo link ? I’m having wemo led bulbs and a wemo bridge but I get the following errors during statup :slight_smile:

6-05-19 08:39:15 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 if not component.setup(hass, config): File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/wemo.py”, line 76, in setup devices = [(device.host, device) for device in pywemo.discover_devices()] File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 27, in discover_devices device = device_from_description(entry.location, mac) File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 39, in device_from_description return device_from_uuid_and_location(uuid, mac, description_url) File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 55, in device_from_uuid_and_location return Bridge(location, mac) File “/home/odroid/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 39, in init self.bridge_update() File “/home/odroid/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 49, in bridge_update endDeviceList = et.fromstring(endDevices.get(‘DeviceLists’)) File “/usr/lib/python3.4/xml/etree/ElementTree.py”, line 1326, in XML return parser.close() File “”, line None xml.etree.ElementTree.ParseError: syntax error: line 1, column 0 16-05-19 08:39:15 homeassistant.bootstrap: Unable to prepare setup for platform light.wemo because dependency wemo could not be initialized 16-05-19 08:39:48 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 if not component.setup(hass, config): File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/wemo.py”, line 76, in setup devices = [(device.host, device) for device in pywemo.discover_devices()] File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 27, in discover_devices device = device_from_description(entry.location, mac) File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 39, in device_from_description return device_from_uuid_and_location(uuid, mac, description_url) File “/home/odroid/.homeassistant/deps/pywemo/discovery.py”, line 55, in device_from_uuid_and_location return Bridge(location, mac) File “/home/odroid/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 39, in init self.bridge_update() File “/home/odroid/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 49, in bridge_update endDeviceList = et.fromstring(endDevices.get(‘DeviceLists’)) File “/usr/lib/python3.4/xml/etree/ElementTree.py”, line 1326, in XML return parser.close() File “”, line None xml.etree.ElementTree.ParseError: syntax error: line 1, column 0 16-05-19 09:35:07 pychromecast.socket_client: Error communicating with socket, resetting connection

Thank you

i too am having this error. is it really as simple as my wemo link? it was working (partially) yesterday…just randomly its causing errors?

I cannot say for sure. However after removing it, I have not had the error since. further, when I reconnect it, the error re-appears. I would be interested to know the reason also.