Added "hs" to color modes for color wheel

This commit is contained in:
joBr99
2022-03-12 23:35:13 +01:00
committed by GitHub
parent 11bc69ea14
commit 4cc2d11cfb

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:
if "xy" 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"