Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Michael Hansen
b70a67404b
Check end stage as well when preparing pipeline ( #95303 )
2023-06-26 16:36:02 -05:00
Michael Hansen
0f08e6699c
Add VAD sensitivity to ESPHome ( #95283 )
...
* Change to "finished speaking detection"
* Add select entity to ESPHome for finished speaking detection
* Fix entity name
* Use vad select in stt stream
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 16:47:32 -04:00
Michael Hansen
65454c945d
Add VAD sensitivity option to VoIP devices ( #94688 )
...
* Add VAD sensitivity option to VoIP devices
* Use select entitiy for VAD sensitivity
* Add sensitivity to tests
* Add to assist pipeline tests
* Update homeassistant/components/assist_pipeline/select.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update tests/components/voip/test_voip.py
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-23 23:28:13 -04:00
Paulus Schoutsen
c42d0feec1
Allow passing in device_id to pipeline run WS API ( #95139 )
2023-06-23 21:29:56 -05:00
Paulus Schoutsen
65b62d877d
Keep track what devices support Assist features ( #93990 )
2023-06-03 08:26:28 -05:00
Paulus Schoutsen
cd330a2740
Pass device ID to conversation input ( #93867 )
2023-05-31 16:56:12 -04:00
Paulus Schoutsen
927b59fe5a
Simplify get pipeline method ( #93865 )
2023-05-31 10:06:03 -05:00
c0ffeeca7
c3a3ddcfa4
Standardize spelling of TTS and STT ( #93857 )
...
* Standardize spelling of TTS and STT
* Apply suggestions from code review
* Update homeassistant/components/tts/media_source.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-05-31 11:00:19 -04:00
Erik Montnemery
8053073a77
Add empty config schema to integrations a-c ( #93608 )
2023-05-29 14:38:33 -04:00
Erik Montnemery
887e656570
Small improvement of assist_pipeline test coverage ( #92115 )
2023-05-04 19:01:41 +02:00
Paulus Schoutsen
7c696754ed
Use pipeline ID in event ( #92100 )
...
* Use pipeline ID in event
* Fix tests
2023-04-26 22:40:17 -04:00
Paulus Schoutsen
ddc2807361
Fix capitalization names Assist entities ( #92098 )
...
* Fix capitalization names Assist entities
* Adjust names to be 'in progress'
* Update tests/components/esphome/test_binary_sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-26 22:13:21 -04:00
Erik Montnemery
2750a5c3e6
Make assist_pipeline an after dependency of cloud ( #92057 )
2023-04-26 13:45:32 +02:00
Erik Montnemery
57a59d808b
Automaticially create an assist pipeline using cloud stt + tts ( #91991 )
...
* Automaticially create an assist pipeline using cloud stt + tts
* Return the id of the cloud enabled pipeline
* Wait for platforms to load
* Fix typing
* Fix startup race
* Update tests
* Create a cloud pipeline only when logging in
* Fix tests
* Tweak _async_resolve_default_pipeline_settings
* Improve assist_pipeline test coverage
* Improve cloud test coverage
2023-04-25 20:40:01 -05:00
Erik Montnemery
8e70446ef8
Tweak a couple of `stt` and `tts` related asserts ( #92012 )
...
Tweak a couple of stt and tts related asserts
2023-04-25 11:50:37 -05: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
Erik Montnemery
a956f16f73
Suppress pylint error related to audioop deprecation ( #91950 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-24 16:56:20 +02:00
Erik Montnemery
1c3e1d2e13
Don't resolve default tts engine in assist pipelines ( #91943 )
...
* Don't resolve default tts engine in assist pipelines
* Set tts engine when creating default pipeline
* Update tests
2023-04-24 14:40:11 +02:00
Erik Montnemery
c5d0c392a9
Don't resolve default stt engine in assist pipelines ( #91936 )
...
* Don't resolve default stt engine in assist pipelines
* Apply suggestion from code review
* Add tests
* Tweak
* Add test
* Improve test coverage
2023-04-24 13:37:13 +02: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
Paulus Schoutsen
f4df0ca50a
Assist pipeline to use configured values ( #91901 )
...
* Assist pipeline to use configured values
* Include voice in TTS-START event
* Use correct tts language var
* More vars
* Apply suggestions from code review
* Update
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-04-23 12:48:11 -04:00
Marc Mueller
06520217bc
Update pylint to 2.17.2 ( #91894 )
2023-04-23 14:46:48 +02:00
Paulus Schoutsen
1eef4af493
Use configured voice in TTS output for assist pipeline ( #91878 )
2023-04-22 22:01:32 -04:00
Erik Montnemery
0525ce59d7
Add additional parameters to assist pipelines ( #91619 )
...
* Add additional parameters to assist pipelines
* Improve WS schema validation
* Tweak
* Add test
* Address review comments
2023-04-20 11:02:55 -04:00
Erik Montnemery
af193094b5
Add WS command for getting an assist pipeline ( #91725 )
...
* Add WS command for getting an assist pipeline
* Return preferred pipeline if none is specified
2023-04-20 09:15:19 -04:00
Erik Montnemery
6d619579b4
Add WS API for listing languages supported by a full assist pipeline ( #91669 )
...
* Add WS API for listing languages supported by a full assist pipeline
* Address review comments, change logic
2023-04-20 08:55:17 -04:00
Erik Montnemery
03dcb915e3
Add missing callback decorator on StorageCollectionWebsocket.ws_list_item ( #91727 )
2023-04-20 07:58:11 -04:00
Erik Montnemery
4e0b8a7363
Allow complex schemas for validating WS commands ( #91655 )
2023-04-19 11:37:09 -04:00
Erik Montnemery
5e9bbeb4ad
Refactor conversation agent WS API for listing agents ( #91590 )
...
* Refactor conversation agent WS API for listing agents
* Add conversation/agent/info back
2023-04-19 10:53:24 -04:00
Erik Montnemery
090f59aaa2
Make context a mandatory parameter for async_pipeline_from_audio_stream ( #91658 )
2023-04-19 09:30:29 -04:00
Michael Hansen
6b5e82ed40
Support both stt entity and legacy providers ( #91633 )
2023-04-18 16:59:06 -05:00
Erik Montnemery
bdffb1f298
Drop language parameter from async_get_pipeline ( #91612 )
2023-04-18 18:07:20 +02:00
Erik Montnemery
10606c4d1e
Use the preferred assist pipeline if none was specified ( #91611 )
...
* Use the preferred assist pipeline if none was specified
* Add test
2023-04-18 17:35:33 +02:00
Erik Montnemery
016e051db6
Add timestamp to pipeline runs ( #91599 )
...
* Add timestamp to pipeline runs
* Include the timestamp in the list
2023-04-18 10:43:46 -04:00
Michael Hansen
95d16c9829
VoIP audio queue ( #91577 )
...
* Clear audio queue after every conversation turn
* Stream STT audio when voice command starts
2023-04-17 22:51:14 -04:00
Bram Kragten
c6b4c88355
Fix pipeline select ( #91570 )
...
Fix pipline select
2023-04-17 18:55:38 -04:00
Bram Kragten
e3ff7d048a
Make tts/stt/conversation optional on pipeline ( #91555 )
2023-04-17 20:54:04 +02: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
0ecd23baee
Add WS API for debugging previous assist_pipeline runs ( #91541 )
...
* Add WS API for debugging previous assist_pipeline runs
* Improve typing
2023-04-17 11:48:02 -04:00
Erik Montnemery
8c1c7e1e4c
Remove PipelineEvent.as_dict ( #91546 )
2023-04-17 16:33:53 +02:00
Erik Montnemery
3367e86686
Enable strict typing of assist_pipeline ( #91529 )
2023-04-17 10:32:14 +02:00
Erik Montnemery
8f8a398631
Support marking an assist pipeline as preferred ( #91418 )
...
* Support marking an assist pipeline as preferred
* Adjust
* Revert unneeded change
* Send preferred pipeline id in pipeline list
* Don't use property functions for the preferred pipeline
2023-04-15 10:05:46 -04: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