Reusable list of entities for template and entity list?

I want to display a conditional button on my dashboard that lights up if any of my battery powered devices are low on juice. Clicking that button should show a subview that lists the affected devices.

I have set up an Entity Filter card on the subview and it works great.

But how do I make the conditional button on the dashboard? I can make it dependent on a template, but then I’ll end up duplicating the same entity list in both the template and the Entity Filter.

I’d like to define the list of entities and the filter as a reusable thing, and then reference that filtered list in two places:

  • As the source for the Entity Filter or Auto Entities card
  • In a Template, e.g. “is there anything in this filtered group?”

Any ideas?

1 Like