Update nspanel-lovelance-ui.py

This commit is contained in:
joBr99
2022-03-13 00:35:18 +01:00
committed by GitHub
parent d3140bee73
commit 68e3a72426

View File

@@ -456,7 +456,7 @@ class NsPanelLovelanceUI:
else:
color_temp = "disable"
if "xy" in entity.attributes.supported_color_modes or "rgbw" in entity.attributes.supported_color_modes or "hs" in entity.attributes.supported_color_modes:
if "xy" in entity.attributes.supported_color_modes or "rgb" in entity.attributes.supported_color_modes or "rgbw" in entity.attributes.supported_color_modes or "hs" in entity.attributes.supported_color_modes:
color = "enable"
else:
color = "disable"