core/homeassistant/components/conversation
Michael Hansen d811fa0e74
Sentence trigger (#94613)
* Add async_register_trigger_sentences for default agent

* Add trigger response and trigger handler

* Check callback in test

* Clean up and move response to callback

* Add trigger test

* Drop TriggerAction

* Test we pass sentence to callback

* Match triggers once, allow multiple sentences

* Don't use trigger id

* Use async callback

* No response for now

* Use asyncio.gather for callback responses

* Fix after rebase

* Use a list for trigger sentences

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-22 18:29:34 -05:00
..
__init__.py Add websocket command to test intent recognition for default agent (#94674) 2023-06-22 12:24:59 -04:00
agent.py Pass device ID to conversation input (#93867) 2023-05-31 16:56:12 -04:00
const.py Allow exposing any entity to the default conversation agent (#92398) 2023-05-03 09:45:54 -04:00
default_agent.py Sentence trigger (#94613) 2023-06-22 18:29:34 -05:00
manifest.json Bump intents to 2023.6.5 (#94077) 2023-06-05 19:49:01 +02:00
services.yaml Add support for multiple conversation agents (#87337) 2023-02-03 23:35:29 -05:00
strings.json
trigger.py Sentence trigger (#94613) 2023-06-22 18:29:34 -05:00
util.py