List all entities Go to Developer Tools > Templates and type: {% for state in states %} {{ state.entity_id }} {%- endfor -%}