Automatically start Sonos playback at 6:25am

For future reference, It’s helpful to paste your code using the preformatted text option. This will retain indents and spacing which is important in yaml.

Paste your code, highlight it and then click the “< / >” button at the top of the post editor.

That said. You could add an action to turn on a script.

Below is an example of a script pulled from Sonos: automation, scenes and specific playlists

script:
  sonos_play_radio
    sequence:
    - alias: "Radio play"
      service: media_player.play_media
      data:
        media_content_id: x-rincon-mp3radio://fm03-icecast.mtg-r.net/fm03_mp3
        media_content_type: music

Your config above would look something like below.

- alias: Weekday morning routine
  trigger:
    platform: time
    after: '06:25:00'
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
  condition: or
  conditions:
    - condition: state
      entity_id: sn7plus
      state: 'home'
    - condition: state
      entity_id: cn7
      state: 'home'
  action:
      service: homeassistant.turn_on
      entity_id: script.sonos_play_radio