I’m trying to add a voice assistant intent to add items to my shopping list. My current configuration:
config/custom_sentences/en/shopping.yaml
:
language: "en"
intents:
ShoppingAdd:
data:
- sentences:
- "add"
config/custom_sentences/en/shopping.yaml
:
intent_script:
ShoppingAdd:
speech:
text: "added"
So far so good, this works (left out action
as it’s not necessary for now).
But when I try to add a variable to the intent by modifying "add"
to "add {name}"
, "add {{name}}"
, "add <name>"
etc i get the response intent-failed
:
config/custom_sentences/en/shopping.yaml
:
language: "en"
intents:
ShoppingAdd:
data:
- sentences:
- "add {name}"
config/custom_sentences/en/shopping.yaml
:
intent_script:
ShoppingAdd:
speech:
text: "added {{name}}"