You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.6 KiB
54 lines
1.6 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# Flash all the lights! - Home Assistant automation behavior.
|
|
# Defines the Flash all the lights! triggers, conditions, and actions.
|
|
# -------------------------------------------------------------------
|
|
######################################################################
|
|
- alias: 'Flash all_lights'
|
|
id: 704f77f4-dcb1-4c49-83c5-b499d9b8f678
|
|
trigger:
|
|
- platform: state
|
|
entity_id: input_boolean.flash
|
|
to: 'on'
|
|
from: 'off'
|
|
|
|
action:
|
|
- service: light.turn_on
|
|
entity_id: all
|
|
data:
|
|
flash: long
|
|
|
|
- service: light.turn_on
|
|
entity_id:
|
|
- light.bedroom
|
|
- light.justin_go
|
|
- light.paige_go
|
|
- light.sink
|
|
- light.tv_light
|
|
- light.couch_1
|
|
- light.upstairs_lamp
|
|
- light.office_lamp
|
|
- light.main_slider
|
|
- light.garage_attic
|
|
- light.bedroom_lights
|
|
- light.dinette_lights
|
|
- light.dining_room_lights
|
|
- light.foyer
|
|
- light.garage_lights
|
|
- light.hallway_lights
|
|
- light.kitchen_lights
|
|
- light.living_room_accents
|
|
- light.living_room_lights
|
|
- light.office_lights
|
|
- light.upstairs_lights
|
|
- light.garage_hallway
|
|
# - light.den_lamp
|
|
data:
|
|
flash: long
|
|
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.flash
|