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()