2024-09-06 16:29:57 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# Emergency Script Configuration
|
|
|
|
# Description: This script activates emergency lighting and effects
|
|
|
|
# when triggered, including turning front lights to red,
|
|
|
|
# flashing all lights, and activating strobe effects.
|
|
|
|
#
|
|
|
|
# Usage:
|
|
|
|
# service: script.emergency
|
|
|
|
#
|
|
|
|
# For more information and updates, visit:
|
|
|
|
# https://www.vcloudinfo.com/click-here
|
|
|
|
#
|
|
|
|
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
|
|
#-------------------------------------------
|
2018-01-02 00:00:45 +00:00
|
|
|
|
|
|
|
emergency:
|
|
|
|
sequence:
|
|
|
|
# Switch all outside front lights to Red to indicate emergency
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id:
|
2020-06-07 20:06:43 +00:00
|
|
|
- light.outdoor_front_lights
|
2018-01-02 00:00:45 +00:00
|
|
|
data:
|
2020-06-05 18:24:37 +00:00
|
|
|
#color_name: 'red'
|
|
|
|
rgb_color: [255,0,0]
|
2018-01-02 00:00:45 +00:00
|
|
|
# Flash All LIGHTS
|
|
|
|
- service: light.turn_on
|
2019-06-08 17:33:38 +00:00
|
|
|
entity_id: all
|
2018-01-02 00:00:45 +00:00
|
|
|
data:
|
|
|
|
flash: long
|
|
|
|
# Rachio is already inergrated Natively with Protects to run SPRINKLERS with smoke conditions..
|
|
|
|
# - service: ifttt.trigger
|
2020-09-26 14:52:45 +00:00
|
|
|
# data: {"event":"rachio_start_front"}
|
2018-01-02 00:00:45 +00:00
|
|
|
|
|
|
|
# Turn on All LIGHTS 100% Brightness
|
|
|
|
- service: light.turn_on
|
2019-06-08 17:33:38 +00:00
|
|
|
entity_id: all
|
2018-01-02 00:00:45 +00:00
|
|
|
data:
|
|
|
|
brightness: 255
|
|
|
|
|
|
|
|
# Turn on Outside LED lights strobing White
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id:
|
|
|
|
- light.led_garage_large
|
|
|
|
- light.led_garage_small
|
|
|
|
- light.led_outdoor_den
|
|
|
|
- light.led_garage_snip
|
|
|
|
data:
|
|
|
|
effect: white_strobe
|