mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Housekeeping. Mispellings and some fine tuning.
This commit is contained in:
33
script/switch_turn_off_all.yaml
Executable file
33
script/switch_turn_off_all.yaml
Executable file
@@ -0,0 +1,33 @@
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.switch_turn_off_all
|
||||
######################################################################################################
|
||||
|
||||
switch_turn_off_all:
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
entity_id: group.all_switches
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_Accents
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.den_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- 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'
|
||||
|
||||
Reference in New Issue
Block a user