mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	migrate to using same area info for top level and sub devices
This commit is contained in:
		| @@ -2,7 +2,9 @@ esphome: | |||||||
|   debug_scheduler: true |   debug_scheduler: true | ||||||
|   platformio_options: |   platformio_options: | ||||||
|     board_build.flash_mode: dio |     board_build.flash_mode: dio | ||||||
|   area: testing |   area: | ||||||
|  |     id: testing_area | ||||||
|  |     name: Testing Area | ||||||
|   on_boot: |   on_boot: | ||||||
|     logger.log: on_boot |     logger.log: on_boot | ||||||
|   on_shutdown: |   on_shutdown: | ||||||
| @@ -24,6 +26,9 @@ esphome: | |||||||
|     - id: other_device |     - id: other_device | ||||||
|       name: Another device |       name: Another device | ||||||
|       area_id: another_area |       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: | binary_sensor: | ||||||
|   - platform: template |   - platform: template | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user