-
-
Notifications
You must be signed in to change notification settings - Fork 505
/
flash_all.yaml
executable file
·52 lines (47 loc) · 1.27 KB
/
flash_all.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
######################################################################
## 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: input_boolean.turn_off
entity_id: input_boolean.flash
- alias: 'Flash Timer Lights'
id: caac7e80-6f43-4029-ad40-420e70f67cd7
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.slider
- light.garage_attic
# - light.den_lamp
data:
flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash