From 9cc78680d6a10cfdc42d3a25d12231dcc665d2f4 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 24 Sep 2025 20:28:49 +0200 Subject: [PATCH] Fix lg_thinq test RuntimeWarning (#152910) --- tests/components/lg_thinq/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/lg_thinq/conftest.py b/tests/components/lg_thinq/conftest.py index c762d906568c..a0626ddb603f 100644 --- a/tests/components/lg_thinq/conftest.py +++ b/tests/components/lg_thinq/conftest.py @@ -148,4 +148,5 @@ def devices(mock_thinq_api: AsyncMock, device_fixture: str) -> Generator[AsyncMo mock_thinq_api.async_get_device_energy_profile.return_value = ( load_json_object_fixture(f"{device_fixture}/energy_profile.json", DOMAIN) ) + mock_thinq_api.async_get_route.return_value = MagicMock() return mock_thinq_api