Hey team!
Is there any way to pass arguments to a speech (TTS) script that’s saved as JINJA in a template YAML file?
I’m thinking in the file could be the greeting, maybe our names, and then you’d pass the actual message as the argument from whatever script you have. That would maximize reusability I think.
Matt
front_door_closed:
sequence:
- service: script.mesa_notify
data:
message: !include /config/mesa/templates/speech/welcome_home.yaml
forMatt: true
forSerena: true