From b64d60fce45b953fab0ce94e0910ec9a69621512 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 13 Sep 2025 16:30:17 +0200 Subject: [PATCH] Fix lg_thinq RuntimeWarning in tests (#152221) --- 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 73abc8c5075..b830b0b44e4 100644 --- a/tests/components/lg_thinq/conftest.py +++ b/tests/components/lg_thinq/conftest.py @@ -137,4 +137,5 @@ def devices(mock_thinq_api: AsyncMock, device_fixture: str) -> Generator[AsyncMo mock_thinq_api.async_get_device_status.return_value = load_json_object_fixture( f"{device_fixture}/status.json", DOMAIN ) + mock_thinq_api.async_get_device_energy_profile.return_value = MagicMock() return mock_thinq_api