From 07f8a347ff7c28f8de059e721a05bef7c5f14cd0 Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 29 Nov 2022 19:04:28 +0100 Subject: [PATCH] Update pages.py --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 2469c43e..57ef84e8 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -819,7 +819,7 @@ class LuiPagesGen(object): icon_color = 0 ha_type = entity_id.split(".")[0] icon_color = self.get_entity_color(entity, ha_type=ha_type) - if ha_type == "input_select": + if ha_type in ["input_select", "select"]: options = entity.attributes.get("options", []) if ha_type == "light": options = entity.attributes.get("effect_list", [])[:15]