From 7a939ff3933af63b292f6d8288f5003f2de5846b Mon Sep 17 00:00:00 2001 From: farmio Date: Thu, 3 Jul 2025 10:49:28 +0200 Subject: [PATCH] async_load_json_object_fixture --- tests/components/knx/test_config_store.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/components/knx/test_config_store.py b/tests/components/knx/test_config_store.py index 45ecb3644a5..3e902f8f402 100644 --- a/tests/components/knx/test_config_store.py +++ b/tests/components/knx/test_config_store.py @@ -14,7 +14,7 @@ from homeassistant.helpers import entity_registry as er from . import KnxEntityGenerator from .conftest import KNXTestKit -from tests.common import load_json_object_fixture +from tests.common import async_load_json_object_fixture from tests.typing import WebSocketGenerator @@ -454,5 +454,7 @@ async def test_migration_1_to_2( await knx.setup_integration( config_store_fixture="config_store_light_v1.json", state_updater=False ) - new_data = load_json_object_fixture("config_store_light.json", "knx") + new_data = await async_load_json_object_fixture( + hass, "config_store_light.json", "knx" + ) assert hass_storage[KNX_CONFIG_STORAGE_KEY] == new_data