Thanks for responding! Your solution with the auto-entities card and custom-template-entity-row was exactly what I was trying to achieve: getting only the device (no repeat entities) that was unavailable into a dynamic dashboard card and have the tap action go to that device page. I was able to get everything working.
Firstly, I was getting errors initially because I was accidentally commenting out a necessary line when editing the ignore_list portion of the macro. After figuring that out, I just needed to edit your macro call in the developer tools area to this:
Unfortunately I do not get the expected result from integration_entities.
For example HACS creates an update sensor for each custom integration, which has the value “unavailable” when no updates are available. Yet,
{{ integration_entities(‘hacs’) }}
returns just [‘sensor.hacs’] despite the UI showing more entities under HACS. All unavailable except the single one returned.
Same with UniFi.
If integration_entities does not report unavailable entities, it may not not be a good method of excluding devices.