syssi / philipslight

Xiaomi Philips Lights integration for Home Assistant
Apache License 2.0
70 stars 19 forks source link

Unable to find component light.xiaomi_philipslight #10

Closed neives closed 6 years ago

neives commented 6 years ago

Hi, I tried this, but can't get it to work. I'm using 2 Xiaomi Philips LED Ball Lamp. Copied xiaomi_miio.py to /home/homeassistant/.homeassistant/custom_components/light and configured yaml like this:

When restarted get this error:

2018-02-03 13:34:15 ERROR (MainThread) [homeassistant.loader] Unable to find component light.xiaomi_philipslight 2018-02-03 13:34:15 ERROR (MainThread) [homeassistant.loader] Unable to find component light.xiaomi_philipslight

syssi commented 6 years ago

The component is a official part of homeassistant now. It called light.xiaomi_miio:

https://home-assistant.io/components/light.xiaomi_miio/

Just rename the platform and remove the custom component again.