From 80912045d71be62075d7a6a1c52962bda9b6aa79 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Wed, 29 Oct 2025 14:33:43 +0100 Subject: [PATCH] Clear caplog in Ecovacs tests (#155404) --- tests/components/ecovacs/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/components/ecovacs/conftest.py b/tests/components/ecovacs/conftest.py index 6be9537b374..6820f3db255 100644 --- a/tests/components/ecovacs/conftest.py +++ b/tests/components/ecovacs/conftest.py @@ -169,6 +169,9 @@ async def init_integration( platforms: Platform | list[Platform], ) -> AsyncGenerator[MockConfigEntry]: """Set up the Ecovacs integration for testing.""" + # Workaround for https://github.com/home-assistant/core/issues/155417 + caplog.clear() + if not isinstance(platforms, list): platforms = [platforms]