diff --git a/homeassistant/components/yeelight/light.py b/homeassistant/components/yeelight/light.py index a84ebebf6e3..93dbc5bcb07 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -137,7 +137,7 @@ EFFECTS_MAP = { EFFECT_POLICE2: yee_transitions.police2, EFFECT_CHRISTMAS: yee_transitions.christmas, EFFECT_RGB: yee_transitions.rgb, - EFFECT_RANDOM_LOOP: yee_transitions.randomloop, + EFFECT_RANDOM_LOOP: yee_transitions.random_loop, EFFECT_LSD: yee_transitions.lsd, EFFECT_SLOWDOWN: yee_transitions.slowdown, } @@ -661,7 +661,7 @@ class YeelightGenericLight(YeelightEntity, LightEntity): elif effect in EFFECTS_MAP: flow = Flow(count=0, transitions=EFFECTS_MAP[effect]()) elif effect == EFFECT_FAST_RANDOM_LOOP: - flow = Flow(count=0, transitions=yee_transitions.randomloop(duration=250)) + flow = Flow(count=0, transitions=yee_transitions.random_loop(duration=250)) elif effect == EFFECT_WHATSAPP: flow = Flow(count=2, transitions=yee_transitions.pulse(37, 211, 102)) elif effect == EFFECT_FACEBOOK: diff --git a/homeassistant/components/yeelight/manifest.json b/homeassistant/components/yeelight/manifest.json index 1e8c0472fdd..3c708d57560 100644 --- a/homeassistant/components/yeelight/manifest.json +++ b/homeassistant/components/yeelight/manifest.json @@ -3,7 +3,7 @@ "name": "Yeelight", "documentation": "https://www.home-assistant.io/integrations/yeelight", "requirements": [ - "yeelight==0.5.3" + "yeelight==0.5.4" ], "codeowners": [ "@rytilahti", diff --git a/requirements_all.txt b/requirements_all.txt index 5b03c56d938..d6f490ff1ee 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2295,7 +2295,7 @@ xs1-api-client==3.0.0 yalesmartalarmclient==0.1.6 # homeassistant.components.yeelight -yeelight==0.5.3 +yeelight==0.5.4 # homeassistant.components.yeelightsunflower yeelightsunflower==0.0.10 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index a977daa08e0..3b1b13fa1a8 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1064,7 +1064,7 @@ wolf_smartset==0.1.6 xmltodict==0.12.0 # homeassistant.components.yeelight -yeelight==0.5.3 +yeelight==0.5.4 # homeassistant.components.zeroconf zeroconf==0.28.5