adding more reusable scripting code.

This commit is contained in:
CCOSTAN 2016-12-01 05:06:38 +00:00
parent bec6903fb1
commit a62ab5096d
2 changed files with 11 additions and 4 deletions

View File

@ -15,6 +15,7 @@
- platform: state
entity_id: group.garage_doors
state: 'open'
for: '00:01:30'
condition:
condition: and

View File

@ -5,11 +5,17 @@
switch_turn_off:
sequence:
- service: switch.turn_off
entity_id: switch.kitchen_accents
entity_id: switch.halloween_lights_den
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.kitchen_accents
entity_id: switch.halloween_lights_dining_room
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: '00:00:30'
entity_id: switch.foyer_outlet
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.kitchen_Accents
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.printer_outlet
- delay: '00:00:30'