@jaswalters wrote:
I came up with this code that works but it creates spaces between the lines when it writes them out in markdown.
Any ideas?
{% for state in states.input_text %} {% if state.entity_id | regex_match('^input_text.lockcode_[0-9]') %} {{ state.name | trim }}:{{ state.state | trim }} {%- endif %} {%- endfor %}
This is how they get displayed.
Posts: 1
Participants: 1