core/tests/components
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
..
2023-03-28 14:59:03 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-06-18 15:06:09 -05:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-06-22 18:29:34 -05:00
2023-02-15 14:09:50 +01:00
2023-04-30 20:34:57 +02:00
2023-05-29 23:24:15 +02:00
2023-06-20 09:43:33 +02:00
2023-03-10 12:06:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-25 15:40:46 +02:00
2023-03-02 12:33:04 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-06-20 23:06:26 +02:00
2023-06-19 17:03:48 +02:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-06 13:48:19 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 08:46:16 +02:00
2023-05-26 15:20:46 +02:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-06-08 15:57:49 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-29 11:18:16 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 13:55:44 +01:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-06-10 09:21:33 +02:00
2023-03-22 20:00:47 -04:00
2023-03-28 11:54:16 +02:00
2023-06-12 20:30:15 +02:00
2023-02-15 14:09:50 +01:00
2023-05-26 15:35:06 +02:00
2023-04-12 23:47:37 +02:00
2023-04-12 08:19:01 +02:00
2023-03-04 22:26:16 +01:00
2023-02-17 21:08:18 -05:00
2023-04-30 22:33:51 +02:00
2023-03-22 20:00:47 -04:00
2023-05-21 21:13:59 +02:00
2023-02-15 14:09:50 +01:00
2023-06-08 23:43:56 +02:00
2023-04-20 08:42:22 -10:00
2023-03-26 20:03:03 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00