From 8b4b9959398275752b2f8289026688b83109157c Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Tue, 10 Sep 2024 21:54:24 +0100 Subject: [PATCH] bugfix test --- tests/tests_new/test_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_new/test_init.py b/tests/tests_new/test_init.py index 9c1d318..3af3107 100644 --- a/tests/tests_new/test_init.py +++ b/tests/tests_new/test_init.py @@ -39,7 +39,7 @@ async def test_entities( entry = hass.config_entries.async_entries(DOMAIN)[0] assert entry.state == ConfigEntryState.LOADED - assert hass.states.async_all() == snapshot + assert hass.states.async_all(domain_filter=DOMAIN) == snapshot finally: # Prevent non-useful errors in teardown assert await hass.config_entries.async_unload(entry.entry_id)