You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2018-04-26 14:47:03 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform yeelight
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/yeelight.py", line 135, in setup_platform
name = device_config[CONF_NAME]
KeyError: 'name'
Additional information:
I had this issue previously, I cannot recall exactly what caused the lightbulbs to reappear but I believe after a long period of time they were suddenly discovered by Home Assistant.
I have assigned static IP addresses in my router, I have also verified that the lightbulbs work via the Yeelight app and also appear in my router's connected devices list at the correct addresses. I have also factory reset my router in case it is a router issue. I have also changed routers in case it is a router issue.
This is on a fresh install of Hass.io due to other issues that I have been encountering related to Home Assistant Cloud.
Yeelight was working fine previously, though it did sometimes appear in the logs due to slow set up. The bulbs would always eventually appear, though.
The text was updated successfully, but these errors were encountered:
I figured out what was going on by looking at the traceback and the file in question.
I believe the issue is that the documentation states that a name for the bulb is optional. However for some reason, it doesn't seem to auto-assign names if no name is provided?
Home Assistant release with the issue:
0.67.1
Last working Home Assistant release (if known):
Unsure of exact version, but I last updated about three weeks ago.
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
https://www.home-assistant.io/components/light.yeelight/
Description of problem:
Yeelight fails to set up during restarting process.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
I had this issue previously, I cannot recall exactly what caused the lightbulbs to reappear but I believe after a long period of time they were suddenly discovered by Home Assistant.
I have assigned static IP addresses in my router, I have also verified that the lightbulbs work via the Yeelight app and also appear in my router's connected devices list at the correct addresses. I have also factory reset my router in case it is a router issue. I have also changed routers in case it is a router issue.
This is on a fresh install of Hass.io due to other issues that I have been encountering related to Home Assistant Cloud.
Yeelight was working fine previously, though it did sometimes appear in the logs due to slow set up. The bulbs would always eventually appear, though.
The text was updated successfully, but these errors were encountered: