Created
December 5, 2020 18:05
-
-
Save tteck/76c17ff2080470fb96519fd84485ab71 to your computer and use it in GitHub Desktop.
A blueprint that turns on the selected lights when the alarm is disarmed.
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 lights when the alarm is disarmed | |
description: A blueprint that turns on the selected lights when the alarm is disarmed. | |
domain: automation | |
input: | |
alarm: | |
name: Alarm Control Panel | |
description: Select Alarm Control Panel | |
selector: | |
entity: | |
domain: alarm_control_panel | |
lights: | |
name: Lights | |
description: Select one or more light to turn on | |
selector: | |
target: | |
entity: | |
domain: light | |
trigger: | |
- platform: state | |
entity_id: !input 'alarm' | |
to: disarmed | |
action: | |
- service: light.turn_on | |
target: !input 'lights' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment