1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Pass satellite id through assist pipeline (#151992)

This commit is contained in:
Artur Pragacz
2025-09-11 18:13:23 +02:00
committed by GitHub
parent d5132e8ea9
commit 1b99ffe61b
17 changed files with 90 additions and 8 deletions

View File

@@ -114,6 +114,7 @@ async def async_handle(
language: str | None = None,
assistant: str | None = None,
device_id: str | None = None,
satellite_id: str | None = None,
conversation_agent_id: str | None = None,
) -> IntentResponse:
"""Handle an intent."""
@@ -138,6 +139,7 @@ async def async_handle(
language=language,
assistant=assistant,
device_id=device_id,
satellite_id=satellite_id,
conversation_agent_id=conversation_agent_id,
)
@@ -1276,6 +1278,7 @@ class Intent:
"intent_type",
"language",
"platform",
"satellite_id",
"slots",
"text_input",
]
@@ -1291,6 +1294,7 @@ class Intent:
language: str,
assistant: str | None = None,
device_id: str | None = None,
satellite_id: str | None = None,
conversation_agent_id: str | None = None,
) -> None:
"""Initialize an intent."""
@@ -1303,6 +1307,7 @@ class Intent:
self.language = language
self.assistant = assistant
self.device_id = device_id
self.satellite_id = satellite_id
self.conversation_agent_id = conversation_agent_id
@callback