Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 50 lines (45 sloc) 1.19 KB
######################################################################
## 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: all
data:
flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash
- alias: 'Flash Timer Lights'
trigger:
- platform: state
entity_id: input_boolean.flash
to: 'on'
from: 'off'
- platform: event
#Sent from IFTTT Webhooks : {"action":"Flash_Timer:}
event_type: ifttt_webhook_received
event_data:
action: Flash_Timer
action:
- 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.m1_slider
- light.garage_attic
- light.den_lamp
data:
flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash
You can’t perform that action at this time.