Traceback (most recent call last):


 "test.py", line 10, in <module>

grad2 = fluid.gradients(net(x - grad1), x)[0] # gradients( (x - 2x)^2) = 2x = 4
IndexError: list index out of range
Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform

SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 352, in wait_for

return fut.result()


 "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result

raise self._exception


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/app/homeassistant/components/light/vera.py", line 24, in setup_platform

VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES['light'])


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 344, in schedule_add_entities

self.async_schedule_add_entities, list(new_entities),


 "/usr/src/app/homeassistant/components/light/vera.py", line 24, in <genexpr>

VeraLight(device, VERA_CONTROLLER) for device in VERA_DEVICES['light'])


 "/usr/src/app/homeassistant/components/light/vera.py", line 35, in __init__

VeraDevice.__init__(self, vera_device, controller)


 "/usr/src/app/homeassistant/components/vera.py", line 143, in __init__

self.update()


 "/usr/src/app/homeassistant/components/light/vera.py", line 85, in update

self._color = self.vera_device.get_color()


 "/usr/local/lib/python3.6/site-packages/pyvera/__init__.py", line 660, in get_color

val = [cur.split(',')[c] for c in ci]


 "/usr/local/lib/python3.6/site-packages/pyvera/__init__.py", line 660, in <listcomp>

val = [cur.split(',')[c] for c in ci]
IndexError: list index out of range
