Skip to content

Commit

Permalink
fix typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea authored Aug 1, 2018
1 parent f435cd1 commit 6557c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BridgeEmulator/HueEmulator3.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def entertainmentService():
if r == 0 and g == 0 and b == 0:
sendLightRequest(str(lightId), {"bri": 1, "transitiontime": 1})
else:
sendLightRequest(str(lightId), {"xy": convrt_rgb_xy(r, g, b), "transitiontime": 1})
sendLightRequest(str(lightId), {"xy": convert_rgb_xy(r, g, b), "transitiontime": 1})
elif fremeID == 48:
average_bri = int((r + b + g) / 3)
esendLightRequest(str(lightId), {"bri": average_bri, "transitiontime": 1})
Expand Down

0 comments on commit 6557c46

Please sign in to comment.