2018-01-02 00:00:45 +00:00
|
|
|
######################################################################
|
|
|
|
## Flash all the lights!
|
|
|
|
######################################################################
|
|
|
|
- alias: 'Flash all_lights'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: 704f77f4-dcb1-4c49-83c5-b499d9b8f678
|
2018-01-02 00:00:45 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_boolean.flash
|
|
|
|
to: 'on'
|
|
|
|
from: 'off'
|
|
|
|
|
|
|
|
action:
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.flash
|
2018-05-13 23:26:00 +00:00
|
|
|
|
|
|
|
- alias: 'Flash Timer Lights'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: caac7e80-6f43-4029-ad40-420e70f67cd7
|
2018-05-13 23:26:00 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_boolean.flash
|
|
|
|
to: 'on'
|
|
|
|
from: 'off'
|
|
|
|
- platform: event
|
2020-08-20 19:52:35 +00:00
|
|
|
#Sent from IFTTT Webhooks : {"action":"Flash_Timer"}
|
2020-02-15 21:22:42 +00:00
|
|
|
event_type: ifttt_webhook_received
|
|
|
|
event_data:
|
|
|
|
action: Flash_Timer
|
2018-05-13 23:26:00 +00:00
|
|
|
|
|
|
|
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
|