I’m not sure I follow what you want to do You should be able to send custom messages.
What I’m trying to understand is what is that custom message / where is it coming from and where is it stored…
you should be able to replace {{ a_custom_text_sent_in_api_call }} with something like {{ states.input_text.a_custom_text_sent_in_api_call.state }}
I don’t have any input text:
“states.input_text.a_custom_text_sent_in_api_call”
This is mostly for learning purpose, I’m playing around with vocal commands from a google home device, calling hass web API with keyworks as parameter…
That’s the point, hence me asking ‘what is that custom message / where is it coming from and where is it stored’
If it’s a list of predefined messages, then you can store them in various input_text or even input_select (so they can be selected and triggered upon selection).
What exactly are you trying to do?