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

migrate to using same area info for top level and sub devices

This commit is contained in:
J. Nick Koston
2025-06-21 16:42:05 +02:00
parent 1589a131db
commit e7a4eac8bd

View File

@@ -2,7 +2,9 @@ esphome:
debug_scheduler: true
platformio_options:
board_build.flash_mode: dio
area: testing
area:
id: testing_area
name: Testing Area
on_boot:
logger.log: on_boot
on_shutdown:
@@ -24,6 +26,9 @@ esphome:
- 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)
binary_sensor:
- platform: template