Doorbell announcement volume on Alexa

Hello All,

I’ve just received my Reolink doorbell PoE, I can see Home assistant picking up the door presses so what I’d like is to have my various Alexa’s chime when the button is pressed, I think I’m capable of getting that bit working, but is there a way to set the volume of the chime then have the Alex’s go back to the volume setting they were at before the chime?

Thanks

S

You can use the scene.create service to store the Alexa’s volumes in an ad hoc scene.

trigger:
  - platform: state
    to: 'on'
    entity_id: 
      - binary_sensor.doorbell
condition: []
action:
  - variables:
      targets:
        - media_player.alexa_1
        - media_player.alexa_2
  - service: scene.create
    data:
      scene_id: alexas_volumes
      snapshot_entities: '{{ targets }}' 
  - delay: 1
  - service: media_player.volume_set
    data:
      volume_level: 0.5
    target:
      entity_id: "{{ targets }}"
  - delay: 2
  - service: notify.alexa_media
    data:
      message: Ding Dong someones at the door
    target:
      entity_id: "{{ targets }}" 
  - delay: 30
  - service: scene.turn_on
    target:
      entity_id: scene.alexas_volumes

Thank you D. I’ll try this.