#Ask a question - with open ended result?
1 messages · Page 1 of 1 (latest)
you can use assist_satellite.ask_question in the automation. the response then goes into a variable which you can do whatever you want with.
it doesn't appear to "stop" listening. I'm using a voip phone to do it, I wonder if thats why
doesn't it wait for x seconds of silence?
- action: assist_satellite.ask_question
metadata: {}
data:
question: What do you want added to thie shopping list
preannounce: true
entity_id: assist_satellite.192_168_60_195
response_variable: shoppingitem
enabled: true
- action: todoist.new_task
data:
project: Shopping
content: "{{ shoppingitem }}"
enabled: true
thats what I have, I presume that should do the trick?
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
it looks like it just get stuck in "responding"
this has just got stuck here
and now, future traces won't get past this
Likely something to do with the voice input device. This works fine for me:
sequence:
- action: assist_satellite.ask_question
metadata: {}
data:
question: What do you want added to thie shopping list
preannounce: true
entity_id: assist_satellite.dr_voice_pe_assist_satellite
response_variable: shoppingitem
- action: persistent_notification.create
data:
message: "{{ shoppingitem.sentence }}"
alias: test_ask
description: ""