We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350f99b commit 2b62d2dCopy full SHA for 2b62d2d
tests/components/ecovacs/conftest.py
@@ -188,6 +188,10 @@ async def init_integration(
188
189
yield mock_config_entry
190
191
+ # Properly unload the integration to trigger cleanup
192
+ await hass.config_entries.async_unload(mock_config_entry.entry_id)
193
+ await hass.async_block_till_done(wait_background_tasks=True)
194
+
195
196
@pytest.fixture
197
def controller(init_integration: MockConfigEntry) -> EcovacsController:
0 commit comments