From 80588d9c67a14fcc5fecbbf5ed33644923742575 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 30 May 2024 12:53:50 -0400 Subject: [PATCH] Ignore the toggle intent (#118491) --- homeassistant/helpers/llm.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/helpers/llm.py b/homeassistant/helpers/llm.py index 535e2af4d04..b749ff23da3 100644 --- a/homeassistant/helpers/llm.py +++ b/homeassistant/helpers/llm.py @@ -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: