Yeelight Wifi Bulb - v0.88 not work?

hello :slight_smile: i have a problem with my Yeelight Wifi Bulb.

the automatic discovery does not work? it didn’t found the bulb

and with the manuel task - the system won’t start

on the other HA System it’s work with 0.86

manuel conf:

light:
      - platform: yeelight
        devices:
          192.168.0.103:
            name: MI-Links
            transition: 1000
            use_music_mode: True #(defaults to False)
            save_on_change: True #(defaults to True)

it’s a new, clean installation of Hassio

Are you getting an error during config check? Or anything in the log when it wont start.

https://github.com/SilvrrGIT/HomeAssistant/blob/master/lights.yaml

That is my config which is working in 88.1.

I would drop the lines below name to see if any of them are causing the issue. Also not sure if it is a paste error or your config is truly spaced like that but your pasted config has incorrect indentation. Below is the correct spacing.

light:
   -platform: yeelight
    devices:
      192.168.0.103:
        name: MI-Links

yes, with:

light:
   -platform: yeelight
    devices:
      192.168.0.103:
        name: MI-Links

it’s work :confused: strange thing… :smiley: thx for your help!

YAML (and therefore the HA config files) are extremely sensitive to spacing.

You may find this helpful.

May I ask where should I put this code? I am a newbie and am trying to set up a Yeelight to work with HA.

Thank you so much!

In your configuration.yaml file.

Install this addon:

then you have access to the files over SMB - like \192.168.x.x\config\configuration.yaml

or you can edit the .yaml over this addon:

From my understanding, you installed a Hassio on you PC as well, right? Otherwise I know that the VSCode addon does not work on raspberry pi.

no - the hassio run on the pi (or VM)
image

then addon-store --> Visual Studio Code

look the installsite:

1 Like