1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00
Files
esphome/tests/integration/fixtures/lock_automations.yaml

18 lines
324 B
YAML

esphome:
name: lock-automations-test
host:
api: # Port will be automatically injected
logger:
level: DEBUG
lock:
- platform: template
id: test_lock
name: "Test Lock"
optimistic: true
on_lock:
- logger.log: "TRIGGER: on_lock fired"
on_unlock:
- logger.log: "TRIGGER: on_unlock fired"