From 61dd5dfb92e5f13ca0c98f39b1f703b501a8043a Mon Sep 17 00:00:00 2001 From: Johannes Date: Mon, 31 Oct 2022 19:52:36 +0100 Subject: [PATCH] fix --- apps/nspanel-lovelace-ui/luibackend/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 154cacff..2931cd9b 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -676,9 +676,9 @@ class LuiPagesGen(object): color = "enable" else: color = "disable" - effect_supported = False + effect_supported = "disable" if "effect_list" in entity.attributes: - effect_supported = True + effect_supported = "enable" color_translation = "Color" brightness_translation = get_translation(self._locale, "frontend.ui.card.light.brightness") color_temp_translation = get_translation(self._locale, "frontend.ui.card.light.color_temperature")