Michael Hansen
7923471b94
Intent target matching and media player enhancements ( #115445 )
...
* Working
* Tests are passing
* Fix climate
* Requested changes from review
2024-05-07 22:01:03 -04:00
Paulus Schoutsen
4fce99edb5
Only call conversation should_expose once ( #116891 )
...
Only call should expose once
2024-05-05 21:37:10 -04:00
Paulus Schoutsen
33e9a6bd58
Hide conversation agents that are exposed as agent entities ( #116813 )
2024-05-04 19:09:38 -05:00
Michael Hansen
bc7fa8cf9e
Bump intents to 2024.4.24 ( #116111 )
2024-04-24 18:41:17 +02:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
Paulus Schoutsen
f9a7e6bb9f
Add migration logic to assist_pipeline ( #115172 )
2024-04-08 11:29:55 -04:00
Joost Lekkerkerker
bf142aef5f
Fix ruff error ( #115023 )
2024-04-06 14:13:20 +02:00
Marc Mueller
7898bdcd4e
Improve generic event typing [conversation] ( #114729 )
2024-04-06 14:00:13 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Marc Mueller
3c5089bc3f
Update import for EventStateChangedData [a-h] ( #114899 )
2024-04-04 11:48:36 -10:00
Michael Hansen
1c2499b03a
Add "conversation" key to translations ( #114887 )
...
* Use translated trigger response
* Use conversation key instead
2024-04-04 14:45:27 -05:00
Michael Hansen
26c7e170e9
Bump intents ( #114755 )
2024-04-03 17:27:26 +02:00
Paulus Schoutsen
d2e4f5f36e
Add conversation entity ( #114518 )
...
* Default agent as entity
* Migrate constant to point at new value
* Fix tests
* Fix more tests
* Move assist pipeline back to cloud after dependenceis
2024-04-01 21:34:25 -04:00
Paulus Schoutsen
f01235ef74
Re-organize conversation integration ( #114502 )
...
* Re-organize conversation integration
* Clean up 2 more imports
* Re-export models
* Fix imports
* Uno mas
* Rename agents to models
* Fix cast test that i broke?
* Just blocking till I'm done
* Wrong place
2024-03-31 00:05:25 -04:00
Paulus Schoutsen
fb572b8413
Conversation to unsubscribe when no cache to invalidate ( #114515 )
...
* Add event filter callbacks to conversation
* Unsusbcribe when we have no slot lists
2024-03-30 23:47:13 -04:00
Michael Hansen
d23b22b566
Add initial support for floors to intents ( #114456 )
...
* Add initial support for floors to intents
* Fix climate intent
* More tests
* No return value
* Add requested changes
* Reuse event handler
2024-03-30 16:59:20 -04:00
Michael Hansen
e4d2985589
Bump intents to 2024.3.27 ( #114312 )
2024-03-27 16:43:15 +01:00
Joost Lekkerkerker
500dd9330a
Add service icons to Conversation ( #113286 )
2024-03-14 13:53:14 +01:00
Sid
df03e704f8
Add "language" to strings.json ( #112869 )
2024-03-12 21:49:59 +01:00
Michael Hansen
18a7f004db
Bump intents to 2023.3.12 ( #113160 )
...
Bump intents
2024-03-12 12:45:14 -04:00
Michael Hansen
556855f54e
Add device_id to sentence trigger and external conversation APIs ( #113094 )
...
* Add device_id to sentence trigger and external conversation APIs
* Remove device_id from external API
* Update tests/components/conversation/snapshots/test_init.ambr
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-03-12 08:50:06 -04:00
Marc Mueller
de886d8c49
Update EventBus listen type signatures ( #112760 )
2024-03-08 21:57:23 +01:00
Marc Mueller
cef20506dc
Replace EventType with Event [missing] ( #112753 )
2024-03-08 21:56:42 +01:00
Marc Mueller
25237e0377
Replace EventType with Event [a-g] ( #112739 )
2024-03-08 19:35:17 +01:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Marc Mueller
f3594c543d
Use KEY_HASS [a-g] ( #112609 )
2024-03-07 18:09:20 +01:00
Michael Hansen
457e27ecfd
Bump intents to 2024.3.6 ( #112515 )
2024-03-06 13:47:58 -06:00
Michael Hansen
0985a7ab91
Bump intents and add sentence tests ( #111791 )
2024-02-28 23:25:33 -05:00
Michael Hansen
2681dae60c
Matching duplicate named entities is now an error in Assist ( #110050 )
...
* Matching duplicate named entities is now an error
* Update snapshot
* Only use area id
2024-02-08 19:38:03 -06:00
Michael Hansen
1750f54da4
Assist fixes ( #109889 )
...
* Don't pass entity ids in hassil slot lists
* Use first completed response
* Add more tests
2024-02-07 15:13:42 -06:00
Michael Hansen
c6ea57458c
Pass slots to error messages instead of IDs [rework] ( #109410 )
...
Co-authored-by: tetele <tm.sandu@gmail.com>
2024-02-03 12:14:33 +01:00
Michael Hansen
595dd651bb
Bump intents to 2024.2.2 ( #109412 )
...
Bump intents to 2024.2.2
2024-02-02 20:13:17 -05:00
Michael Hansen
a1eaa5cbf2
Migrate to new intent error response keys ( #109269 )
2024-02-01 21:10:24 +01:00
Michael Hansen
c2c98bd04c
Move default response out of sentence trigger registration and into agent ( #109317 )
...
* Move default response out of trigger and into agent
* Add test
2024-02-01 20:40:29 +01:00
Michael Hansen
9752e70675
Intents package combines sentences/responses per language ( #109079 )
2024-01-30 12:38:29 +01:00
Michael Hansen
61c6c70a7d
Improved Assist debug ( #108889 )
...
* Differentiate builtin/custom sentences and triggers in debug
* Refactor so async_process runs triggers
* Report relative path of custom sentences file
* Add sentence trigger test
2024-01-26 23:04:45 -05:00
Michael Hansen
d8a1c58b12
Fix intent loading and incorporate unmatched entities more ( #108423 )
...
* Incorporate unmatched entities more
* Don't list targets when match is incomplete
* Add test for out of range
2024-01-23 20:31:57 -05:00
Erik Montnemery
9bff039d17
Add set_conversation_response script action ( #108233 )
...
* Add set_conversation_response script action
* Update homeassistant/components/conversation/trigger.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Revert accidental change
* Add test
* Ignore mypy
* Remove incorrect callback decorator
* Update homeassistant/helpers/script.py
* Add test with templated set_conversation_response
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-01-23 09:13:42 -05:00
Michael Hansen
4bb2a3ad92
Specific Assist errors for domain/device class ( #107302 )
...
* Specific errors for domain/device class
* Don't log exception
* Check device class first
* Refactor guard clauses
* Test default error
2024-01-08 12:23:06 -06:00
Michael Hansen
a600a0e023
Expose all areas to Assist and ignore empty aliases ( #107267 )
...
* Expose all areas to Assist
* Skip empty entity/area aliases
2024-01-05 13:45:41 -05:00
Marc Mueller
833cddc8f5
Improve conversation typing ( #106905 )
2024-01-05 18:40:34 +01:00
Michael Hansen
269500cb29
Report missing entities/areas instead of failing to match in Assist ( #107151 )
...
* Report missing entities/areas instead of failing
* Fix test
* Update assist pipeline test snapshots
* Test complete match failure
* Fix conflict
2024-01-04 17:09:20 -06:00
Denis Shulyaka
99bcc38284
Add conversation_id parameter to conversation.process service ( #106078 )
...
* Add conversation_id parameter to conversation.process service
* fix test
* fix tests
2024-01-04 14:46:06 -06:00
Paul Holzinger
11170c6345
Pass down language to hassil ( #106490 )
...
Hassil needs the language to convert numbers, this was added in
https://github.com/home-assistant/hassil/pull/78 . This fixes an
annoying warning from the logs.
Fixes #104760
2024-01-04 14:40:49 -06:00
Michael Hansen
5003993658
Bump intents to 2024.1.2 ( #106909 )
2024-01-02 15:35:48 -06:00
Michael Hansen
fdeb9e36c3
Use area id for context instead of name ( #105313 )
2023-12-08 10:05:21 -06:00
Michael Hansen
3fda43ef33
Bump intents to 2023.12.05 ( #105116 )
2023-12-06 08:14:34 +01:00
Michael Hansen
e10d58ef3e
Bump intents to 2023.11.29 ( #104738 )
2023-11-29 18:52:27 +01:00
Michael Hansen
8c99cf14d3
Context slot decisions moved into hassil ( #104132 )
2023-11-17 11:07:08 -06:00
Michael Hansen
a8acde62ff
Use device area as context during intent recognition ( #103939 )
...
* Use device area as context during intent recognition
* Use guard clauses
2023-11-17 07:34:14 -06:00