1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

make areas and devices consistant

This commit is contained in:
J. Nick Koston
2025-06-21 17:12:00 +02:00
parent 2a39060912
commit 65e3c6bfbb
4 changed files with 13 additions and 12 deletions

View File

@@ -19,16 +19,16 @@ esphome:
version: "1.1"
on_update:
logger.log: on_update
sub_areas:
areas:
- id: another_area
name: Another area
sub_devices:
devices:
- id: other_device
name: Another device
area_id: another_area
- id: test_device
name: Test device in main area
area_id: testing_area # Reference the main area (not in sub_areas)
area_id: testing_area # Reference the main area (not in areas)
- id: no_area_device
name: Device without area # This device has no area_id