From b30b527ff9ba3c65ec0c109237bfaf42a36a4bba Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 22 Jun 2025 13:37:30 +0200 Subject: [PATCH] one more place to check --- tests/integration/test_areas_and_devices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/test_areas_and_devices.py b/tests/integration/test_areas_and_devices.py index 32361f2844..4ce55a30a7 100644 --- a/tests/integration/test_areas_and_devices.py +++ b/tests/integration/test_areas_and_devices.py @@ -68,6 +68,11 @@ async def test_areas_and_devices( "Smart Switch should be in Kitchen" ) + # Verify suggested_area is set to the top-level area name + assert device_info.suggested_area == "Living Room", ( + f"Expected suggested_area to be 'Living Room', got '{device_info.suggested_area}'" + ) + # Get entity list to verify device_id mapping entities = await client.list_entities_services()