Fix rgb conversion in fibaro light (#71476)

pull/71504/head
rappenze 2022-05-07 22:22:41 +02:00 committed by GitHub
parent 6442c5949b
commit fe7564813a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -185,6 +185,6 @@ class FibaroLight(FibaroDevice, LightEntity):
rgbw_list = [int(i) for i in rgbw_s.split(",")][:4]
if self._attr_color_mode == ColorMode.RGB:
self._attr_rgb_color = tuple(*rgbw_list[:3])
self._attr_rgb_color = tuple(rgbw_list[:3])
else:
self._attr_rgbw_color = tuple(rgbw_list)