Created
December 20, 2020 17:20
-
-
Save mostlychris/c90e3db9726585f776a55a7464572ab1 to your computer and use it in GitHub Desktop.
youtube blueprint demo
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
blueprint: | |
name: Turn on Light Door Open | |
description: Tutorial on creating blueprints for livestream | |
domain: automation | |
input: | |
door: | |
name: Entry Door | |
selector: | |
entity: | |
domain: binary_sensor | |
device_class: opening | |
target_switch: | |
name: Light | |
description: The light(s) that will be turned on | |
selector: | |
target: | |
entity: | |
domain: switch | |
trigger: | |
platform: state | |
entity_id: !input door | |
from: 'off' | |
to: 'on' | |
action: | |
service: switch.turn_on | |
entity_id: !input target_switch | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment