Ignore the toggle intent (#118491)

This commit is contained in:
Paulus Schoutsen 2024-05-30 12:53:50 -04:00
parent e3ddbb2768
commit eb887a707c

View File

@ -206,10 +206,11 @@ class AssistAPI(API):
"""API exposing Assist API to LLMs."""
IGNORE_INTENTS = {
intent.INTENT_NEVERMIND,
intent.INTENT_GET_STATE,
INTENT_GET_WEATHER,
INTENT_GET_TEMPERATURE,
INTENT_GET_WEATHER,
intent.INTENT_GET_STATE,
intent.INTENT_NEVERMIND,
intent.INTENT_TOGGLE,
}
def __init__(self, hass: HomeAssistant) -> None: