Created
October 28, 2020 21:22
-
-
Save pfleidi/9bdaae0438640b2dfb955c86aea699f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: '1600125859583' | |
alias: Sven's Closet Light | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.door_sven_closet | |
from: 'off' | |
platform: state | |
to: 'on' | |
condition: [] | |
action: | |
- data: | |
brightness_pct: 100 | |
entity_id: light.sven_closet_light | |
service: light.turn_on | |
- wait_for_trigger: | |
- platform: state | |
entity_id: binary_sensor.door_sven_closet | |
from: 'on' | |
to: 'off' | |
for: 00:00:30 | |
timeout: 00:02:00 | |
continue_on_timeout: true | |
- data: {} | |
entity_id: light.sven_closet_light | |
service: light.turn_off | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment