diff --git a/tests/components/stream/conftest.py b/tests/components/stream/conftest.py index 0142d71a805..6aab3c06d13 100644 --- a/tests/components/stream/conftest.py +++ b/tests/components/stream/conftest.py @@ -60,7 +60,7 @@ class WorkerSync: @pytest.fixture -def stream_worker_sync(hass): +def stream_worker_sync() -> Generator[WorkerSync]: """Patch StreamOutput to allow test to synchronize worker stream end.""" sync = WorkerSync() with patch(