core/homeassistant/components/demo
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
air_quality.py
alarm_control_panel.py
binary_sensor.py
button.py
calendar.py
camera.py
climate.py
config_flow.py
const.py
cover.py
demo_0.jpg
demo_0.png
demo_1.jpg
demo_1.png
demo_2.jpg
demo_2.png
demo_3.jpg
demo_3.png
device_tracker.py
fan.py
geo_location.py
humidifier.py
image_processing.py
light.py
lock.py
mailbox.py
manifest.json
media_player.py
notify.py
number.py
remote.py
select.py
sensor.py Support translating entity names (#88242) 2023-03-12 15:55:04 +01:00
services.yaml
siren.py
strings.json Support translating entity names (#88242) 2023-03-12 15:55:04 +01:00
stt.py Add speech to text over binary websocket to pipeline (#90082) 2023-03-23 14:44:19 -04:00
switch.py
text.py
tts.mp3
tts.py
update.py
vacuum.py
water_heater.py
weather.py