mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
LLM Tools: Add device_id (#117884)
This commit is contained in:
@@ -46,6 +46,7 @@ async def test_call_tool_no_existing(hass: HomeAssistant) -> None:
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -87,6 +88,7 @@ async def test_assist_api(hass: HomeAssistant) -> None:
|
||||
user_prompt="test_text",
|
||||
language="*",
|
||||
assistant="test_assistant",
|
||||
device_id="test_device",
|
||||
)
|
||||
|
||||
with patch(
|
||||
@@ -106,6 +108,7 @@ async def test_assist_api(hass: HomeAssistant) -> None:
|
||||
test_context,
|
||||
"*",
|
||||
"test_assistant",
|
||||
"test_device",
|
||||
)
|
||||
assert response == {
|
||||
"card": {},
|
||||
|
||||
Reference in New Issue
Block a user