After many unsuccessful attempts with a Google Nest Hub, for example, I have created a sunrise alarm clock (with music) setup that I am very happy with.
I use a ShellyWallDisplay to set alarm times etc. and have created my own dashboard for this. I also use the browser_mod integration to call up various pages of the dashboard depending on the status.
Now I am still missing the following:
I have implemented an input_select_helper (and a corresponding automation) so that I can use the more_info_dialogue to select a piece of music to be saved as an alarm clock.
The music files are located under my_media. I would now like to have the option of playing the music tracks in the same pop-up window (as a preview).
I would like to have a small play button next to the music track, which I can use to start/stop playback.
Can anyone help me how I can do this?