-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
314 lines (314 loc) · 8.15 KB
/
automations.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
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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
- id: '1582841771406'
alias: Notify Front Door Unlocked
description: ''
trigger:
- device_id: 12eb1d576e5a45dd9e13bf437ebc938b
domain: lock
entity_id: lock.front_door_lock
platform: device
type: unlocked
condition: []
action:
- data:
message: Front Door Unlocked
service: notify.mobile_app_sm_g935w8
- id: '1593211931138'
alias: Switch Off Basement Lights
description: ''
trigger:
- device_id: d1f142cd37d04c7a82c90db51f51cd9f
domain: zha
platform: device
subtype: turn_off
type: remote_button_short_press
condition: []
action:
- device_id: c5a4f978ed0c4df0af580a4435084bfc
domain: light
entity_id: light.basement_back
type: turn_off
- device_id: 5f1e679a37f24f31ae04ec34229f951c
domain: light
entity_id: light.basement_front
type: turn_off
- device_id: 3698f992a754458b812ec1e300ac3c57
domain: light
entity_id: light.basement_main
type: turn_off
- device_id: ed68f890e4c74d7ca4a21e654715ae22
domain: light
entity_id: light.basement_furnace
type: turn_off
- id: '1594394164539'
alias: Switch On Basement Lights
description: ''
trigger:
- device_id: d1f142cd37d04c7a82c90db51f51cd9f
domain: zha
platform: device
subtype: turn_on
type: remote_button_short_press
condition: []
action:
- brightness_pct: 100
device_id: c5a4f978ed0c4df0af580a4435084bfc
domain: light
entity_id: light.basement_back
type: turn_on
- brightness_pct: 100
device_id: 5f1e679a37f24f31ae04ec34229f951c
domain: light
entity_id: light.basement_front
type: turn_on
- brightness_pct: 100
device_id: 3698f992a754458b812ec1e300ac3c57
domain: light
entity_id: light.basement_main
type: turn_on
- brightness_pct: 100
device_id: ed68f890e4c74d7ca4a21e654715ae22
domain: light
entity_id: light.basement_furnace
type: turn_on
- id: '1594572858340'
alias: Closet Light On
description: ''
trigger:
- device_id: 7a97b23a1193497cb294c172794f6410
domain: binary_sensor
entity_id: binary_sensor.closet_door_sensor_on_off
platform: device
type: opened
condition: []
action:
- brightness_pct: 100
device_id: 42efaf2040b749498b4ff1c9c78e1f9a
domain: light
entity_id: light.closet_light
type: turn_on
- id: '1594572885114'
alias: Closet Light Off
description: ''
trigger:
- device_id: 7a97b23a1193497cb294c172794f6410
domain: binary_sensor
entity_id: binary_sensor.closet_door_sensor_on_off
platform: device
type: not_opened
condition: []
action:
- device_id: 42efaf2040b749498b4ff1c9c78e1f9a
domain: light
entity_id: light.closet_light
type: turn_off
- id: '1594573155884'
alias: Guest Room Closet On
description: ''
trigger:
- device_id: e3bf968e001d4d5086dab31df383de93
domain: binary_sensor
entity_id: binary_sensor.guest_room_closet_door_sensor_on_off
platform: device
type: opened
condition: []
action:
- brightness_pct: 100
device_id: bf2c1799cab04d378ad6122d66c5a60d
domain: light
entity_id: light.guest_room_closet
type: turn_on
- id: '1594573178601'
alias: Guest Room Closet Off
description: ''
trigger:
- device_id: e3bf968e001d4d5086dab31df383de93
domain: binary_sensor
entity_id: binary_sensor.guest_room_closet_door_sensor_on_off
platform: device
type: not_opened
condition: []
action:
- device_id: bf2c1799cab04d378ad6122d66c5a60d
domain: light
entity_id: light.guest_room_closet
type: turn_off
- id: '1594573272178'
alias: Basement Lights Motion
description: ''
trigger:
- device_id: e45e5f41715a4d0691877e0428426079
domain: binary_sensor
entity_id: binary_sensor.basement_motion_ias_zone
platform: device
type: motion
condition: []
action:
- brightness_pct: 100
device_id: 3698f992a754458b812ec1e300ac3c57
domain: light
entity_id: light.basement_main
type: turn_on
- brightness_pct: 100
device_id: 5f1e679a37f24f31ae04ec34229f951c
domain: light
entity_id: light.basement_front
type: turn_on
- brightness_pct: 100
device_id: ed68f890e4c74d7ca4a21e654715ae22
domain: light
entity_id: light.basement_furnace
type: turn_on
- brightness_pct: 100
device_id: c5a4f978ed0c4df0af580a4435084bfc
domain: light
entity_id: light.basement_back
type: turn_on
- id: '1594573300105'
alias: Basement Motion Off
description: ''
trigger:
- device_id: e45e5f41715a4d0691877e0428426079
domain: binary_sensor
entity_id: binary_sensor.basement_motion_ias_zone
for:
hours: 0
minutes: 10
seconds: 0
platform: device
type: no_motion
condition: []
action:
- device_id: 3698f992a754458b812ec1e300ac3c57
domain: light
entity_id: light.basement_main
type: turn_off
- device_id: 5f1e679a37f24f31ae04ec34229f951c
domain: light
entity_id: light.basement_front
type: turn_off
- device_id: ed68f890e4c74d7ca4a21e654715ae22
domain: light
entity_id: light.basement_furnace
type: turn_off
- device_id: c5a4f978ed0c4df0af580a4435084bfc
domain: light
entity_id: light.basement_back
type: turn_off
- id: '1595012566673'
alias: Switch on Moai after Washing Machine Stopped
description: ''
trigger:
- device_id: 3f0bab5094de4b7b94d51f9cb88b0ace
domain: binary_sensor
entity_id: binary_sensor.multipurpose_sensor_acceleration
for:
hours: 0
minutes: 5
seconds: 0
platform: device
type: not_moving
condition:
- condition: device
device_id: 3f0bab5094de4b7b94d51f9cb88b0ace
domain: binary_sensor
entity_id: binary_sensor.multipurpose_sensor_contact
type: is_not_open
action:
- brightness_pct: 100
device_id: 673d4fb7deb044e89848dda2cf4e5ba1
domain: light
entity_id: light.moai_bulb_rgb
type: turn_on
- id: '1595012617007'
alias: Reset Moai Light
description: ''
trigger:
- device_id: 3f0bab5094de4b7b94d51f9cb88b0ace
domain: binary_sensor
entity_id: binary_sensor.multipurpose_sensor_contact
platform: device
type: opened
condition: []
action:
- device_id: 673d4fb7deb044e89848dda2cf4e5ba1
domain: light
entity_id: light.moai_bulb_rgb
type: turn_off
- id: '1595343696454'
alias: Switch On Dining Room Lights
description: ''
trigger:
- device_id: 93ff2dbf355b4abda43c92e9b8cd2548
domain: zha
platform: device
subtype: turn_on
type: remote_button_short_press
condition: []
action:
- brightness_pct: 100
device_id: ec0cb35e85ac4583beca9aad13b15e11
domain: light
entity_id: light.dining_room_1
type: turn_on
- brightness_pct: 100
device_id: 46d3463c66204ba3b1d79d80ff6a6af7
domain: light
entity_id: light.dining_room_2
type: turn_on
- id: '1595343786072'
alias: Turn Off Dining Room Lights
description: ''
trigger:
- device_id: 93ff2dbf355b4abda43c92e9b8cd2548
domain: zha
platform: device
subtype: turn_on
type: remote_button_double_press
condition: []
action:
- device_id: ec0cb35e85ac4583beca9aad13b15e11
domain: light
entity_id: light.dining_room_1
type: turn_off
- device_id: 46d3463c66204ba3b1d79d80ff6a6af7
domain: light
entity_id: light.dining_room_2
type: turn_off
- id: '1595343842875'
alias: Dining Room Dimmer Up
description: ''
trigger:
- device_id: 93ff2dbf355b4abda43c92e9b8cd2548
domain: zha
platform: device
subtype: right
type: device_rotated
condition: []
action:
- device_id: ec0cb35e85ac4583beca9aad13b15e11
domain: light
entity_id: light.dining_room_1
type: brightness_increase
- device_id: 46d3463c66204ba3b1d79d80ff6a6af7
domain: light
entity_id: light.dining_room_2
type: brightness_increase
- id: '1595343883613'
alias: Dining Room Dimmer Down
description: ''
trigger:
- device_id: 93ff2dbf355b4abda43c92e9b8cd2548
domain: zha
platform: device
subtype: left
type: device_rotated
condition: []
action:
- device_id: ec0cb35e85ac4583beca9aad13b15e11
domain: light
entity_id: light.dining_room_1
type: brightness_decrease
- device_id: 46d3463c66204ba3b1d79d80ff6a6af7
domain: light
entity_id: light.dining_room_2
type: brightness_decrease