mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 16:04:25 +01:00
Added "hs" to color modes for color wheel
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user