Amend Alexa Volume, prior to Doorbell alert

Hello,

UI have a very simple automation, for various Echo devices to sound, when my Amcrest doorbell is pressed.
Current Automation YAML below.

However, often my Echo volumes are low. How could i amend this code to intially increase volume, play doorbell chime, then return volume as it was.
Ive looked at other YAML fro amending alexa volumes; but i cant seem to successfull cut and drop it into my current code. Any ideas?

As a bonus - could i add conditions that if its past 9pm, only raise to x level, but if its day time, raise to a highger volume level?

Current YAML

alias: Doorbell Pressed
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.front_door_button_pressed
    to: 'on'
  condition: []
  action:
  - service: notify.alexa_media
    data:
      message: <audio src="soundbank://soundlibrary/home/amzn_sfx_doorbell_chime_02"/>
      target:
      - media_player.main_bedroom
      - media_player.dressing_room
      - media_player.garage_echo
      - media_player.kitchen
      - media_player.lounge
      - media_player.landing
      data:
        type: tts
  mode: single

Any help is greatly appreciated - thanks in advance.

One option is to use the scene.create service to create an ad-hoc scene that stores the volumes of the Alexa devices.

alias: Doorbell Pressed
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.front_door_button_pressed
    to: 'on'
condition: []
action:
  - variables:
      targets: >
        {{ ['media_player.main_bedroom', 'media_player.dressing_room',
        'media_player.garage_echo', 'media_player.kitchen',
        'media_player.lounge', 'media_player.landing'] }}
      volume_level: "{{ iif( 7 < now().hour < 21, '0.6', '0.4') }}"
  - service: scene.create
    data:
      scene_id: all_alexas_current
      snapshot_entities: '{{ targets }}'
  - service: media_player.volume_set
    target:
      entity_id: '{{ targets }}'
    data:
      volume_level: '{{ volume_level }}'
  - delay: 
      seconds: 1
      milliseconds: 500
  - service: notify.alexa_media
    data:
      message: <audio src="soundbank://soundlibrary/home/amzn_sfx_doorbell_chime_02"/>
      target: '{{ targets }}'
      data:
        type: tts
  - delay: 5
  - service: scene.turn_on
    target:
      entity_id: all_alexas_current
mode: single

There are a couple FYIs for this method:

  1. All the targeted Alexa devices will beep due to the volume change command both before and after the doorbell chime.
  2. If you regularly use any of the Alexa as Bluetooth speakers you will occasionally experience the BT connection being severed.

Thankyou for taking the time to reply with thoughts.
The pre and post ‘beep’ is making this option a little less appealing…

The ‘restore to previous volume’ is a nice to have I guess, and I could have them restore to a certain (lower) level and that become my standard volume I guess …