Home Assistant release with the issue: 0.102.0
Last working Home Assistant release (if known): none
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Integration: yeelight
Description of problem:
In the current state of all the yeelight bulbs, the current active effect is missing:

So there is a list of all available effects, but not not the current active effect
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
yeelight:
devices:
192.168.168.50:
name: Light Floor
Hey there @rytilahti, @zewelor, mind taking a look at this issue as its been labeled with a integration (yeelight) you are listed as a codeowner for? Thanks!
There is no real way of knowing if there is an effect in use (as they are simply a set of transitions), it is only possible to see if such flow is in use. If such information is wanted, the yeelight integration could save the last activated effect as current effect, and reset it when the mode gets changed. @zewelor what do you think about this?
@rytilahti It seems like only solution. It could give false impression, that such information is available, and for exmaple, if someone fires event from yeelight app. Current_effect won't be populated it will be some issue. But its probably better to show it in some cases than never ? It also won't work for flows, executed from yeelight.start_flow service. I can work on that in few days.
Would it be an option to ask the yeelight devs to also return the current effect via the get_prop function?
There is no such thing as current effect in yeelight device. It gets list of transitions ( color / brightness ) changes and counter ( to do it x times or infinite loop ).
Implemented here: https://github.com/home-assistant/home-assistant/pull/28975