mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 15:24:09 +01:00
10 lines
230 B
YAML
10 lines
230 B
YAML
- lambda: 'id(beacon_count) += 1;'
|
|
- if:
|
|
condition:
|
|
and:
|
|
- switch.is_on: ${enable_id}
|
|
- switch.is_on: auto_open
|
|
- lambda: 'return id(beacon_count) == 1;'
|
|
then:
|
|
- button.press: gate_open
|