Added cool down to haunted house show

This commit is contained in:
Jeffrey Stone 2020-11-27 20:45:23 -05:00
parent eb44689590
commit c4b5d6c7e0
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ automation:
# Turn on Haunted Mansion Show when input_boolean is flipped on # Turn on Haunted Mansion Show when input_boolean is flipped on
- id: haunted_mansion_on - id: haunted_mansion_on
alias: Haunted Mansion On alias: Haunted Mansion On
mode: single
initial_state: true initial_state: true
trigger: trigger:
- platform: state - platform: state
@ -21,6 +22,8 @@ automation:
action: action:
- service: script.turn_on - service: script.turn_on
entity_id: script.haunted_mansion_start entity_id: script.haunted_mansion_start
- delay: 00:20:00
# Turn off Haunted Mansion Show when input_boolean is flipped off # Turn off Haunted Mansion Show when input_boolean is flipped off
- id: haunted_mansion_off - id: haunted_mansion_off
alias: Haunted Mansion Off alias: Haunted Mansion Off