Play one radio stream by pushing one button

I would like to play only a single radio stream to a media player with one single button.

I have tried many but everything is too extensive.
So no selectors but just one button that plays one stream one media player.
Who can help me on my way.

So please no links to all the difficult script i tried them all and they are too much.

I understand i have to give more input

The radios station for example is

the media player is

Hi Ernst,
without knowing which stream you would like to play on which device, it is difficult to give you hints.
For example, my SONOS behaves different to my ‘frontier silicon’-speakers.
Maybe you take the time to read this topic

I use this to play radio Wales on chromecast

alias: Play Radio Wales (HG)
description: ''
  - platform: state
    entity_id: input_boolean.radio_wales
    to: 'on'
condition: []
  - service: media_player.play_media
      entity_id: media_player.home_group
      media_content_id: >-
      media_content_type: audio/mp4
mode: single

With an input boolean triggering it.

1 Like

Nice i understand much but i’m such a beginner i don’t know how to go further whit the input boolean
I understand i have to trigger it there it stops for me.

Create toggle helper in configuration / automations and scenes / helpers and use that as the button and automation trigger.

1 Like

And it’s working Thanks .

You can also use this one. I have edited it on my own purposes with the radio stations and icons.

Playing webradio (and other audio) from Lovelace dashboard :: Sequr