[Yeelight] How to set rules

Here a link. Maybe to the solution.