limit number of options for effects for now

This commit is contained in:
joBr99
2022-11-05 09:24:33 +01:00
parent 05cad91193
commit 51b2929a75

View File

@@ -814,7 +814,7 @@ class LuiPagesGen(object):
if ha_type == "input_select":
options = entity.attributes.get("options", [])
if ha_type == "light":
options = entity.attributes.get("effect_list", [])
options = entity.attributes.get("effect_list", [])[:15]
options = "?".join(options)
self._send_mqtt_msg(f"entityUpdateDetail2~{entity_id}~~{icon_color}~{ha_type}~{entity.state}~{options}~")