Closed neives closed 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:
platform: xiaomi_philipslight name: Luz Escritorio host: 10.0.0.118 token: !secret xiaomi_philips_escritorio
platform: xiaomi_philipslight name: Luz Quarto host: 10.0.0.56 token: !secret xiaomi_philips_quarto
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
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.
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:
platform: xiaomi_philipslight name: Luz Escritorio host: 10.0.0.118 token: !secret xiaomi_philips_escritorio
platform: xiaomi_philipslight name: Luz Quarto host: 10.0.0.56 token: !secret xiaomi_philips_quarto
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