Skip to content

Commit 4472dc5

Browse files
authored
Don't filter nevermind for fallback (#141294)
1 parent 9fdb69c commit 4472dc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

homeassistant/components/assist_pipeline/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def validate_language(data: dict[str, Any]) -> Any:
125125
@callback
126126
def _async_local_fallback_intent_filter(result: RecognizeResult) -> bool:
127127
"""Filter out intents that are not local fallback."""
128-
return result.intent.name in (intent.INTENT_GET_STATE, intent.INTENT_NEVERMIND)
128+
return result.intent.name in (intent.INTENT_GET_STATE)
129129

130130

131131
@callback

tests/components/assist_pipeline/test_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def test_fallback_intent_filter() -> None:
684684
entities_list=[],
685685
)
686686
)
687-
is True
687+
is False
688688
)
689689
assert (
690690
_async_local_fallback_intent_filter(

0 commit comments

Comments
 (0)