mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Ignore deprecated open and close cover intents for LLMs (#118515)
This commit is contained in:
parent
a5dc4cb1c7
commit
6d82cfa91a
@ -19,6 +19,7 @@ async def async_setup_intents(hass: HomeAssistant) -> None:
|
||||
DOMAIN,
|
||||
SERVICE_OPEN_COVER,
|
||||
"Opened {}",
|
||||
description="Opens a cover",
|
||||
platforms={DOMAIN},
|
||||
),
|
||||
)
|
||||
@ -29,6 +30,7 @@ async def async_setup_intents(hass: HomeAssistant) -> None:
|
||||
DOMAIN,
|
||||
SERVICE_CLOSE_COVER,
|
||||
"Closed {}",
|
||||
description="Closes a cover",
|
||||
platforms={DOMAIN},
|
||||
),
|
||||
)
|
||||
|
@ -14,6 +14,7 @@ from homeassistant.components.conversation.trace import (
|
||||
ConversationTraceEventType,
|
||||
async_conversation_trace_append,
|
||||
)
|
||||
from homeassistant.components.cover.intent import INTENT_CLOSE_COVER, INTENT_OPEN_COVER
|
||||
from homeassistant.components.homeassistant.exposed_entities import async_should_expose
|
||||
from homeassistant.components.intent import async_device_supports_timers
|
||||
from homeassistant.components.weather.intent import INTENT_GET_WEATHER
|
||||
@ -208,6 +209,8 @@ class AssistAPI(API):
|
||||
IGNORE_INTENTS = {
|
||||
INTENT_GET_TEMPERATURE,
|
||||
INTENT_GET_WEATHER,
|
||||
INTENT_OPEN_COVER, # deprecated
|
||||
INTENT_CLOSE_COVER, # deprecated
|
||||
intent.INTENT_GET_STATE,
|
||||
intent.INTENT_NEVERMIND,
|
||||
intent.INTENT_TOGGLE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user