#Way to pull all entities in HA?

1 messages · Page 1 of 1 (latest)

jolly vigil
#

Is there a way to pull a list of all entities in my HA instance? Or even better yet - is there some code that will pull all current entities (and that would reflect new entities in the future without having to update the list)?

I've been using HA for a year or so now and have a couple hundred entities and a lot of decent automations. I'd like to start thinking of additional ways to monitor what is on/open/etc in the house so I can consider additional automations. I may also look at creating a conditional dashboard to only show devices that are on/open/etc, but start want to start creating some conditional dashboards.

#

Way to pull all entities in HA?

thin cape
#

{{ states | map(attribute='entity_id') | list }}
Will give you a list of all entity ids

polar tinsel
#

If you are looking to display them in a dashboard, having a look at auto-entities might be worthwhile