We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc9afe4 commit c79c934Copy full SHA for c79c934
1 file changed
extalife/light.py
@@ -235,7 +235,7 @@ async def async_turn_on(self, **kwargs):
235
236
r = g = b = w = 0
237
if ATTR_RGBW_COLOR in kwargs:
238
- r, g, b, w = kwargs
+ r, g, b, w = kwargs[ATTR_RGBW_COLOR]
239
240
# WARNING: Exta Life 'mode_val' from command 37 is a HEX STRING, but command 20 requires INT!!! 🤦♂️
241
if self._supports_white_v and effect is None:
0 commit comments