Nick4
(Nick)
1
It’s just the last step that I cannot solve…
Searched, read a lot of topics but no luck.
- TTS
action:
- service: notify.mobile_app_<device>
data:
message: TTS
data:
tts_text: <message>
- Open Assist
service: notify.mobile_app_<device>
data:
message: command_activity
data:
intent_package_name: io.homeassistant.companion.android.(minimal)
intent_action: android.intent.action.ASSIST
How do I pass on the answer, a ‘yes’ or ‘no’ to do something (or not)?
Thank you for putting me in the right direction!
For the moment, Assist doesn’t support conversational context.
will35
3
Hello,
Look at this, first attempt with esp32 but work also with intent android assist
Nick4
(Nick)
4
From the topic you are referring to:
Some steps would work, but for:
3: the equivalent for Android that I found is
service: notify.mobile_app_<device>
data:
message: command_activity
data:
intent_package_name: io.homeassistant.companion.android.(minimal)
intent_action: android.intent.action.ASSIST
Do you know any other way?
5: How to close the app?
How would you perform the action, that is: to translate a ‘yes’ answer to an action?
Nick4
(Nick)
5
What seems to work somehow:
In a script:
- TTS
- Delay 2s
- Trigger an automation
The automation (triggered with the ‘yes’ sentence)
action:
- Open Assist
- Delay 5s and say ‘yes’
- Call a service to do what is wanted
But… I get a response from Assist that it could not understand and the Assist app remains open.