Wondering if someone might be able to offer a suggestion to add links to a markdown card to open the more info dialog for entities listed.
Currently this is my card code:
type: custom:expander-card
title: Unavailable Entities Report
cards:
- type: markdown
content: >-
{% set entities =
(state_attr('sensor.unavailable_entities','entity_id')|string).split(',')
%} {% for entity in entities %} <hr> <table> <tr> <td>
{{ entity.strip()[1:-1].replace('"', '').replace("'",'') }}
</td> </tr> </table> {% endfor %}
gap: 0px
padding: 0px
child-padding: 0px 0px 0px 0px
overlay-margin: 0px
expanded: true
card_mod:
style:
ha-markdown:
$: |
ha-markdown-element:first-of-type hr{
border-color: #303030;
}
the card will list all the unavailable entities as in the sensor in a table like below
This works great to easily see what might have gone offline etc.
However i want to be able to click on each entity in the table and see the more info dialog so i an quickly troubleshoot etc. however i’m not finding anything that i can identify as a way to do this.
Is this possible and if so how?