Skip to content

Unable to initialize component #1

@mk-mrshll

Description

@mk-mrshll

This gets put in the error log when I try setting up the Aurora...

2017-07-04 19:53:36 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform aurora
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 161, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/light/aurora.py", line 38, in setup_platform
add_devices([AuroraLight(my_aurora)])
File "/home/homeassistant/.homeassistant/custom_components/light/aurora.py", line 70, in init
self._rgb_color = light.rgb
AttributeError: 'Aurora' object has no attribute 'rgb'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions