Automation alarm clock for Alexa

`

Würde mich freuen wenn mir jemand helfen kann.

Liebe Grüße Werner
Hello,

I want Alexa to wake me up and slowly increase the volume. I would like to use the radio station “MDR Thüringen” as the alarm tone (I otherwise listen to this station via skill).
I’ve started the automation but can’t get it set to play the radio station. Normally I activate this with “Alexa play MDR Thüringen”.
Here my code:

alias: Wecker Schlafzimmer
description: ""
trigger:
 - platform: time
   at: "14:00:00"
condition:
 - condition: time
   weekday:
     - mon
     - tue
     - wed
     - thu
     - fri
action:
 - service: media_player.volume_set
   data:
     volume_level: 0.3
   target:
     entity_id: media_player.workstatt
 - service: media_player.select_source
   data:
     source: mdr thüringen
   target:
     entity_id: media_player.workstatt
 - delay:
     hours: 0
     minutes: 1
     seconds: 0
     milliseconds: 0
 - service: media_player.volume_set
   data:
     volume_level: 0.5
   target:
     entity_id: media_player.workstatt
mode: single

Would be glad if someone can help me.

Greetings Werner

I normally get Alexa to play a radio station like this:

service: media_player.play_media
data:
  media_content_id: Play BBC Radio 4
  media_content_type: custom
target:
  entity_id: media_player.lounge

1 Like

this is the solution thanks…