Add missing argument type hints to component tests (#119671)

This commit is contained in:
epenet
2024-06-14 09:26:46 +02:00
committed by GitHub
parent 83b97d3218
commit 3e9d25f81d
47 changed files with 135 additions and 67 deletions

View File

@@ -39,7 +39,7 @@ async def webrtc_server() -> None:
@pytest.fixture
async def mock_camera(hass) -> AsyncGenerator[None]:
async def mock_camera(hass: HomeAssistant) -> AsyncGenerator[None]:
"""Initialize a demo camera platform."""
assert await async_setup_component(
hass, "camera", {camera.DOMAIN: {"platform": "demo"}}