Hey people! I am in the process of learnding how to create custom responses for assistant.
Are there some established best practices on how to do that, specifically in regards to defining sentence patterns and structuring decisions based on specific terms in them?
Having to define multiple triggers to relay key aspects to different conditional responses yields quite a lot of template dublication which i feel like should be avoidable.
#How to write proper automations for assistant
1 messages · Page 1 of 1 (latest)
I just use the (one|mandatory) and [optional|words] syntax to de-duplicate as much as I can.
https://developers.home-assistant.io/docs/voice/intent-recognition/template-sentence-syntax/#sentence-templates-syntax
I kinda end up overdoing it with optionals in multiple possible sentences squashed into one