Skip to content

Commit c79c934

Browse files
committed
2.2b1
r, g, b, w = kwargs[ATTR_RGBW_COLOR]
1 parent cc9afe4 commit c79c934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extalife/light.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async def async_turn_on(self, **kwargs):
235235

236236
r = g = b = w = 0
237237
if ATTR_RGBW_COLOR in kwargs:
238-
r, g, b, w = kwargs
238+
r, g, b, w = kwargs[ATTR_RGBW_COLOR]
239239

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

0 commit comments

Comments
 (0)