HASSIO 0.91 and Yeelight configuration

Hello community, as per 0.91 released notes:

  • Move yeelight into component (breaking change)

As result all my Yeelight devices are unavailable. In cofig I have (working till 0.90.2):

discovery:
  ignore:
    - yeelight

light: !include yeelight.yaml

And in yeelight.yaml:

- platform: yeelight
  devices:
    192.168.2.23:
      name: Camera da Letto
    192.168.2.29:
      name: Lamp1
    192.168.2.28:
      name: Lamp2
    192.168.2.33:
      name: Led Letto
    192.168.2.4:
      name: Piant1
    192.168.2.6: 
      name: Piant2

.... and so on....

Now, I don’t understant how configure the Yeelight devices on 0.91, could someone advice? I can’t find any doc for this specific version.

Thank you
Lucas

Hi !

If you have only yeelights in you yeelight.yaml, just replace :

light: !include yeelight.yaml

with :
yeelight: !include yeelight.yaml

and in yeelight.yaml :

devices:
  192.168.2.23:
      name: Camera da Letto
  192.168.2.29:
    name: Lamp1
  192.168.2.28:
    name: Lamp2
  192.168.2.33:
    name: Led Letto
  192.168.2.4:
    name: Piant1
  192.168.2.6: 
    name: Piant2

and there you go !

See : https://www.home-assistant.io/components/yeelight/#example-configuration-manual

3 Likes

Thank you, it works perfect, and I understood the difference between platform and component :slight_smile:

1 Like