All I want to do is play a random album on my LMS system (integration is working fine, just automation not) based on the available albums it has. Ideally, I would be able to add a filter based on the number of tracks (because there are some singles), but let's start with "any album".
I can create an automation with variables like the attached yaml (discord won't let me paste the code because they want to extract money from everyone) but nothing in the media_player actions actually seems to take template/variable input! The result of the second search_media in that automation is always "every album", and the result of the play_media is always the first in the list.
Is this really not possible?!