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

27 lines
505 B
YAML

esphome:
name: light-automations-test
host:
api: # Port will be automatically injected
logger:
level: DEBUG
output:
- platform: template
id: test_output
type: binary
write_action:
- lambda: ""
light:
- platform: binary
id: test_light
name: "Test Light"
output: test_output
on_turn_on:
- logger.log: "TRIGGER: on_turn_on fired"
on_turn_off:
- logger.log: "TRIGGER: on_turn_off fired"
on_state:
- logger.log: "TRIGGER: on_state fired"