mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
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:
parent
d8d580ad58
commit
3d84c6e21c
@ -51,7 +51,7 @@ async def async_attach_trigger(
|
|||||||
):
|
):
|
||||||
await future
|
await future
|
||||||
|
|
||||||
return None
|
return "Done"
|
||||||
|
|
||||||
default_agent = await _get_agent_manager(hass).async_get_agent(HOME_ASSISTANT_AGENT)
|
default_agent = await _get_agent_manager(hass).async_get_agent(HOME_ASSISTANT_AGENT)
|
||||||
assert isinstance(default_agent, DefaultAgent)
|
assert isinstance(default_agent, DefaultAgent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user