-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.yaml
More file actions
217 lines (217 loc) · 4.91 KB
/
scripts.yaml
File metadata and controls
217 lines (217 loc) · 4.91 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
start_youtube:
sequence:
- service: media_player.select_source
target:
entity_id: media_player.SHIELDCCB
data:
source: com.google.android.youtube.tv
start_netflix:
sequence:
- service: media_player.select_source
target:
entity_id: media_player.SHIELDCCB
data:
source: com.netflix.ninja
start_kodi:
sequence:
- service: media_player.select_source
target:
entity_id: media_player.SHIELDCCB
data:
source: org.xbmc.kodi
start_spotify:
sequence:
- service: media_player.select_source
target:
entity_id: media_player.SHIELDCCB
data:
source: com.spotify.tv.android
find_my_phone:
alias: find_my_phone
sequence:
- device_id: dc9523763383dcb7c4b3926d63d082ef
domain: mobile_app
type: notify
title: Home Assistant recherche le téléphone!
message: Home Assistant
data:
ttl: 0
priority: high
channel: alarm_stream
mode: single
icon: mdi:cellphone-marker
find_my_tab:
alias: find_my_tab
sequence:
- device_id: 232fd558114a7a09af507ca11e9d29f7
domain: mobile_app
type: notify
title: Home Assistant recherche le téléphone!
message: Home Assistant
data:
ttl: 0
priority: high
channel: alarm_stream
mode: single
icon: mdi:cellphone-marker
find_my_moto:
alias: find_my_moto
sequence:
- device_id: b6c81c54acd94827ecf58f018af7fa65
domain: mobile_app
type: notify
title: Home Assistant recherche la moto!
message: Home Assistant
mode: single
icon: mdi:cellphone-marker
red_flash_alarm:
icon: mdi:alarm-light-outline
alias: Red Flash Alarm
mode: single
sequence:
- type: turn_on
device_id: 7868cd6f12409cb60f8d2d93be21e792
entity_id: switch.mqtt_develco_smokedetector_alarm
domain: switch
- service: light.turn_on
data:
color_name: red
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- service: light.turn_on
data:
brightness_pct: 100
flash: long
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- delay: 00:00:15
- repeat:
until:
- condition: state
entity_id: alarm_control_panel.alarmo
state: triggered
sequence:
- service: script.turn_on
data: {}
target:
entity_id: script.red_flash_alarm_loop
red_flash_alarm_loop:
icon: mdi:reload
alias: Red Flash Alarm - Loop
sequence:
- delay:
seconds: 0.5
- service: script.turn_on
target:
entity_id: script.red_flash_alarm
red_flash_alert:
icon: mdi:alarm-light
alias: Red Flash Alert
sequence:
- service: light.turn_on
data:
color_name: red
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- service: light.turn_on
data:
brightness_pct: 100
flash: long
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- delay:
seconds: 17
- service: light.turn_off
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
data: {}
mode: single
green_flash_alert:
icon: mdi:alarm-light
alias: Green Flash Alert
sequence:
- service: light.turn_on
data:
color_name: green
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- service: light.turn_on
data:
brightness_pct: 100
flash: long
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- delay:
seconds: 17
- service: light.turn_off
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
data: {}
mode: single
blue_flash_alert:
icon: mdi:alarm-light
alias: Blue Flash Alert
sequence:
- service: script.alarm_alert_state
data: {}
- service: light.turn_on
data:
color_name: blue
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- service: light.turn_on
data:
brightness_pct: 100
flash: long
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
- delay:
seconds: 50
- service: light.turn_off
target:
entity_id:
- light.hue_whitecolor1
- light.hue_whitecolor2
data: {}
mode: single
alarm_alert_state:
alias: Alarm Alert State
sequence:
- type: turn_on
device_id: 7868cd6f12409cb60f8d2d93be21e792
entity_id: switch.mqtt_develco_smokedetector_alarm
domain: switch
- type: turn_off
device_id: 7868cd6f12409cb60f8d2d93be21e792
entity_id: switch.mqtt_develco_smokedetector_alarm
domain: switch
- type: turn_on
device_id: 7868cd6f12409cb60f8d2d93be21e792
entity_id: switch.mqtt_develco_smokedetector_alarm
domain: switch
- type: turn_off
device_id: 7868cd6f12409cb60f8d2d93be21e792
entity_id: switch.mqtt_develco_smokedetector_alarm
domain: switch
mode: single
icon: mdi:alarm-bell