Alerts via Echo

First post. This community is awesome! I’m a newbie trying to send an alert notification to my Amazon Echoes.

What I’ve done:
Created an “alerts.yaml” file

Added "alert: !include alerts.yaml in configuration.yaml

Added to confirguration.yaml:
notify:

  • name: alert_alexas
    platform: group
    services:
    • service: alexa_media
      data:
      target:
      - alexa_media_kitchen_echo
      - alexa_media_bedroom_echo
      - alexa_media_living_room_echo
      data:
      type: announce

Added to alerts.yaml file:
door_to_garage_open:
name: door to garage is open
entity_id: binary_sensor.lumi_lumi_sensor_magnet_aq2_opening_2
state: “open”
message: Someone left the door to the garage open. Please close it.
done_message: The door to the garage is closed
repeat: 1
notifiers:

  • alert_alexas

What am I doing wrong?

Please format the configuration properly so we can diagnose the source of the issue.

FWIW, most users report a better auditory experience by grouping Alexa devices in the Alexa app. When grouped using the notify integration’s group platform there can be a noticeable lag between each device playing the message. Using Alexa Whole Home Audio groups usually results in more synchronized message playback.

1 Like

Thank you for the info @Didgeridrew! My appologies regarding format…I’m new. On the plus side, it took me three days and hours and hours of hair pulling to figure out my device names are media_player.XXX, not alexa_media_XXX. I am up and running now.