hass-core/homeassistant/components/cloud
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
..
__init__.py Fix lingering timer in bootstrap tests (#89790) 2023-03-16 17:20:27 -04:00
account_link.py Enable Ruff SIM300 (#86793) 2023-01-30 11:03:23 +01:00
alexa_config.py Fix cloud integration with py3.11 (#88088) 2023-02-14 11:31:52 -05:00
binary_sensor.py Move EntityCategory to homeassistant.const (#87792) 2023-02-09 20:15:37 +01:00
client.py String formatting and max line length - Part 1 (#84390) 2022-12-22 10:12:50 +01:00
const.py Drop unused Google entity settings from cloud (#89786) 2023-03-16 11:15:38 +01:00
google_config.py Improve type hints in cloud (#87263) 2023-02-03 17:10:25 +01:00
http_api.py Drop unused Google entity settings from cloud (#89786) 2023-03-16 11:15:38 +01:00
manifest.json Update hass-nabucasa to 0.62.0 (#90085) 2023-03-22 13:24:28 +01:00
prefs.py Drop unused Google entity settings from cloud (#89786) 2023-03-16 11:15:38 +01:00
repairs.py Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
services.yaml Add targets and selectors for services (B-C) (#50189) 2021-05-14 13:38:41 +02:00
strings.json Add repair for legacy subscription to cloud integration (#82621) 2022-11-28 23:35:24 +01:00
stt.py Add speech to text over binary websocket to pipeline (#90082) 2023-03-23 14:44:19 -04:00
subscription.py String formatting and max line length - Part 1 (#84390) 2022-12-22 10:12:50 +01:00
system_health.py Bump hass-nabucasa from 0.56.0 to 0.59.0 (#82987) 2022-12-01 09:08:39 +01:00
tts.py Update hass-nabucasa to 0.62.0 (#90085) 2023-03-22 13:24:28 +01:00