mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-19 07:47:27 +00:00
More scripting and reusable codes
This commit is contained in:
parent
a62ab5096d
commit
d6ae71548b
@ -27,16 +27,7 @@
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: group.interior_lights
|
||||
- service: switch.turn_off
|
||||
entity_id: group.amps
|
||||
- delay: 00:01:00
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_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.garage_outlet
|
||||
- service: script.switch_turn_off_all
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
######################################################################################################
|
||||
###Script to send notifications to IFTTT to notify me on the mobile Phone! Call like this:
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
######################################################################################################
|
||||
|
||||
switch_turn_off:
|
||||
switch_turn_off_all:
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.halloween_lights_den
|
||||
@ -18,4 +18,10 @@ switch_turn_off:
|
||||
- delay: '00:00:30'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: '00:00:30'
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user