mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
You can find the entire repo here.
This commit is contained in:
19
config/automation/flash_all.yaml
Executable file
19
config/automation/flash_all.yaml
Executable file
@@ -0,0 +1,19 @@
|
||||
######################################################################
|
||||
## Flash all the lights!
|
||||
######################################################################
|
||||
- alias: 'Flash all_lights'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.flash
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- group.all_lights
|
||||
data:
|
||||
flash: long
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.flash
|
Reference in New Issue
Block a user