1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

one more place to check

This commit is contained in:
J. Nick Koston
2025-06-22 13:37:30 +02:00
parent 41b1bfc504
commit b30b527ff9

View File

@@ -68,6 +68,11 @@ async def test_areas_and_devices(
"Smart Switch should be in Kitchen" "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 # Get entity list to verify device_id mapping
entities = await client.list_entities_services() entities = await client.list_entities_services()