mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
[API] Sub devices and areas (#8544)
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick+github@koston.org>
This commit is contained in:
15
tests/integration/fixtures/legacy_area.yaml
Normal file
15
tests/integration/fixtures/legacy_area.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
esphome:
|
||||
name: legacy-area-test
|
||||
# Using legacy string-based area configuration
|
||||
area: Master Bedroom
|
||||
|
||||
host:
|
||||
api:
|
||||
logger:
|
||||
|
||||
# Simple sensor to ensure the device compiles and runs
|
||||
sensor:
|
||||
- platform: template
|
||||
name: Test Sensor
|
||||
lambda: return 42.0;
|
||||
update_interval: 1s
|
||||
Reference in New Issue
Block a user