J. Nick Koston
719d373bd7
Move legacy stt setup to use tracked tasks ( #113718 )
...
* Move legacy stt setup to use tracked tasks
* comment
2024-03-18 13:10:12 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Marc Mueller
8ca127df2a
Use KEY_HASS [h-z] ( #112610 )
2024-03-07 18:03:44 +01:00
Erik Montnemery
589fd58137
Use loader.async_suggest_report_issue in stt ( #101390 )
2023-10-05 19:57:21 +02:00
Martin Hjelmare
0b383067ef
Move non legacy stt models out from legacy module ( #99582 )
2023-09-04 16:51:57 -04:00
Erik Montnemery
ce9a0059d1
Add empty config schema to stt ( #93954 )
2023-06-02 06:07:44 -04: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
792ea92e55
Remove fuzzy language matching from stt and tts ( #92002 )
...
* Remove fuzzy language matching from stt and tts
* Update tests
2023-04-25 17:54:42 +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
Erik Montnemery
768c499b6f
Include matching languages in WS stt/engine/list ( #91731 )
...
* Include matching languages in WS stt/engine/list
* Allow specifying country
2023-04-20 08:57:48 -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
Michael Hansen
f96515b90a
Use language util in stt/tts ( #91521 )
...
* Use language util in stt/tts
* Test language util in stt/tts
* Fix common in TTS
* Update snapshot
2023-04-17 23:23:43 -04:00
Erik Montnemery
b5817e40f7
Add WS API to stt
( #91329 )
2023-04-17 22:09:30 +02:00
Martin Hjelmare
473cbf7f9b
Add stt entity ( #91230 )
...
* Add stt entity
* Update demo platform
* Rename ProviderEntity to SpeechToTextEntity
* Fix get method
* Run all init tests for config entry setup
* Fix and test metadata from header
* Test config entry unload
* Rename get provider entity
* Test post for non existing provider
* Test entity name before addition
* Test restore state
* Use register shutdown
* Update deprecation comment
2023-04-13 13:58:35 -04:00
Martin Hjelmare
535fb34207
Move legacy stt ( #90776 )
...
* Move legacy stt to separate module
* Remove case for None as provider
* Add error log for unknown platform
* Add some tests
2023-04-04 14:52:36 +02:00
Paulus Schoutsen
01a05340c6
Voice Assistant: improve error handling ( #90541 )
...
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2023-03-31 14:04:22 -05:00
Michael Hansen
3e3ece4e56
Add speech to text over binary websocket to pipeline ( #90082 )
...
* Allow passing binary to the WS connection
* Expand test coverage
* Test non-existing handler
* Add text to speech and stages to pipeline
* Default to "cloud" TTS when engine is None
* Refactor pipeline request to split text/audio
* Refactor with PipelineRun
* Generate pipeline from language
* Clean up
* Restore TTS code
* Add audio pipeline test
* Clean TTS cache in test
* Clean up tests and pipeline base class
* Stop pylint and pytest magics from fighting
* Include mock_get_cache_files
* Working on STT
* Preparing to test
* First successful test
* Send handler_id
* Allow signaling end of stream using empty payloads
* Store handlers in a list
* Handle binary handlers raising exceptions
* Add stt/tts dependencies to voice_assistant
* Include STT audio in pipeline test
* Working on tests
* Refactoring with stages
* Fix tests
* Add more tests
* Add method docs
* Change stt demo/cloud to AsyncIterable
* Add pipeline error events
* Move handler id to separate message before pipeline
* Add test for invalid stage order
* Change "finish" to "end"
* Use enum
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-23 14:44:19 -04:00
Franck Nijhof
cf5fca0464
Code styling tweaks to core entity components ( #85460 )
2023-01-08 13:40:08 -10:00
Paulus Schoutsen
5774664234
Clean up Speech-to-text integration and add tests ( #79012 )
2022-09-24 09:58:01 +02:00
epenet
253d355526
Remove unused mypy ignore statements ( #78292 )
2022-09-12 09:25:11 -04:00
epenet
3e4883b175
Remove stt from mypy ignore list ( #64468 )
2022-01-20 09:49:34 +01:00
Ville Skyttä
939fde0a50
ConfigType and async_setup/setup type hint improvements ( #54739 )
2021-08-18 13:22:05 +02:00
jan iversen
2e084f260e
Rename HomeAssistantType —> HomeAssistant, integrations s* - t* ( #49550 )
2021-04-22 16:21:38 +02:00
Marc Mueller
a3cd1854f6
Update typing 12 ( #48073 )
2021-03-18 14:31:38 +01:00
Ville Skyttä
a6358430b4
Fix deprecated asyncio.wait use with coroutines ( #44981 )
...
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00
springstan
0d95eff21d
Use dict literals ( #33658 )
2020-04-04 22:31:56 +02:00
Pascal Vizeli
005a1b2713
Add additional support over NC ( #28527 )
...
* Add voice support over NC
* Add disocery support for TTS / STT
* fix cloud TTS discovery
* Fix dev config
* Fix discovery
* Bump hass-nabucasa 0.25
* Add channel support
* Fix lint
* Update homeassistant/components/cloud/__init__.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* bump hass-nabucasa
* Update tts.py
* fix lint
2019-11-05 22:39:15 +01:00
Paulus Schoutsen
83a9f4ddb8
rate is a separate word ( #28535 )
2019-11-04 14:01:10 -08:00
Pascal Vizeli
99c0559a0c
Speech to Text component ( #28434 )
...
* Initial commit for STT
* Fix code review
2019-11-04 13:10:42 +01:00