Set volume media player in automation

With the newest version of HA 22.6

 - service: media_player.play_media
    target:
      entity_id: media_player.nestmini5944
    data:
      media_content_id: media-source://radio_browser/ba572a84-0c64-48e5-ba57-18ad22614d70
      media_content_type: audio/mpeg
    metadata:
      title: A MISSISSIPPI BLUES
      thumbnail: >-
        https://d1ujqdpfgkvqfi.cloudfront.net/favicon-generator/htdocs/favicons/2022-03-06/20e1e13b9560245cced8a320508ace70.ico.png
      media_class: music
      children_media_class: null
      navigateIds:
        - {}
        - media_content_type: app
          media_content_id: media-source://radio_browser
        - media_content_type: music
          media_content_id: media-source://radio_browser/tag
        - media_content_type: music
          media_content_id: media-source://radio_browser/tag/blues
  - service: media_player.volume_set
    data:
      volume_level: 0.24
    target:
      device_id: 0af84fce0987264fd057f7e7638b9b7e
  - delay:
      hours: 1
      minutes: 0
      seconds: 0
      milliseconds: 0
  - service: media_player.media_stop
    data: {}
    target:
      device_id: 0af84fce0987264fd057f7e7638b9b7e
mode: restart