I have a button where I want to connect a stream from a radio. But it doesn’t work… What is wrong in the code ?
- type: horizontal-stack
cards:
- show_name: true
name: Willy
size: 19%
type: custom:button-card
tap_action:
action: call-service
service: media_player.play_media
service_data:
media_content_id: https://icecast-qmusicbe-cdp.triple-it.nl/willy.mp3
media_content_type: music
volume_level: 0.30
entity_id: media_player.woonkamer