mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
You can find the entire repo here.
This commit is contained in:
18
config/script/interior_off.yaml
Executable file
18
config/script/interior_off.yaml
Executable file
@@ -0,0 +1,18 @@
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.interior_off
|
||||
######################################################################################################
|
||||
|
||||
interior_off:
|
||||
sequence:
|
||||
- service: homeassistant.turn_off
|
||||
entity_id:
|
||||
- group.interior_lights
|
||||
- service: script.switch_turn_off_all
|
||||
- service: media_player.turn_off
|
||||
entity_id:
|
||||
- group.media_players
|
||||
- service: ifttt.trigger
|
||||
data_template: {"event":"noon_off"}
|
Reference in New Issue
Block a user