-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
811 lines (811 loc) · 19.5 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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
- id: '1641593065468'
alias: switch.woonkamer.on
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 803cfcc4a946a4a0e9bf57881d2c10f0
type: action
subtype: 'on'
discovery_id: 0x00158d0001d07c12 action_on
condition: []
action:
- service: light.turn_on
data: {}
target:
device_id:
- c0bbd24a7ab2993e98fefabda739a12d
entity_id:
- light.eettafel_lamp
- light.bloom_computer
- light.schemerlamp_woonkamer
- light.iris_bank
- light.shelly_shdm_1_d0aa65
- service: switch.turn_on
data: {}
target:
entity_id: switch.woonkamer_genie
enabled: false
- if:
- condition: time
after: '19:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
then:
- service: switch.turn_on
data: {}
target:
entity_id: switch.woonkamer_genie
mode: single
- id: '1641686393984'
alias: Deurbel
description: ''
trigger:
- type: turned_on
platform: device
device_id: 6950356f089d9c6730f0cc5452d9f54e
entity_id: binary_sensor.deurbel
domain: binary_sensor
condition: []
action:
- service: tts.cloud_say
data:
entity_id: media_player.google_speaker_woonkamer
message: De Deurbel gaat
- service: tts.cloud_say
data:
entity_id: media_player.gm_grote_slaapkamer
message: De Deurbel gaat
- service: tts.cloud_say
data:
entity_id: media_player.keuken
message: De Deurbel gaat
- service: tts.cloud_say
data:
entity_id: media_player.kantoor
message: De Deurbel gaat
- service: notify.mobile_app_js_pm14
data:
title: Deurbel
message: Tring Tring
- service: notify.mobile_app_jennifer_telefoon
data:
message: De Deurbel gaat
title: Deurbel Thuis
mode: single
- id: '1642806282174'
alias: Check.HealthChecks.io
description: ''
trigger:
- platform: time_pattern
minutes: /1
condition: []
action:
- service: shell_command.healthcheck
data: {}
mode: single
- id: '1644356596967'
alias: switch.woonkamer.off
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 803cfcc4a946a4a0e9bf57881d2c10f0
type: action
subtype: 'off'
discovery_id: 0x00158d0001d07c12 action_off
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id:
- light.eettafel_lamp
- light.bloom_computer
- light.iris_bank
- light.shelly_shdm_1_d0aa65
- light.schemerlamp_woonkamer
- service: switch.turn_off
data: {}
target:
entity_id: switch.woonkamer_genie
- service: climate.set_temperature
data:
temperature: 18
target:
entity_id: climate.toon_thermostat
mode: single
- id: '1644506953046'
alias: Auto.AllesUitNacht
description: ''
trigger:
- platform: time
at: 01:30:00
condition: []
action:
- service: light.turn_off
data: {}
target:
area_id:
- woonkamer
- overloop
- keuken
- badkamer
- achtertuin
- service: climate.set_temperature
data:
temperature: 17
mode: single
- id: '1644507254342'
alias: Auto.GangLichtUit
description: ''
trigger:
- platform: device
type: turned_on
device_id: 35083a0859fb9950fbbcbef0cd994de7
entity_id: light.lamp_gang
domain: light
for:
hours: 0
minutes: 15
seconds: 0
condition: []
action:
- type: turn_off
device_id: 35083a0859fb9950fbbcbef0cd994de7
entity_id: light.lamp_gang
domain: light
mode: single
- id: '1644507521437'
alias: Voorzolderlicht uit
description: ''
trigger:
- platform: device
type: turned_on
device_id: 01b104464517aa7f281a27cce6599598
entity_id: light.lamp_voorzolder
domain: light
for:
hours: 0
minutes: 3
seconds: 0
condition: []
action:
- type: turn_off
device_id: 01b104464517aa7f281a27cce6599598
entity_id: light.lamp_voorzolder
domain: light
mode: single
- id: '1650221900748'
alias: Voordeurlamp-aan
description: ''
trigger:
- platform: sun
event: sunset
offset: 0
condition: []
action:
- service: light.turn_on
data: {}
target:
device_id: e6cd6f0d7147ae21deea597fb2f9d7e1
mode: single
- id: '1650222040498'
alias: Voordeurlamp-uit
description: ''
trigger:
- platform: sun
event: sunrise
offset: 0
condition: []
action:
- service: light.turn_off
data: {}
target:
device_id: e6cd6f0d7147ae21deea597fb2f9d7e1
mode: single
- id: '1659893746280'
alias: Zonnewering Sluiten
description: ''
trigger:
- platform: sun
event: sunset
offset: -00:45:00
condition: []
action:
- device_id: 1002dfe00de015fa57654f98071b22e4
domain: cover
entity_id: cover.shelly_shsw_25_c45bbe78fd72
type: set_position
position: 0
- device_id: bf3f8c2ceb90a2a5bd36da069fe6d8ea
domain: cover
entity_id: cover.shelly_shsw_25_4c75253337bc
type: set_position
position: 0
mode: single
- id: '1663623674116'
alias: Watch_Zonnescherm_open
description: Zonnescherm voor en achter open
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: zonnescherm_open
condition: []
action:
- device_id: 1002dfe00de015fa57654f98071b22e4
domain: cover
entity_id: cover.shelly_shsw_25_c45bbe78fd72
type: set_position
position: 100
- device_id: bf3f8c2ceb90a2a5bd36da069fe6d8ea
domain: cover
entity_id: cover.shelly_shsw_25_4c75253337bc
type: set_position
position: 100
mode: single
- id: '1663623804556'
alias: Watch_Zonnescherm_dicht
description: Zonnescherm voor en achter dicht
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: zonnescherm_dicht
condition: []
action:
- device_id: 1002dfe00de015fa57654f98071b22e4
domain: cover
entity_id: cover.shelly_shsw_25_c45bbe78fd72
type: set_position
position: 0
- device_id: bf3f8c2ceb90a2a5bd36da069fe6d8ea
domain: cover
entity_id: cover.shelly_shsw_25_4c75253337bc
type: set_position
position: 0
mode: single
- id: '1663626065200'
alias: Info - Vaatwasser klaar
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.shelly_shplg2_1_25b83b_current_consumption
for:
hours: 0
minutes: 1
seconds: 0
above: 10
condition: []
action:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.shelly_shplg2_1_25b83b_current_consumption
for:
hours: 0
minutes: 1
seconds: 0
below: 10
timeout:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: notify.mobile_app_iphone_jouke
data:
message: Vaatwasser is klaar
title: Informatie
- service: notify.mobile_app_js_air
data:
message: Vaatwasser is klaar
title: Informatie
- parallel:
- if:
- condition: time
before: '22:00:00'
after: 07:30:00
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
then:
- parallel:
- service: media_player.play_media
target:
entity_id: media_player.google_speaker_woonkamer
data:
media_content_id: media-source://tts/cloud?message=Vaatwasser+is+klaar&language=nl-NL&gender=female
media_content_type: provider
metadata:
title: Vaatwasser is klaar
thumbnail: https://brands.home-assistant.io/_/cloud/logo.png
media_class: app
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://tts
- media_content_type: provider
media_content_id: media-source://tts/cloud?message=Vaatwasser+is+klaar&language=nl-NL&gender=female
- service: media_player.play_media
target:
entity_id: media_player.keuken_google_home_mini
data:
media_content_id: media-source://tts/cloud?message=Vaatwasser+is+klaar&language=nl-NL&gender=female
media_content_type: provider
metadata:
title: Vaatwasser is klaar
thumbnail: https://brands.home-assistant.io/_/cloud/logo.png
media_class: app
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://tts
- media_content_type: provider
media_content_id: media-source://tts/cloud?message=Vaatwasser+is+klaar&language=nl-NL&gender=female
mode: single
- id: '1663878674492'
alias: ios_rolluik_open
description: Rolluik open 0%
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: rolluik_open
condition: []
action:
- device_id: 1a67c12af9e0a73fc593cd4798042694
domain: cover
entity_id: cover.shelly_shsw_25_00ac2a
type: set_position
position: 0
mode: single
- id: '1663878742381'
alias: ios_rolluik_dicht
description: Rolluik open 75%
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: rolluik_dicht
condition: []
action:
- device_id: 1a67c12af9e0a73fc593cd4798042694
domain: cover
entity_id: cover.shelly_shsw_25_00ac2a
type: set_position
position: 75
mode: single
- id: '1664655433573'
alias: Tag1.scanned.number
description: ''
trigger:
- platform: tag
tag_id: 00fff68d-dca1-4eeb-96eb-3ba432de7283
condition: []
action:
- service: input_number.set_value
data:
value: 1
target:
entity_id: input_number.tag1_scanned
mode: single
- id: '1664725475892'
alias: Tag2 scanned
description: ''
trigger:
- platform: tag
tag_id: bd3285f4-71f2-463e-9f94-17cf8372059e
condition: []
action:
- service: timer.cancel
data: {}
target:
entity_id: timer.timer_medicatie_timer
mode: single
- id: '1664741624792'
alias: Timer.Medicatie
description: ''
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.timer_medicatie_timer
condition: []
action:
- service: automation.trigger
data:
skip_condition: false
target:
entity_id: automation.medicatie_ochtend
mode: single
- id: '1664920241022'
alias: tag2.announce.boodschappen.auto
description: Maakt een melding dat de boodschappen uit de auto moeten
trigger:
- platform: tag
tag_id: bd3285f4-71f2-463e-9f94-17cf8372059e
condition: []
action:
- parallel:
- service: tts.cloud_say
data:
entity_id: media_player.google_mini_diego
message: Kom even naar de auto , helpen met boodschappen
language: nl
- service: tts.cloud_say
data:
entity_id: media_player.gm_grote_slaapkamer
message: Kom even naar de auto , helpen met boodschappen
language: nl
- service: tts.cloud_say
data:
entity_id: media_player.google_mini_tygo
message: Kom even naar de auto , helpen met boodschappen
language: nl
- service: tts.cloud_say
data:
entity_id: media_player.google_speaker_woonkamer
message: Kom even naar de auto , helpen met boodschappen
language: nl
- service: tts.cloud_say
data:
entity_id: media_player.kantoor
message: Kom even naar de auto , helpen met boodschappen
language: nl
- service: tts.cloud_say
data:
entity_id: media_player.kantoor
message: Kom even naar de auto , helpen met boodschappen
language: nl
mode: single
- id: '1665855114610'
alias: switch.rolluik.achter.dicht
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 803cfcc4a946a4a0e9bf57881d2c10f0
type: action
subtype: brightness_step_down
discovery_id: 0x00158d0001d07c12 action_brightness_step_down
condition: []
action:
- service: cover.set_cover_position
data:
position: 83
target:
entity_id: cover.shelly_shsw_25_00ac2a
mode: single
- id: '1665855184945'
alias: switch.roluik.achter.open
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 803cfcc4a946a4a0e9bf57881d2c10f0
type: action
subtype: brightness_step_up
discovery_id: 0x00158d0001d07c12 action_brightness_step_up
condition: []
action:
- service: cover.set_cover_position
data:
position: 0
target:
entity_id: cover.shelly_shsw_25_00ac2a
mode: single
- id: '1666619063722'
alias: switch.lamp.keuken.on
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 704026b0f66f7c1f2f9466ae4806a60e
type: action
subtype: on_press
discovery_id: 0x0017880108f59bb8 action_on_press
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id:
- light.lamp_keuken
- light.ledstrip_keuken
mode: single
- id: '1666619152470'
alias: switch.keuken.licht.off
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 704026b0f66f7c1f2f9466ae4806a60e
type: action
subtype: off_press
discovery_id: 0x0017880108f59bb8 action_off_press
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id:
- light.lamp_keuken
- light.ledstrip_keuken
mode: single
- id: '1668540520627'
alias: Tag 3 Scanned - Pil Tygo
description: Heeft Tygo zijn pil ingenomen?
trigger:
- platform: tag
tag_id: 96899d19-e982-4487-b1cf-f54e8361cd4a
condition: []
action:
- service: logbook.log
data:
name: Tygo
message: Pil ingenomen
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.tag3_scanned
- delay:
hours: 20
minutes: 0
seconds: 0
milliseconds: 0
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.tag3_scanned
- service: notify.mobile_app_js_pm14
data:
message: Tygo heeft zijn pil ingenomen.
title: Medicatie Tygo
mode: single
- id: '1668709053069'
alias: Auto.VerwarmingOchtendAan
description: ''
trigger:
- platform: time
at: input_datetime.time_ochtendverwarmingaan
condition: []
action:
- service: climate.set_temperature
data:
temperature: 20
target:
entity_id: climate.toon_thermostat
mode: single
- id: '1668709124344'
alias: Auto.VerwarmingOchtendUit
description: ''
trigger:
- platform: time
at: input_datetime.time_ochtendverwarminguit
condition: []
action:
- service: climate.set_temperature
data:
temperature: 18
target:
entity_id: climate.toon_thermostat
mode: single
- id: '1677695955161'
alias: Auto.DoucheLichtUit
description: ''
trigger:
- platform: device
type: turned_on
device_id: aa5b0bcd79ec817ba4824710ac861786
entity_id: light.lamp_badkamer
domain: light
for:
hours: 0
minutes: 30
seconds: 0
condition: []
action:
- type: turn_off
device_id: aa5b0bcd79ec817ba4824710ac861786
entity_id: light.lamp_badkamer
domain: light
mode: single
- id: '1677697304053'
alias: Auto.LampOverloopUit
description: ''
trigger:
- platform: device
type: turned_on
device_id: 9987846de620c1d696706cb9c206435d
entity_id: light.lamp_overloop
domain: light
for:
hours: 0
minutes: 15
seconds: 0
condition: []
action:
- type: turn_off
device_id: 9987846de620c1d696706cb9c206435d
entity_id: light.lamp_overloop
domain: light
mode: single
- id: '1677697427744'
alias: Auto.LampVoorzolderUit
description: ''
trigger:
- platform: device
type: turned_on
device_id: 01b104464517aa7f281a27cce6599598
entity_id: light.lamp_voorzolder
domain: light
for:
hours: 0
minutes: 15
seconds: 0
condition: []
action:
- type: turn_off
device_id: 01b104464517aa7f281a27cce6599598
entity_id: light.lamp_voorzolder
domain: light
mode: single
- id: '1677698047423'
alias: Auto.KeukenLampUit
description: ''
trigger:
- platform: device
type: turned_on
device_id: 0aa7c4ae68124495fca2a5eecb5462a5
entity_id: light.lamp_keuken
domain: light
for:
hours: 0
minutes: 30
seconds: 0
condition: []
action:
- type: turn_off
device_id: 0aa7c4ae68124495fca2a5eecb5462a5
entity_id: light.lamp_keuken
domain: light
mode: single
- id: '1678050469040'
alias: Button.AlleLampenUit
description: Alle verlichting in ruimtes uit
trigger:
- platform: state
entity_id:
- input_button.button_allelampenuit
condition: []
action:
- service: light.turn_off
data: {}
target:
area_id:
- badkamer
- grote_slaapkamer
- slaapkamer_diego
- gang
- keuken
- woonkamer
- slaapkamer_isabella
- slaapkamer_tygo
- overloop
- voorzolder
mode: single
- id: '1679423579283'
alias: switch-dail.woonkamer
description: ''
use_blueprint:
path: freakshock88/philips_hue_tap_dial_switch_zigbee2mqtt_actions_blueprint.yaml
input:
button_sensor: sensor.dail_woonkamer_action
remote_dial_rotate_left_step: []
remote_dial_rotate_left_slow:
- service: light.turn_on
data:
brightness_step_pct: -10
target:
area_id: woonkamer
device_id: d134f33492a74fc21769d22c88f690a9
remote_dial_rotate_right_slow:
- service: light.turn_on
data:
brightness_step_pct: 10
target:
area_id: woonkamer
device_id: d134f33492a74fc21769d22c88f690a9
remote_button_1_hold: []
remote_button_1_single_press:
- service: light.turn_on
data:
brightness_step: -10
target:
area_id: woonkamer
remote_button_2_single_press:
- service: light.turn_on
data:
brightness_step_pct: 10
target:
area_id: woonkamer
remote_button_4_single_press:
- service: cover.set_cover_position
data:
position: 100
target:
entity_id: cover.shelly_shsw_25_4c75253337bc
remote_button_4_hold:
- service: cover.set_cover_position
data:
position: 0
target:
entity_id: cover.shelly_shsw_25_4c75253337bc
remote_button_3_single_press:
- service: cover.set_cover_position
data:
position: 100
target:
entity_id: cover.shelly_shsw_25_c45bbe78fd72
remote_button_3_hold:
- service: cover.set_cover_position
data:
position: 0
target:
entity_id: cover.shelly_shsw_25_c45bbe78fd72
- id: '1679665531615'
alias: Auto.DoucheFan15Min
description: Douche afzuiging aan voor 15 minuten
trigger: []
condition: []
action:
- service: timer.start
data: {}
target:
entity_id: timer.timer_15minuten
- service: switch.turn_on
data: {}
target:
entity_id: switch.shelly_shplg_s_7ae6ad
- delay:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.shelly_shplg_s_7ae6ad
mode: single
- id: '1679665887587'
alias: Auto.DoucheFan30Min
description: Douche afzuiging aan voor 30 minuten
trigger: []
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.shelly_shplg_s_7ae6ad
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.shelly_shplg_s_7ae6ad
mode: single