Hello community,
today I upgraded my HA from 0.68.1 to 0.69.1, everything works perfect except for Yeelight devices. HA is not able to discover them anymore. mqtt and xiaomi aquara gateway work perfect, but there’s no way to show Yeelight devices (bulbs and ceiling lights). I also tried to copy latest netdisco from there: https://github.com/home-assistant/netdisco but no success. Maybe I have to upgrade Yeelight component, but which one?
Obliviously I already tried to delete the virtual environment and start HA installation from scratch.
Could someone help me? I’m stuck in this situation
What do you mean?
Now I changed every references from yaml files and Yeelight devices are shown correctly on GUI.
Unfortunately I have tons of automations, customization, scenes, and so on… So I changed a lot of files.
@sjee: Good, thank you, I’ll apply that config asap since I believe the Yeelight discovery is more efficient in that way compared to the default one. Sometime indeed, after HA restart some Yeelight device is not automatically discovered and I have to restart HA twice, or more to discover all devices.
@sjee: Sorry, could you please show me how do you include the yeelight.yaml into configuration.yaml?
With the following: yeelight: !include yeelight.yaml
I got: Component not found: yeelight
In any case why not just bite the bullet and do the renaming now and continue to use discovery. I’m not a fan of these kinds of workarounds as you will find in a future release something will break that as well… but each to their own…
@Lucas_Rey you should specify it as light like this;
light: !include config/lights/yeelight.yaml
@DavidFW1960 not sure what you mean with workaround, manual configuration of a component is a proper way to do things, more over it often gives you way more control over your devices.
As for Yeelight discovery, it sometimes doesn’t discover all lights as @Lucas_Rey mentioned.
@DavidFW1960: As already wrote, I’m searching for an efficient way to add Yeelight devices. The default one will scan the network searching for Yeelight and sometime it miss some devices untill I restart HA again (and again). Maybe because I have 45 wifi devices (not only Yeelight). I think I’ll solve that issue pointing HA to a specific IP without scan the whole network.
you don’t have to use a separate yeelight.yaml either. I keep all my lights in a lights.yaml which has the following to take care of my yeelights. Can’t ever see this getting broken by updates as it is so simple.