Function Repair Device

Hi.
Sometimes it happens that all the devices from Yeelight are off line and I only have to press reparing on one device and then all the other devices work. My question is if it is possible to set up some automation when this happens to resolve it automatically.

Below you’ll find a similar topic.
Probably restarting the app ‘solves’ it.

Do you use reserved IP addresses for all of your yeelights?
Homey (here) is not good at finding devices when their IP address changes (all the time).

Thanks for reposting the topic below. How can I set or correct the IP address on the device?