mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix typing in websocket_api test (#156964)
This commit is contained in:
@@ -3259,7 +3259,7 @@ async def test_extract_from_target(
|
||||
) -> None:
|
||||
"""Test extract_from_target command with mixed target types including entities, devices, areas, and labels."""
|
||||
|
||||
async def call_command(target: dict[str, str]) -> Any:
|
||||
async def call_command(target: dict[str, list[str]]) -> Any:
|
||||
await websocket_client.send_json_auto_id(
|
||||
{"type": "extract_from_target", "target": target}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user