Consolidate a lot of the turning stuff off into one script.

This commit is contained in:
CCOSTAN
2017-01-20 19:47:54 +00:00
parent d068bedf36
commit 243809161b
2 changed files with 16 additions and 36 deletions

View File

@@ -33,8 +33,7 @@
- service: light.turn_off
entity_id: group.all_lights
- service: script.interior_off
- delay: '00:01:00'
- service: script.switch_turn_off_all

View File

@@ -10,26 +10,7 @@ interior_off:
- service: light.turn_off
entity_id:
- group.interior_lights
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.foyer_outlet
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.living_room_outlet
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.printer
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.garage_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.living_room_amp
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.dining_room_outlet
- service: script.switch_turn_off