Obviously I would not want to pre-fill in the message, but if i wanted to create a notify group with this device in addition to another, how would the yaml look? Unfortunately the template at Group - Home Assistant isn’t helping.
So I realize that this is far from perfect as I, myself, am fairly new to HA and YAML. This may not be the cleanest, most elegant or most efficient, but it does work. When the mailbox has been closed, I have an alert that goes out telling two of my echo devices (in the office and kitchen) to state that the mail has been delivered.
You can customize this for whatever needs you may have (multiple door contacts being opened, instead of closed), temperature alerts, taunting of intruders, whatever, use your imagination.
alias: Mailbox has been closed
description: ""
trigger:
- type: opened
platform: device
device_id: f0cac620b9d2097617c9fb54c90832d1
entity_id: binary_sensor.mailbox_sensor_state
domain: binary_sensor
condition: []
action:
- service: notify.alexa_media_office_echo_2
data:
data:
type: tts
message: Your mail has been delivered
target: notify.alexa_media_office_echo_2
- service: notify.alexa_media_kitchen_echo_2
data:
message: Your mail has been delivered
data:
type: tts
target: notify.alexa_media_kitchen_echo_2
mode: single
Confirm this still works as of June 2023. Was the missing syntax vs other potential solutions I have seen and tried. I finally have this working after 6mos of trying. It will ding the announcement tone before speaking the text.