1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00
This commit is contained in:
J. Nick Koston
2025-08-20 13:06:18 -05:00
parent 757ad2ff96
commit 2c44198cb5
2 changed files with 2 additions and 37 deletions

View File

@@ -140,32 +140,7 @@ select:
ESP_LOGI("test", "Main Mode set to %s", x.c_str());
id(mode_main).state = x;
# Test sensors for reading entity states
sensor:
- platform: template
name: Switch State A
id: switch_state_a
device_id: device_a
lambda: |-
return id(light_device_a).state ? 1.0 : 0.0;
update_interval: 0.5s
- platform: template
name: Switch State B
id: switch_state_b
device_id: device_b
lambda: |-
return id(light_device_b).state ? 1.0 : 0.0;
update_interval: 0.5s
- platform: template
name: Switch State Main
id: switch_state_main
lambda: |-
return id(light_main).state ? 1.0 : 0.0;
update_interval: 0.5s
# Button to trigger preference save/restore test
# Button to trigger preference logging test
button:
- platform: template
name: Test Preferences