Ludeeus
  • Hello world?
  • Messages
    • Teapot
  • Home Assistant
    • Blueprints
      • Pause Playing Media During Calls
    • Discord webhook notifier
    • Templates
      • Get the user that changed an entity
      • Get All entities from a group
      • List all active domains
      • Translate strftime weekday
      • Share state between two entities
      • Strings
  • Playground
    • 99 Bottles of Beer 🍻
  • 🤬Outlet
    • I have an error
    • My custom cards don't work
Powered by GitBook
On this page
  1. Home Assistant
  2. Templates

Get All entities from a group

{{ dict((states|selectattr('entity_id', 'in', state_attr('group.all_devices', 'entity_id'))|list)|groupby('state'))['home']|map(attribute='name')|list|join(', ') }}
PreviousGet the user that changed an entityNextList all active domains

Last updated 5 years ago