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