-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
318 lines (318 loc) · 7.44 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
315
316
317
318
- id: '1625693270586'
alias: Espresso machine empty?
description: ''
trigger:
- platform: state
entity_id:
- switch.shelly_espresso
to: 'on'
for:
hours: 0
minutes: 1
seconds: 10
condition:
- condition: numeric_state
entity_id: sensor.shelly_espresso_power
below: 100
action:
- service: notify.notify
data:
title: Espresso machine has no water!
message: Espresso machine has no water!
mode: single
- id: '1682950358831'
alias: LG webOS Smart TV - Turn On Action
description: ''
use_blueprint:
path: cvroque/webostv_turn_on.yaml
input:
webostv: media_player.lg_tv
webostv_mac: ec-6c-9a-b1-04-aa
- id: '1683447191864'
alias: Espresso machine on
description: ''
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: espresso machine on
condition:
- condition: state
entity_id: input_boolean.roba_away
state: 'off'
- condition: state
entity_id: input_boolean.holiday
state: 'off'
action:
- type: turn_on
device_id: 8af4e7817d94eff591c631230ce2d848
entity_id: switch.shelly_espresso
domain: switch
mode: single
- id: '1683447638096'
alias: Espresso machine off
description: ''
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: espresso machine off
condition: []
action:
- type: turn_off
device_id: 8af4e7817d94eff591c631230ce2d848
entity_id: switch.shelly_espresso
domain: switch
mode: single
- id: '1690212207917'
alias: Kamer Roba licht aan wanneer power++
description: ''
trigger:
- type: power
platform: device
device_id: 2ff204460aa007180471a6f77c0749c8
entity_id: 2951ac36d049de8229ec20edc5a94e78
domain: sensor
above: 10
- type: power
platform: device
device_id: 870dfc6902f4a10a5ad4fce64d432af4
entity_id: 6d268a5b3723993d35376b0850f2a986
domain: sensor
above: 5
condition:
- type: is_power
condition: device
device_id: 2ff204460aa007180471a6f77c0749c8
entity_id: 2951ac36d049de8229ec20edc5a94e78
domain: sensor
above: 10
- type: is_power
condition: device
device_id: 870dfc6902f4a10a5ad4fce64d432af4
entity_id: 6d268a5b3723993d35376b0850f2a986
domain: sensor
above: 5
- condition: state
entity_id: input_boolean.roba_away
state: 'off'
- condition: state
entity_id: input_boolean.holiday
state: 'off'
action:
- type: turn_on
device_id: 7c7145ccb6e10ad91744a0b80af2136e
entity_id: 6782b2ac42f4ab812c7ecd02804dd596
domain: light
mode: single
- id: '1690212321369'
alias: Kamer Roba licht uit wanneer power--
description: ''
trigger:
- type: power
platform: device
device_id: 2ff204460aa007180471a6f77c0749c8
entity_id: 2951ac36d049de8229ec20edc5a94e78
domain: sensor
below: 10
- type: power
platform: device
device_id: 870dfc6902f4a10a5ad4fce64d432af4
entity_id: 6d268a5b3723993d35376b0850f2a986
domain: sensor
below: 5
condition:
- type: is_power
condition: device
device_id: 870dfc6902f4a10a5ad4fce64d432af4
entity_id: 6d268a5b3723993d35376b0850f2a986
domain: sensor
below: 5
- type: is_power
condition: device
device_id: 2ff204460aa007180471a6f77c0749c8
entity_id: 2951ac36d049de8229ec20edc5a94e78
domain: sensor
below: 10
action:
- type: turn_off
device_id: 7c7145ccb6e10ad91744a0b80af2136e
entity_id: 6782b2ac42f4ab812c7ecd02804dd596
domain: light
mode: single
- id: '1698610134162'
alias: Light on when motion detected front
description: ''
trigger:
- type: motion
platform: device
device_id: 749dbd91180c020a1ef93428afb2d986
entity_id: f87ea9f55a9ed3bfb516d56c4e9e3a5f
domain: binary_sensor
condition:
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
below: 10
- condition: device
type: is_off
device_id: 14b6dc81367208a601a1258f3d28ac56
entity_id: 9e979df4e12d75e1c6ffd37c1f8be69f
domain: light
action:
- service: light.turn_on
data: {}
target:
entity_id: light.voortuin_lampen
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.voortuin_lampen
mode: single
- id: '1699180710962'
alias: Midnight runner
description: ''
trigger:
- platform: time
at: 00:00:00
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id: light.voortuin_lampen
- service: light.turn_off
data: {}
target:
entity_id: light.achtertuin_lampen
mode: single
- id: '1699181020617'
alias: Lampen aan bij thuiskomst
description: ''
trigger:
- platform: zone
entity_id: device_tracker.i4_m50
zone: zone.home
event: enter
condition:
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
below: 10
- condition: device
type: is_off
device_id: 14b6dc81367208a601a1258f3d28ac56
entity_id: 9e979df4e12d75e1c6ffd37c1f8be69f
domain: light
action:
- service: light.turn_on
data: {}
target:
entity_id: light.voortuin_lampen
- delay:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.voortuin_lampen
mode: single
- id: '1699640023583'
alias: set work from leaseweb
description: ''
trigger:
- platform: calendar
event: start
offset: 0:0:0
entity_id: calendar.roba
condition:
- condition: template
value_template: '{{ ''leaseweb'' in trigger.calendar_event.summary }}'
action:
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: input_text.set_value
data:
value: leaseweb
target:
entity_id: input_text.roba_work_location
mode: single
- id: '1699640173462'
alias: set work from home
description: ''
trigger:
- platform: calendar
event: end
offset: 0:0:0
entity_id: calendar.roba
condition:
- condition: template
value_template: '{{ ''leaseweb'' in trigger.calendar_event.summary }}'
action:
- service: input_text.set_value
data:
value: home
target:
entity_id: input_text.roba_work_location
mode: single
- id: '1699645097339'
alias: working from lsw
description: ''
trigger:
- platform: time
at: 06:00:00
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
- condition: and
conditions:
- condition: state
entity_id: input_text.roba_work_location
state: leaseweb
action:
- type: turn_on
device_id: 8af4e7817d94eff591c631230ce2d848
entity_id: 9d363e1e21c885b1cae22215d3872b1d
domain: switch
- type: turn_on
device_id: 36094b5e275d3e95d9cc969ec3f52237
entity_id: 624acd1e3294cfa48b56885dca71ac8f
domain: switch
mode: single
- id: '1699645254109'
alias: working from home
description: ''
trigger:
- platform: time
at: 07:30:00
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
- condition: and
conditions:
- condition: state
entity_id: input_text.roba_work_location
state: home
action:
- type: turn_on
device_id: 8af4e7817d94eff591c631230ce2d848
entity_id: 9d363e1e21c885b1cae22215d3872b1d
domain: switch
- service: evohome.set_zone_override
data:
entity_id: climate.roba_kamer
setpoint: 20.5
duration: 0
mode: single