-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
476 lines (476 loc) · 12 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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
- id: '1602399119785'
alias: Zwiększ input pilot salon o 1
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: arrow_right_click
discovery_id: 0x680ae2fffe8404a5 action_arrow_right_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
below: '4'
action:
- service: input_number.increment
data: {}
entity_id: input_number.pilot_salon
mode: single
- id: '1602399259257'
alias: Przeskocz input salon
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: arrow_right_click
discovery_id: 0x680ae2fffe8404a5 action_arrow_right_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '3'
action:
- service: input_number.set_value
data:
value: 0
entity_id: input_number.pilot_salon
mode: single
- id: '1602399910956'
alias: Zmniejsz input pilot salon
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: arrow_left_click
discovery_id: 0x680ae2fffe8404a5 action_arrow_left_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '0'
action:
- service: input_number.decrement
data: {}
entity_id: input_number.pilot_salon
mode: single
- id: '1602399989189'
alias: Przeskocz input salon w lewo
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: arrow_left_click
discovery_id: 0x680ae2fffe8404a5 action_arrow_left_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
below: '1'
action:
- service: input_number.set_value
data:
value: 4
entity_id: input_number.pilot_salon
mode: single
- id: '1602400315393'
alias: Pilot salon powiedz światło salon
description: ''
trigger:
- platform: numeric_state
entity_id: input_number.pilot_salon
above: '-1'
below: '1'
condition: []
action:
- service: tts.aaa_google_cloud_say
data:
entity_id: media_player.salon_glosnik
message: Światło salon
mode: single
- id: '1602400315394'
alias: Pilot salon powiedz światło nad tv
description: ''
trigger:
- platform: numeric_state
entity_id: input_number.pilot_salon
above: '0'
below: '2'
condition: []
action:
- service: tts.aaa_google_cloud_say
data:
entity_id: media_player.salon_glosnik
message: Światło nad TV
mode: single
- id: '1602400315396'
alias: Pilot salon powiedz roleta taras
description: ''
trigger:
- platform: numeric_state
entity_id: input_number.pilot_salon
above: '1'
below: '3'
condition: []
action:
- service: tts.aaa_google_cloud_say
data:
entity_id: media_player.salon_glosnik
message: Roleta taras
mode: single
- id: '1602400315397'
alias: Pilot salon powiedz roleta wykusz
description: ''
trigger:
- platform: numeric_state
entity_id: input_number.pilot_salon
above: '2'
below: '4'
condition: []
action:
- service: tts.aaa_google_cloud_say
data:
entity_id: media_player.salon_glosnik
message: Roleta wykusz
mode: single
- id: '1602400315398'
alias: Pilot salon powiedz wszystkie rolety
description: ''
trigger:
- platform: numeric_state
entity_id: input_number.pilot_salon
above: '3'
below: '5'
condition: []
action:
- service: tts.aaa_google_cloud_say
data:
entity_id: media_player.salon_glosnik
message: Wszystkie rolety
mode: single
- id: '1602400814880'
alias: Przełącz światło w salonie
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: toggle
discovery_id: 0x680ae2fffe8404a5 action_toggle
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '-1'
below: '1'
action:
- service: light.toggle
data: {}
entity_id: light.salon
mode: single
- id: '1602400913256'
alias: Zwiększ jasność w salonie
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_up_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_up_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '-1'
below: '1'
action:
- type: brightness_increase
device_id: 4f56ddc59b2144519ec3b76ffb0359eb
entity_id: light.salon
domain: light
mode: single
- id: '1602400973576'
alias: Pilot zmniejsz jasność w salonie
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_down_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_down_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '-1'
below: '1'
action:
- type: brightness_decrease
device_id: 4f56ddc59b2144519ec3b76ffb0359eb
entity_id: light.salon
domain: light
mode: single
- id: '1602401222647'
alias: Przełącz światło nad TV
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: toggle
discovery_id: 0x680ae2fffe8404a5 action_toggle
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '0'
below: '2'
action:
- type: toggle
device_id: a353b5a53e7d459694042dfe35e456a5
entity_id: light.0xec1bbdfffeaf9274_light
domain: light
- type: toggle
device_id: e6deec151d36433797ead73c35cf5a54
entity_id: light.0x680ae2fffe3696a1_light
domain: light
mode: single
- id: '1602401327506'
alias: Zwiększ jasność nadtv
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_up_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_up_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '0'
below: '2'
action:
- type: brightness_increase
device_id: a353b5a53e7d459694042dfe35e456a5
entity_id: light.0xec1bbdfffeaf9274_light
domain: light
- type: brightness_increase
device_id: e6deec151d36433797ead73c35cf5a54
entity_id: light.0x680ae2fffe3696a1_light
domain: light
mode: single
- id: '1602401393844'
alias: Zmniejsz jasność nadtv
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_down_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_down_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '0'
below: '2'
action:
- type: brightness_decrease
device_id: a353b5a53e7d459694042dfe35e456a5
entity_id: light.0xec1bbdfffeaf9274_light
domain: light
- type: brightness_decrease
device_id: e6deec151d36433797ead73c35cf5a54
entity_id: light.0x680ae2fffe3696a1_light
domain: light
mode: single
- id: '1602401528510'
alias: Zamknij roletę taras pilotem
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_down_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_down_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '1'
below: '3'
action:
- service: cover.close_cover
data: {}
entity_id: cover.my_shutterbox_shutterbox_position
mode: single
- id: '1602401583806'
alias: Zatrzymaj roletę w salonie
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: toggle
discovery_id: 0x680ae2fffe8404a5 action_toggle
condition: []
action:
- service: cover.stop_cover
data: {}
entity_id: cover.my_shutterbox_shutterbox_position
mode: single
- id: '1602401694736'
alias: Otwórz roletę taras pilotem
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_up_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_up_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '1'
below: '3'
action:
- service: cover.open_cover
data: {}
entity_id: cover.my_shutterbox_shutterbox_position
mode: single
- id: '1602401794244'
alias: Zamknij roletę wykusz pilotem
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_down_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_down_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '2'
below: '4'
action:
- service: cover.close_cover
data: {}
entity_id: cover.wykusz_shutterbox_position
mode: single
- id: '1602402090070'
alias: Zatrzymaj roletę wykusz
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: toggle
discovery_id: 0x680ae2fffe8404a5 action_toggle
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '2'
below: '4'
action:
- service: cover.stop_cover
data: {}
entity_id: cover.wykusz_shutterbox_position
mode: single
- id: '1602402184073'
alias: Otworz rolete wykusz
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_up_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_up_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '2'
below: '4'
action:
- service: cover.open_cover
data: {}
entity_id: cover.wykusz_shutterbox_position
mode: single
- id: '1602402357803'
alias: Otwórz wszystkie rolety
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_up_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_up_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '3'
below: '5'
action:
- service: cover.open_cover
data: {}
entity_id: cover.lazienka
- service: cover.open_cover
data: {}
entity_id: cover.maks
- service: cover.open_cover
data: {}
entity_id: cover.my_shutterbox_shutterbox_position
- service: cover.open_cover
data: {}
entity_id: cover.papugi
- service: cover.open_cover
data: {}
entity_id: cover.sypialnia_shutterbox_position
- service: cover.open_cover
data: {}
entity_id: cover.wykusz_shutterbox_position
mode: single
- id: '1602402357804'
alias: Zamknij wszystkie rolety
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 74a8c837374c4d1ba52dbc1f55820a56
type: action
subtype: brightness_down_click
discovery_id: 0x680ae2fffe8404a5 action_brightness_down_click
condition:
- condition: numeric_state
entity_id: input_number.pilot_salon
above: '3'
below: '5'
action:
- service: cover.close_cover
data: {}
entity_id: cover.lazienka
- service: cover.close_cover
data: {}
entity_id: cover.maks
- service: cover.close_cover
data: {}
entity_id: cover.my_shutterbox_shutterbox_position
- service: cover.close_cover
data: {}
entity_id: cover.papugi
- service: cover.close_cover
data: {}
entity_id: cover.sypialnia_shutterbox_position
- service: cover.close_cover
data: {}
entity_id: cover.wykusz_shutterbox_position
mode: single