limit number of options for effects for now

This commit is contained in:
Johannes
2022-11-05 09:24:33 +01:00
parent 8f2bfd234f
commit dbab5e9730

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}~")