Closed ejpenney closed 1 year ago
Try using the auto-entities card. You should be able to come up with a naming convention that let's you pull in the sensors you want to consider for display and only display the ones w/ the status that you want. No need to create the template sensor, auto-entities will cycle through them all and pull the ones you want.
Example at the link.
https://github.com/vasqued2/ha-teamtracker/wiki/Using-Auto-Entities-Card-to-Hide-NOT_FOUND-Status
This is a feature request regarding https://github.com/vasqued2/ha-teamtracker/issues/102, if I create a bunch of Team Tracker entities tracking all the leagues my international soccer team is in, then I could go create a card with (in some cases) many conditions but that's messy, for example USWNT would require as many as 7 conditional cards. I would prefer to create one sensor that tells the card which team sensor to use, then one card based on that sensor.
Here's my example, tracking the USWNT:
This creates sensor.uswnt_next_game, which points to the sensor with the next upcoming game in it, then I'd like to create a card like this:
But that isn't currently possible. Maybe there's a cleaner way to handle this, but I'm not seeing it?