hass-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 Add kitchen_sink integration (#85592) 2023-01-10 17:31:47 +01:00
air_quality.py
alarm_control_panel.py
binary_sensor.py
button.py
calendar.py
camera.py
climate.py Add support for translating custom attribute state (#83386) 2022-12-21 10:43:49 +01:00
config_flow.py
const.py
cover.py Cleanup supported_features in demo (#82239) 2022-11-17 09:39:46 +01:00
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 Cleanup supported_features in demo (#82239) 2022-11-17 09:39:46 +01:00
geo_location.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
humidifier.py Enforce HumidifierEntityFeature (#82459) 2022-11-22 07:14:19 +01:00
image_processing.py Removes OpenALPR Local integration (#85544) 2023-01-17 10:43:14 +01:00
light.py Adjust supported_features defaults in lights (#82252) 2022-11-17 12:47:08 +01:00
lock.py Update stale docstring on demo lock platform (#86306) 2023-01-20 23:01:32 +01:00
mailbox.py
manifest.json Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
media_player.py Use attributes in demo media player (#78040) 2022-11-28 10:19:47 +01:00
notify.py
number.py Use unit enums in demo (#83130) 2022-12-04 11:21:44 +02:00
remote.py
select.py Migrate Demo translations (#83294) 2022-12-05 08:44:26 -05:00
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 Add text platform (#79454) 2022-11-24 20:01:01 +01:00
tts.mp3
tts.py
update.py
vacuum.py Add support for translating custom attribute state (#83386) 2022-12-21 10:43:49 +01:00
water_heater.py Use unit enums in demo (#83130) 2022-12-04 11:21:44 +02:00
weather.py Use new unit enums in weather entity (#82937) 2022-11-29 18:10:31 +01:00