08ded881c6
Normalize empty LLM intent targets ( #179527 )
...
Co-authored-by: New Future <6290356+NewFuture@users.noreply.github.com >
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Co-authored-by: Erwin Douna <e.douna@gmail.com >
Co-authored-by: Michael Hansen <mike@rhasspy.org >
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-09-15 11:05:49 -05:00
Joost Lekkerkerker
ff5bde37e9
Use registry fixtures in tests (4/8) ( #180924 )
2026-08-31 18:52:21 +02:00
Paulus Schoutsen and Claude
207c4f049b
Require LLM tool names to be prefixed with the offering integration's domain ( #179938 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-08-24 07:09:04 +02:00
Erik Montnemery and Artur Pragacz
ad96b06be6
Add child devices ( #178666 )
...
Co-authored-by: Artur Pragacz <artur@pragacz.com >
2026-08-13 13:53:15 +02:00
Joost Lekkerkerker and Markus Tuominen
8e7deee967
Add pylint checker to check for using registries as fixture ( #172455 )
...
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com >
2026-07-22 09:56:23 +03:00
Paulus Schoutsen and Claude Opus 4.8
7043ec06ce
Have the Assist API get its tools and prompt from the llm integration ( #175659 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-09 06:30:17 -04:00
Paulus Schoutsen and Claude Opus 4.8
e2508cffde
Add intent LLM tools platform ( #175517 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-04 18:39:37 -07:00
epenet
397c28b9b6
Use DOMAIN constant in test (async_setup_component h-n) ( #173015 )
2026-06-08 16:28:17 +02:00
Ariel Ebersberger
5432d29489
Use is/is not for same-enum identity comparisons (tests) ( #171689 )
2026-05-22 11:32:27 +02:00
Franck Nijhof
95878222fd
Fix line length violations in tests/components i ( #170958 )
2026-05-17 13:10:09 +02:00
Artur Pragacz and Abílio Costa
6ea9e9a161
Remove targets from intent response ( #165434 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2026-03-18 18:35:30 +00:00
Artur Pragacz
bafef2065f
Rework user-given entity name logic ( #162763 )
2026-03-17 11:09:20 +01:00
Artur Pragacz
a465905467
Remove speech parameter from service intent handler ( #165225 )
2026-03-13 18:57:16 -05:00
Michael Hansen and Artur Pragacz
3858d557b3
Add missing parameters from handle REST API ( #164687 )
...
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
2026-03-05 11:48:57 -06:00
b9bfbc9e98
Validate conversation_command in start timer intent ( #149915 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
2026-02-08 19:56:07 +01:00
Ezra Freedman and Artur Pragacz
c9351a022e
Add HassStopMoving intent for covers and valves ( #155267 )
...
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
2025-12-04 22:23:49 +01:00
Michael Hansen
f4e0b9ba15
Handle match failures in intent HTTP API ( #151726 )
2025-09-05 10:28:37 +02:00
epenet
c3ade400fb
Use Platform constant in tests ( #145801 )
...
* Use Platform constant in tests
* spelling
* Fix platform
2025-05-28 15:51:37 +02:00
Paulus Schoutsen
8048d2bfb8
Fix intent TurnOn creating stack trace for buttons ( #144205 )
2025-05-04 09:00:40 -07:00
Michael Hansen
49c27ae7bc
Check area temperature sensors in get temperature intent ( #139221 )
...
* Check area temperature sensors in get temperature intent
* Fix candidate check
* Add new code back in
* Remove cruft from climate
2025-02-28 13:02:30 -05:00
Michael Hansen
fca19a3ec1
Move climate intent to homeassistant integration ( #139371 )
...
* Move climate intent to homeassistant integration
* Move get temperature intent to intent integration
* Clean up old test
2025-02-28 10:25:38 -05:00
Michael Hansen
f06fda8023
Add response slot to HassRespond intent ( #133162 )
2024-12-13 15:19:43 -05:00
Michael Hansen
192ffc09ee
Add area slot to response for cancel all timers ( #131638 )
...
Add area slot to response
2024-11-26 10:58:39 -06:00
Jan-Philipp Benecke
1a71fbe427
Add intent to cancel all timers ( #130873 )
...
* Add intent to cancel all timers
* Add intent to llm test
2024-11-26 09:59:41 -06:00
Michael Hansen
901457e7aa
Bump intents and add HassRespond test ( #129830 )
2024-11-05 22:22:49 +01:00
Alberto Montes and epenet
5d2f8319b1
Update string formatting to use f-string on tests ( #125986 )
...
* Update string formatting to use f-string on tests
* Update test_package.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update statement given feedback
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2024-09-19 10:32:38 +02:00
Michael Hansen
d515a7f063
Add created_seconds to timer info and pass to ESPHome devices ( #120364 )
2024-06-26 14:20:11 +02:00
Michael Hansen
d3ceaef098
Allow timer management from any device ( #120440 )
2024-06-26 09:06:56 +02:00
Michael Hansen
6d917f0242
Don't run timer callbacks for delayed commands ( #120367 )
...
* Don't send timer events for delayed commands
* Don't run timer callbacks for delayed commands
2024-06-24 16:21:51 -04:00
Paulus Schoutsen
3c08a02ecf
Update cover intent response ( #119756 )
...
* Update cover response
* Fix intent test
2024-06-18 15:54:08 +02:00
epenet
c70cfbb535
Fix arguments-renamed pylint warning in tests ( #119473 )
2024-06-12 12:25:29 +02:00
Michael Hansen
3ffbbcfa5c
Allow delayed commands to not have a device id ( #118390 )
2024-05-29 12:39:41 -04:00
Michael Hansen and Paulus Schoutsen
d223e1f2ac
Add Conversation command to timers ( #118325 )
...
* Add Assist command to timers
* Rename to conversation_command. Execute in timer code.
* Make agent_id optional
* Fix arg
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-05-28 20:33:31 -05:00
Michael Hansen
9e1676bee4
Filter timers more when pausing/unpausing ( #118331 )
2024-05-28 19:36:34 -04:00
Paulus Schoutsen
4a3808c08e
Don't crash when firing event for timer for unregistered device ( #118132 )
2024-05-26 13:08:00 +02:00
Paulus Schoutsen
ffc3560dad
Remove unneeded asserts ( #118056 )
...
* Remove unneeded asserts
* No need to guard changing a timer that is owned by a disconnected device
2024-05-24 14:56:57 -04:00
Michael Hansen
5be15c94bc
Require registered device id for all timer intents ( #117946 )
...
* Require device id when registering timer handlers
* Require device id for timer intents
* Raise errors for unregistered device ids
* Add callback
* Add types for callback to __all__
* Clean up
* More clean up
2024-05-24 12:55:52 -05:00
Michael Hansen and Paulus Schoutsen
f99ec87338
Fail if targeting all devices in the house in service intent handler ( #117930 )
...
* Fail if targeting all devices in the house
* Update homeassistant/helpers/intent.py
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-05-22 13:53:31 -04:00
Michael Hansen
e168cb96e9
Add area filter and rounded time to timers ( #117527 )
...
* Add area filter
* Add rounded time to status
* Fix test
* Extend test
* Increase test coverage
2024-05-16 09:45:14 -05:00
Michael Hansen
d441a62aa6
Remove "device_id" slot from timers ( #117460 )
...
Remove "device_id" slot
2024-05-14 15:48:24 -04:00
Michael Hansen
add6ffaf70
Add Assist timers ( #117199 )
...
* First pass at timers
* Move to separate file
* Refactor to using events
* Add pause/unpause/status
* Add ordinal
* Add test for timed Assist command
* Fix name matching
* Fix IntentHandleError
* Fix again
* Refactor to callbacks
* is_paused -> is_active
* Rename "set timer" to "start timer"
* Move tasks to timer manager
* More fixes
* Remove assist command
* Remove cancel by ordinal
* More tests
* Remove async on callbacks
* Export async_register_timer_handler
2024-05-14 14:42:32 -04:00
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
Michael Hansen and Paulus Schoutsen
0d0b64d351
Move HassSetPosition to homeassistant domain ( #111867 )
...
* Move HassSetPosition to homeassistant domain
* Add test for unsupported domain with HassSetPosition
* Split service intent handler
* cleanup
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-02-29 21:53:52 -05: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
Jan-Philipp Benecke
92b3c0c96b
Update i-j* tests to use entity & device registry fixtures ( #103900 )
2023-11-13 11:51:55 +01:00
Tudor Sandu
66dd3b153d
Support HassTurnOn/Off intents for lock domain ( #93231 )
...
* Support HassTurnOn/Off intents for lock domain
Fix https://github.com/home-assistant/intents/issues/1347
* Added tests
* Linting changes
* Linting
2023-11-01 09:46:13 -05:00
epenet
54f709f704
Adjust registry access in intent ( #88881 )
2023-02-28 21:58:19 -05:00
epenet
ea29cdfe83
Add type hints to integration tests (part 12) ( #87997 )
2023-02-13 13:03:51 +01:00
Michael Hansen
8cd5106c15
Add HassGetState intent for queries ( #87808 )
...
* Use names instead of entity ids for list
* Add HassGetState for Assist queries
* Add unknown area to test
* Clean up and test device classes
2023-02-09 23:39:46 -05:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00