Paulus Schoutsen
2266e97417
Add a test for Assist Pipeline streaming deltas to TTS ( #144711 )
...
* Add a test for Assist Pipeline streaming deltas to TTS
* Adjust tests to new TTS engine
2025-05-12 12:15:05 -04:00
Paulus Schoutsen
90fc6ffdbf
Add support for continue conversation in Assist Pipeline ( #139480 )
...
* Add support for continue conversation in Assist Pipeline
* Also forward to ESPHome
* Update snapshot
* And mobile app
2025-02-28 13:15:31 -06:00
Erik Montnemery
428cc1a951
Update signature of platforms' async_setup_entry in tests ( #138271 )
2025-02-11 13:17:39 +01:00
Erik Montnemery
cff4e46694
Deduplicate TTS mocks ( #124773 )
2024-08-28 13:48:49 +02:00
Erik Montnemery
1add00a68d
Deduplicate STT mocks ( #124754 )
2024-08-28 09:25:56 +02:00
epenet
3e967700fd
Add missing return type in test __init__ method (part 2) ( #123939 )
...
* Add missing return type in test __init__ method (part 2)
* Adjust
* One more
* One more
* More
2024-08-14 17:59:15 +02:00
epenet
ba54a19d4b
Simplify mock_tts_cache_dir_autouse fixture ( #123783 )
2024-08-13 18:01:06 +02:00
Michael Hansen
80aa2c269b
Standardize assist pipelines on 10ms chunk size ( #123024 )
...
* Make chunk size always 10ms
* Fix voip
2024-08-01 22:39:17 +02:00
Marc Mueller
2f0dd6f704
Import Generator from collections.abc (2) ( #120915 )
2024-07-01 11:58:49 +02:00
epenet
9008b4295c
Improve type hints in assist_pipeline tests ( #119066 )
2024-06-07 12:39:25 -05:00
Marc Mueller
279483ddb0
Import Generator from typing_extensions (2) ( #118989 )
2024-06-06 17:24:22 +02:00
epenet
f178467b0e
Add type hints for TTS test fixtures ( #118704 )
2024-06-03 17:43:18 +02:00
epenet
8837c50da7
Use registry fixtures in tests (a-h) ( #118288 )
2024-05-28 13:15:16 +02:00
Michael Hansen
6fafb9c9b4
Filter preferred TTS format options if not supported ( #114392 )
...
Filter preferred format options if not supported
2024-03-28 11:09:15 -05:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Michael Hansen
f6622ea8e0
Add speech-to-text cooldown for local wake word ( #108806 )
...
* Deconflict based on wake word
* Undo test
* Make wake up key a string, rename error
* Update snapshot
* Change to "wake word phrase" and normalize
* Move normalization into the wake provider
* Working on describe
* Use satellite info to resolve wake word phrase
* Add test for wake word phrase
* Match phrase with model name in wake word provider
* Check model id
* Use one constant wake word cooldown
* Update homeassistant/components/assist_pipeline/error.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Fix wake word tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-02-26 20:35:19 -05:00
Paulus Schoutsen
f1d2868fd0
Add API to fetch Assist devices ( #107333 )
...
* Add API to fetch Assist devices
* Revert some changes to fixture, make a single fixture for an Assist device
2024-01-05 23:30:18 -05:00
Michael Hansen
a52761171f
No cooldown when wake words have the same id ( #101846 )
...
* No cooldown when wake words have the same id
* Use wake word entity id in cooldown decision
2023-10-23 13:12:34 -04:00
Michael Hansen
257686fcfe
Dynamic wake word loading for Wyoming ( #101827 )
...
* Change supported_wake_words property to async method
* Add test
* Add timeout + test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-10-11 10:21:32 -07:00
Erik Montnemery
734c4e8e32
Rename WakeWord.ww_id to WakeWord.id ( #100903 )
...
* Rename WakeWord.ww_id to WakeWord.wake_word_id
* Revert unrelated changes
* Rename to id
* Correct rebase
2023-09-26 19:12:16 +02:00
Paulus Schoutsen
23b239ba77
Allow passing a wake word ID to detect wake word ( #100832 )
...
* Allow passing a wake word ID to detect wake word
* Do not inject default wake words in wake_word integration
2023-09-25 15:33:54 +02:00
Michael Hansen
054a63c3a2
Add option to save Assist pipeline audio ( #98928 )
...
* Add pipeline option to save wake/stt audio to media
* Add debug_recording_dir to assist_pipeline YAML config
* Clean up and additional tests
* Remove I/O in event loop
* Organize saved audio by pipeline name and device id
* Record wake/stt debug audio in separate thread
* Fix after rebase
* Use timestamp instead of pipeline id for directory name
* Add WAV write error test
* Join thread in executor
2023-08-29 23:07:27 -04:00
Michael Hansen
7ea2998b55
Add wake word integration ( #96380 )
...
* Add wake component
* Add wake support to Wyoming
* Add helper function to assist_pipeline (not complete)
* Rename wake to wake_word
* Fix platform
* Use send_event and clean up
* Merge wake word into pipeline
* Add wake option to async_pipeline_from_audio_stream
* Add start/end stages to async_pipeline_from_audio_stream
* Add wake timeout
* Remove layer in wake_output
* Use VAD for wake word timeout
* Include audio metadata in wake-start
* Remove unnecessary websocket command
* wake -> wake_word
* Incorporate feedback
* Clean up wake_word tests
* Add wyoming wake word tests
* Add pipeline wake word test
* Add last processed state
* Fix tests
* Add tests for wake word
* More tests for the codebot
2023-08-07 22:22:16 -04:00
Paulus Schoutsen
65b62d877d
Keep track what devices support Assist features ( #93990 )
2023-06-03 08:26:28 -05:00
Erik Montnemery
30d9d7d905
Minor adjustment of tts typing ( #93450 )
2023-05-24 21:02:55 +02:00
Erik Montnemery
68379dd55a
Improve TTS cache dir mocking ( #93468 )
2023-05-24 21:00:35 +02:00
Erik Montnemery
f8f7de5d5a
Remove homeassistant from conversation dependencies ( #92170 )
...
* Remove homeassistant from conversation dependencies
* Fix tests
2023-04-28 18:17:48 +02:00
Erik Montnemery
b601fb17d3
Create a default assist pipeline on start ( #91947 )
...
* Create a default assist pipeline on start
* Minor adjustments
* Address review comments
* Remove tts.async_get_agent
* Fix bugs, improve test coverage
2023-04-24 14:00:52 -04:00
Paulus Schoutsen
a203149133
Allow entity names for STT entities ( #91932 )
...
* Allow entity names for STT entities
* Fix tests
2023-04-23 23:06:34 -04:00
Martin Hjelmare
1a18dc7425
Add tts entity ( #91692 )
...
* Add tts entity
* Allow passing engine id to url view
* Update async_resolve_engine
* Add and update more tests
* Fix assist pipeline tests temporarily
* Move fixtures
* Update notify platform
* Complete legacy tests
* Update media source tests
* Update async_get_text_to_speech_languages
* Address comment
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-20 22:55:46 -04:00
Erik Montnemery
a98be9dc84
Test specifying pipeline in calls to async_pipeline_from_audio_stream ( #91739 )
2023-04-20 09:01:31 -04:00
Paulus Schoutsen
bd22e0bd43
Allow picking a pipeline for voip devices ( #91524 )
...
* Allow picking a pipeline for voip device
* Add tests
* Fix test
* Adjust on new pipeline data
2023-04-17 12:09:11 -05:00
Erik Montnemery
4e80154ebe
Rename voice_assistant to assist_pipeline ( #91371 )
...
* Rename voice_assistant to assist_pipeline
* Fix tests
* Fix voip test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-04-13 17:25:38 -04:00