mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-04 20:39:52 +00:00
50 lines
1.3 KiB
YAML
Executable File
50 lines
1.3 KiB
YAML
Executable File
######################################################################
|
|
## Flash all the lights!
|
|
######################################################################
|
|
- 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.den_2
|
|
- light.den1
|
|
- 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
|