Open elblogbruno opened 10 months ago
This is neither a bug nor a FR. Suggest to ask similar questions in a dedicated auto-entities Community thread.
This is wrong:
filter:
template: "{{ areas() }}"
options:
type: area
You cannot use the "template" & "options" together. All your code to create a list of "area" cards should be inside the "template" option. Try this untested:
filter:
template: >-
{% for AREA in areas() -%}
{{
{
'type': 'area',
'area': AREA
}
}},
{%- endfor %}
Hello everyone. I am trying to list all available areas on my UI, hovewer I have not been very lucky.
I tried using a template:
Hovewer this gives me the following error:
Am I missing something? is this a bug or something? Thanks a lot!