mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Custom sentence triggers should be marked as processed locally (#145704)
* Mark custom sentence triggers a local agent * Don't change agent ID * adds tests to confirm processed_locally is True * move asserts to after null check
This commit is contained in:
@ -1119,6 +1119,7 @@ class PipelineRun:
|
||||
) is not None:
|
||||
# Sentence trigger matched
|
||||
agent_id = "sentence_trigger"
|
||||
processed_locally = True
|
||||
intent_response = intent.IntentResponse(
|
||||
self.pipeline.conversation_language
|
||||
)
|
||||
|
Reference in New Issue
Block a user