kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.51k stars 206 forks source link

Help with shortcut button and service #766

Open snorrebot opened 1 year ago

snorrebot commented 1 year ago

Hi all,

I am desperately looking for a solution. I want to use a shortcut button on my mini media player to run the media_player.play_media service to play a radio station url. What am I doing wrong? I get the following error: cannot run service media_player/play_media. Must contain at least one of entity_id, device_id, area_id

Thanks a lot for helping me out! Lovelace card yaml:

type: vertical-stack cards:

snorrebot commented 1 year ago

Found it: under data you have to type once again the entity_id: media_player.keuken