I am setting up homeassistant for the first time, but my wemo devices refuse to work. I disabled discovery entirely, and manually specified the wemo devices (first all of them, then tried limiting to a single wemo switch). I get the same error, unless I disable wemo (and discovery) entirely. The error doesn’t seem to be a configuration / communication issue, rather the object type in python is not what the code is actually expecting. I wanted to check here first for any thoughts or suggestions before I start spelunking in the code, since I’m only a couple hours into using the software. I did, however, get Siri / Homekit working for controlling my garage door (which is pretty awesome)! Any help is greatly appreciated.
Config
...
# discovery:
# ignore:
# - belkin_wemo
...
wemo:
static:
- 192.168.1.215
Version Info
{'arch': 'x86_64', 'dev': False, 'docker': False, 'os_name': 'Linux', 'python_version': '3.6.5', 'timezone': 'America/Boise', 'version': '0.69.1', 'virtualenv': True, 'hassio': False, 'distribution': 'ubuntu', 'os_version': '16.04'}
Exception
2018-05-26 13:08:29 ERROR (MainThread) [homeassistant.setup] Error during setup of component wemo
Traceback (most recent call last):
File "/home/jared/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/jared/homeassistant/lib/python3.6/site-packages/homeassistant/components/wemo.py", line 83, in setup
devices = [(device.host, device) for device in pywemo.discover_devices()]
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/discovery.py", line 30, in discover_devices
device = device_from_description(entry.location, mac)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/discovery.py", line 42, in device_from_description
return device_from_uuid_and_location(uuid, mac, description_url)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/discovery.py", line 62, in device_from_uuid_and_location
return Bridge(location, mac)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 39, in __init__
self.bridge_update()
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 56, in bridge_update
self.Lights[uniqueID] = Light(self, light)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 163, in __init__
super(Light, self).__init__(bridge, info)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 92, in __init__
self._update_state(info)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 199, in _update_state
super(Light, self)._update_state(status)
File "/home/jared/homeassistant/lib/python3.6/site-packages/pywemo/ouimeaux_device/bridge.py", line 126, in _update_state
temperature = status['colortemperature'][0]
TypeError: 'int' object is not subscriptable