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
This commit is contained in:
Erik Montnemery
2023-04-24 20:00:52 +02:00
committed by GitHub
parent 4b619f7251
commit b601fb17d3
11 changed files with 523 additions and 179 deletions

View File

@@ -85,7 +85,7 @@ async def websocket_run(
) -> None:
"""Run a pipeline."""
pipeline_id = msg.get("pipeline")
pipeline = await async_get_pipeline(hass, pipeline_id=pipeline_id)
pipeline = async_get_pipeline(hass, pipeline_id=pipeline_id)
if pipeline is None:
connection.send_error(
msg["id"],