mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Don't filter nevermind for fallback (#141294)
This commit is contained in:
parent
9fdb69c558
commit
4472dc533d
@ -125,7 +125,7 @@ SAVE_DELAY = 10
|
||||
@callback
|
||||
def _async_local_fallback_intent_filter(result: RecognizeResult) -> bool:
|
||||
"""Filter out intents that are not local fallback."""
|
||||
return result.intent.name in (intent.INTENT_GET_STATE, intent.INTENT_NEVERMIND)
|
||||
return result.intent.name in (intent.INTENT_GET_STATE)
|
||||
|
||||
|
||||
@callback
|
||||
|
@ -684,7 +684,7 @@ def test_fallback_intent_filter() -> None:
|
||||
entities_list=[],
|
||||
)
|
||||
)
|
||||
is True
|
||||
is False
|
||||
)
|
||||
assert (
|
||||
_async_local_fallback_intent_filter(
|
||||
|
Loading…
x
Reference in New Issue
Block a user