Strange situation with version 0.5.3
It looks like version 0.5.3 was re-uploaded to pypi with the code of 0.5.4
https://pypi.org/project/yeelight/0.5.3/#files
Home Assistant project is using your library and there is some strange sitation — that is discussed in https://github.com/home-assistant/core/issues/41507
Docker images that were build some time ago with the version 0.5.3 has the different code that the docker images build recently with the same version 0.5.3
$ docker run -it homeassistant/raspberrypi3-homeassistant:0.116.0 cat /usr/local/lib/python3.8/site-packages/yeelight/transitions.py|grep 'def random'
def randomloop(duration=750, brightness=100, count=9):
$ docker run -it homeassistant/raspberrypi3-homeassistant:0.116.1 cat /usr/local/lib/python3.8/site-packages/yeelight/transitions.py|grep 'def random'
def random_loop(duration=750, brightness=100, count=9):
$ docker run -it homeassistant/raspberrypi3-homeassistant:0.116.0 cat /usr/src/homeassistant/requirements_all.txt|grep yeelight==
yeelight==0.5.3
$ docker run -it homeassistant/raspberrypi3-homeassistant:0.116.1 cat /usr/src/homeassistant/requirements_all.txt|grep yeelight==
yeelight==0.5.3
But frankly speaking I'm not sure what to do. Maybe it is best to re-re-upload 0.5.3 with the correct code.
Edited by Ivan Bessarabov
