Home-AssistantConfig/script/switch_turn_off.yaml

27 lines
984 B
YAML
Raw Normal View History

2016-12-01 04:20:45 +00:00
######################################################################################################
2016-12-01 05:14:47 +00:00
###Script to shut switches with a 30 second delay to not trample codes
2016-12-01 04:20:45 +00:00
######################################################################################################
2016-12-01 05:14:47 +00:00
switch_turn_off_all:
2016-12-01 04:20:45 +00:00
sequence:
- service: switch.turn_off
2016-12-01 05:06:38 +00:00
entity_id: switch.halloween_lights_den
2016-12-01 04:20:45 +00:00
- delay: '00:00:30'
- service: switch.turn_off
2016-12-01 05:06:38 +00:00
entity_id: switch.halloween_lights_dining_room
2016-12-01 04:20:45 +00:00
- delay: '00:00:30'
- service: switch.turn_off
2016-12-01 05:06:38 +00:00
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
2016-12-01 05:14:47 +00:00
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.garage_outlet
- delay: 00:01:00
- service: switch.turn_off
entity_id: group.amps