Skip to content

Commit

Permalink
2.2b1
Browse files Browse the repository at this point in the history
r, g, b, w = kwargs[ATTR_RGBW_COLOR]
  • Loading branch information
dgtal1 committed Sep 22, 2022
1 parent cc9afe4 commit c79c934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extalife/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def async_turn_on(self, **kwargs):

r = g = b = w = 0
if ATTR_RGBW_COLOR in kwargs:
r, g, b, w = kwargs
r, g, b, w = kwargs[ATTR_RGBW_COLOR]

# WARNING: Exta Life 'mode_val' from command 37 is a HEX STRING, but command 20 requires INT!!! 🤦‍♂️
if self._supports_white_v and effect is None:
Expand Down

0 comments on commit c79c934

Please sign in to comment.