Thanks for fix, here is easy way:
copy folder “yeelight” from here: https://github.com/home-assistant/core/tree/dev/homeassistant/components
to /config/custom_components/yeelight
in light.py
replace “yee_transitions.randomloop” to “yee_transitions.random_loop” (it appears twice)
restart