State condition wildcard

Hey,

i need to check, if any of my Snapcast-Clients are currently playing.
I’m also using “Snapweb” - so players will be randomly added to Home-Assistant.
But the name will always something like “media_player.kitchen_snapcast_client”.

It would be awesome, if it is possible to add a wildcard like this ( i know, that the below code will not work):

condition: state
entity_id: media_player.*_snapcast_*
state: playing

Is there any solution?

I’m using custom:auto-entities, which helps to display these players. Something like this for automations would be very helpful :slight_smile: