After updating the Home Assistant to 0.47.1, all of my Vera lights have disappeared. I cannot find those devices in the dev console either.
Looking at the debug log I found following error
2017-06-22 13:37:09 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform vera
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py”, line 161, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 24, in setup_platform
VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES[‘light’])
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py”, line 331, in schedule_add_entities
self.async_schedule_add_entities, list(new_entities),
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 24, in
VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES[‘light’])
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 35, in init
VeraDevice.init(self, vera_device, controller)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/vera.py”, line 144, in init
self.update()
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 86, in update
self._color = self.vera_device.get_color()
File “/home/manan/.homeassistant/deps/pyvera/init.py”, line 655, in get_color
val = [cur.split(’,’)[c] for c in ci]
File “/home/manan/.homeassistant/deps/pyvera/init.py”, line 655, in
val = [cur.split(’,’)[c] for c in ci]
IndexError: list index out of range
I am still getting the same error after upgrading to version 0.49. Below is the debug log
2017-07-16 23:18:24 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: ‘value_json’ is undefined (value: 121,37,0, template: {{ value_json.rgb | join(’,’) }})
2017-07-16 23:18:24 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform vera
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 24, in setup_platform
VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES[‘light’])
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py”, line 344, in schedule_add_entities
self.async_schedule_add_entities, list(new_entities),
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 24, in
VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES[‘light’])
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 35, in init
VeraDevice.init(self, vera_device, controller)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/vera.py”, line 143, in init
self.update()
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/vera.py”, line 85, in update
self._color = self.vera_device.get_color()
File “/home/manan/.homeassistant/deps/pyvera/init.py”, line 660, in get_color
val = [cur.split(’,’)[c] for c in ci]
File “/home/manan/.homeassistant/deps/pyvera/init.py”, line 660, in
val = [cur.split(’,’)[c] for c in ci]
IndexError: list index out of range