Changed assistant stop_conv logic on match
This commit is contained in:
parent
0e6de85b8d
commit
f6d16366eb
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class SpeechRecognizedEvent(AssistantEvent):
|
|||
|
||||
def matches_condition(self, condition):
|
||||
result = super().matches_condition(condition)
|
||||
if result.is_match and self._assistant and not condition.priority:
|
||||
if result.is_match and self._assistant and 'phrase' in condition.args:
|
||||
self._assistant.stop_conversation()
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue