Skip to content

Commit

Permalink
Bump yeelight to 0.5.4 (#41524)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxn committed Oct 9, 2020
1 parent 96035eb commit e6a65b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/yeelight/light.py
Expand Up @@ -137,7 +137,7 @@
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,
}
Expand Down Expand Up @@ -661,7 +661,7 @@ def set_effect(self, effect) -> None:
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:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/yeelight/manifest.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -2301,7 +2301,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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -1073,7 +1073,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
Expand Down

0 comments on commit e6a65b8

Please sign in to comment.