Closed cofw2005 closed 7 years ago
This is the issue tracker for the Home Assistant Documentation.
Please report Home Assistant issues at https://github.com/home-assistant/home-assistant/issues/new or use the forum for questions about installation, setup, configuration, and usage.
I got a problem when I try to add yeelight wifi bulbs into homeassistant. But now it solved. I just would like to share the error information, maybe helpful for others. I have 5 yeelight bulbs:
When I didn't manually add anything of yeelight component, only the color strip can be automatically identified. When I tried to add them all as below:
no lights can be found by homeassistant and I got error in log with "Error while setting up platform yeelight ... lot of things....
I tried to search this problem online but no result. After two days trying I noticed that in the last line of the error, it said "KeyError: 'name'. So I thought, could that the name is the problem? But I looked into the Yeelight page of homeassistant Components, name is optional. Anyhow I tried one more time to add "name“ for each of the lights. After restart, amazing things happened!!! All the light are there, even including the ceiling light which was not listed in the support types. I am so happy!!!
I don't know if such an issue only happened to me, but I wonder that is the "name" of configuration a required option? Otherwise it cannot explain my problem. And now I can also suggest that the ceiling light can also be added in the supported types.
At last, I actually still receiving such warning info. in the log, I don't know why and I don't care because I can see the lights now. If someone can help with below warning, I will also appreciate it!