Files
esphome-configs/common/gate_beacon_open.yaml
Roman Priesol a966f6adb4
Some checks failed
CI / YAML lint (push) Has been cancelled
CI / ESPHome config validation (push) Has been cancelled
Templated gate beacon on_press and on_release
2026-02-19 14:23:27 +01:00

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