Use "Done" as a default response for sentence triggers (#95463)

* Use "Done" as a default response for sentence triggers

* Move response to trigger callback
This commit is contained in:
Michael Hansen 2023-06-28 11:34:55 -05:00 committed by GitHub
parent d8d580ad58
commit 3d84c6e21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ async def async_attach_trigger(
):
await future
return None
return "Done"
default_agent = await _get_agent_manager(hass).async_get_agent(HOME_ASSISTANT_AGENT)
assert isinstance(default_agent, DefaultAgent)