mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
fix
This commit is contained in:
@@ -676,9 +676,9 @@ class LuiPagesGen(object):
|
|||||||
color = "enable"
|
color = "enable"
|
||||||
else:
|
else:
|
||||||
color = "disable"
|
color = "disable"
|
||||||
effect_supported = False
|
effect_supported = "disable"
|
||||||
if "effect_list" in entity.attributes:
|
if "effect_list" in entity.attributes:
|
||||||
effect_supported = True
|
effect_supported = "enable"
|
||||||
color_translation = "Color"
|
color_translation = "Color"
|
||||||
brightness_translation = get_translation(self._locale, "frontend.ui.card.light.brightness")
|
brightness_translation = get_translation(self._locale, "frontend.ui.card.light.brightness")
|
||||||
color_temp_translation = get_translation(self._locale, "frontend.ui.card.light.color_temperature")
|
color_temp_translation = get_translation(self._locale, "frontend.ui.card.light.color_temperature")
|
||||||
|
|||||||
Reference in New Issue
Block a user