I have been having trouble setting up amazon.notify services and data templates. I have the following two scripts and both are erroring out. I’m on the latest version of Home Assistant. I can get the script to work if I remove data template and just use a single value for “message”, but whenever I try to template, I get an error. Any help would be great!
midnight:
alias: Midnight Notifiaction
sequence:
data_template:
message:' {{ [ "Welcome Back Boss", "Yo" ] | random}}'
type: tts
target:
- media_player.media_player.echo
'1587326108891':
alias: office speaks
sequence:
- service: notify.alexa_media_echo
data_template:
data:
target: media_player.media_player.echo
method: all
type: announce
message:
{{ [ 'Welcome Back Boss', 'Yo', 'for shizzle' ] | random}}