I have a working Automation that “says” Drive movement detected whenever a PIR is activated, and it works well.
But I would like to add a sound, such as <"amzn_sfx_trumpet_bugle_03"/>
to be played immediately before the words. But I can’t work out what the syntax would be.
Any assistance would be hugely appreciated. TIA
alias: NOTIFICATION - Gate PIR activated
description: ""
trigger:
- platform: state
entity_id:
- switch.gate_pir
to: "on"
for:
hours: 0
minutes: 0
seconds: 2
condition: []
action:
- service: notify.alexa_media_dot
data:
message: Drive movement detected
data:
type: tts
mode: single