type: markdown title: Test markdown all attributes of defined entities content: | {% set entities = [ "media_player.office_speaker", "media_player.bedroom_3", ] %} {%- for id in entities -%} <table> <tr><th colspan="2">{{ id }}</th></tr> {%- for attr in states[id].attributes -%} <tr> <td>{{ attr }}</td> <td>{{ state_attr(id, attr) }}</td> </tr> {%- endfor %} </table> {%- endfor %}