-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautomations.yaml
More file actions
2737 lines (2713 loc) · 71.3 KB
/
Copy pathautomations.yaml
File metadata and controls
2737 lines (2713 loc) · 71.3 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
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
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
- id: '1606080091705'
alias: AUT001 Garagepoort staat te lang open
description: Verstuur een melding als de garagepoort te lang open staat.
triggers:
- entity_id: binary_sensor.poortcontact_contact
from: 'off'
to: 'on'
for: 0:10:00
trigger: state
conditions: []
actions:
- data:
entity_id: media_player.keukenhub,media_player.kamer_gabrie, media_player.woonkamer
message: De garagepoort is al langer dan 5 minuten open.
language: nl
action: tts.google_translate_say
enabled: true
- data:
title: Garagepoort Open
message: De garagepoort is al langer dan 10 minuten open.
data:
tts: 0
priority: high
action: notify.mobile_app_telefoongabrie
- data:
title: Garagepoort Open
message: De garagepoort is al langer dan 10 minuten open.
data:
tts: 0
priority: high
action: notify.mobile_app_telefoonbas
- action: notify.mobile_app_pixel_8a
data:
message: Garagepoort langer dan 5min open
title: Garagepoort langer dan 5min open
mode: single
- id: '1606679482142'
alias: AUT004 Deurbel
description: Notificaties wanneer de deurbel gedrukt wordt
triggers:
- entity_id:
- binary_sensor.relais001_button
to: 'on'
trigger: state
enabled: false
- type: turned_on
device_id: 3fefdc742a4117f83dbb2f935e5e9ec8
entity_id: 2f2f00b683d04f8c9cd03eaff704e15a
domain: binary_sensor
trigger: device
conditions: []
actions:
- data:
message: Er is iemand aan de voordeur!
action: notify.telegram
- data: {}
action: script.scr001_flashlightzolderbas
- action: script.scr004_flashlightbureau
data: {}
- data:
title: Deurbel
message: Er is iemand aan de voordeur!
data:
tts: 0
priority: high
action: notify.AlleNotificaties
- action: tts.cloud_say
data:
cache: true
entity_id: media_player.woonkamer
message: De deurbel
mode: single
- id: '1607202607844'
alias: AUT005 NFC opent Garage
description: ''
trigger:
- platform: tag
tag_id: d3f0420f-7560-49dc-830d-ed84fce24509
condition: []
action:
- service: notify.telegram
data:
message: De NFC001 is gescanned
- service: switch.toggle
data:
entity_id: switch.relais002_relaisstate
- service: notify.mobile_app_telefoongabrie
data:
title: Garagepoort open/dicht
message: De garagepoort wordt via NFC open/dicht gemaakt.
data:
tts: 0
priority: high
- service: notify.mobile_app_telefoondaan
data:
title: Garagepoort open/dicht
message: De garagepoort wordt via NFC open/dicht gemaakt.
data:
tts: 0
priority: high
- service: notify.mobile_app_bas
data:
message: De garagepoort wordt via NFC open/dicht gemaakt.
mode: single
- id: '1607377517341'
alias: AUT045-B 22:30u Anna Sleep
description: Om 22:30u verwarming naar ASLEEP
trigger:
- platform: time
at: '22:30:00'
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: 00:00:00
after: 00:00:00
action:
- service: climate.set_preset_mode
data:
preset_mode: asleep
entity_id: climate.anna
- service: notify.mobile_app_telefoongabrie
data:
title: Thermostaat AUT006
message: Thermo gaat naar nachtstand.
data:
tts: 0
priority: high
- service: climate.set_hvac_mode
data:
hvac_mode: 'off'
target:
device_id: fac9b00a382db56093a1982fdba8c5d3
mode: single
- id: '1608073935353'
alias: AUT009 - Stofzuiger - Stofzuigen
description: Weekschema voor stofzuiger start
triggers:
- at: input_datetime.vacuum_schedule_start_time
trigger: time
conditions: []
actions:
- device_id: 1c0ce252318ce8e902d944bc4f630d9a
domain: vacuum
entity_id: c35d8e882b0b5cc5d161bb2d01db27d4
type: clean
- action: vacuum.send_command
metadata: {}
data:
command: app_segment_clean
params: 16,17
target:
device_id: 1c0ce252318ce8e902d944bc4f630d9a
mode: single
- id: '1608149259701'
alias: AUT010 Wekker Bas
description: Wekker voor Bas via de zolder lamp en Google Mini
trigger:
- platform: time
at: input_datetime.baswekker_schedule_start_time
condition:
- condition: state
entity_id: sensor.baswekker_day
state: 'on'
- condition: state
entity_id: input_boolean.baswekker_enabled
state: 'on'
action:
- service: tts.google_translate_say
data:
entity_id: media_player.googlehome5415
message: Goedemorgen Bas, tijd om op te staan.
language: nl
- service: media_player.play_media
data:
media_content_type: audio/mp4
media_content_id: media-source://media_source/local/goodmorning.mp3
target:
device_id: df277b4f1ff1e4ab939aac6342f175ee
- service: light.turn_on
data: {}
target:
area_id: 37d65e06028c11ebb6270dd149645529
mode: single
- id: '1608572982289'
alias: AUT011 Uitzetten electrische deken
description: Electrische deken van Daan uitzetten na 1,5u
trigger:
- platform: state
entity_id: switch.powerplug003
to: 'on'
for: '1:30:00'
condition: []
action:
- service: notify.mobile_app_telefoongabrie
data:
title: Electrische deken uit
message: De Electrische deken gaat uit na 1,5uur
data:
tts: 0
priority: high
- type: turn_off
device_id: cc90c9bf343b14efeed1b880fda0ed52
entity_id: switch.powerplug003
domain: switch
- service: notify.mobile_app_telefoondaan
data:
title: Electrische deken uit
message: De Electrische deken gaat uit na 1,5uur
data:
tts: 0
priority: high
mode: single
- id: '1608627667363'
alias: AUT012 Zonne-energie
description: Verstuur een melding als 10min lang meer dan 1000 KWh opgevangen wordt.
triggers:
- entity_id: sensor.inverter_goodwe
above: '1000'
for: 00:15:00
trigger: numeric_state
conditions: []
actions:
- data: {}
enabled: false
action: script.scr004_flashlightbureau
- data:
title: Zonne-energie is hoog
message: We vangen 15min meer dan 1000 KWh.
data:
tts: 0
priority: high
action: notify.mobile_app_telefoongabrie
- action: mqtt.publish
metadata: {}
data:
topic: awtrix_clock/notify
payload: '{"text": "Meer dan 1000W zonne-energie", "duration": 20, "icon":52156,
"textCase":2}'
mode: single
- id: '1609788866232'
alias: AUT013 Garagepoort staat open zonder beweging
description: Verstuur een melding als de garagepoort te lang open staat.
trigger:
- platform: state
entity_id: binary_sensor.poortcontact_contact
from: 'off'
to: 'on'
for: 0:15:00
condition:
- condition: state
entity_id: binary_sensor.poortcontact_contact
state: 'on'
- condition: and
conditions:
- condition: state
entity_id: binary_sensor.lumi_motionsensor_garage
state: 'off'
for:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
action:
- service: tts.google_translate_say
data:
entity_id: media_player.keukenhub, media_player.woonkamer,media_player.kamer_daan,
media_player.kamer_gabrie, media_player.kamer_bas
message: De garagepoort is open zonder beweging.
language: nl
- service: notify.mobile_app_telefoongabrie
data:
title: Garagepoort open
message: De garagepoort is open zonder beweging.
data:
tts: 0
priority: high
- service: notify.mobile_app_telefoonbas
data:
message: De garagepoort is open zonder beweging.
title: Garagepoort open
data:
tts: 0
priority: high
- service: notify.mobile_app_telefoondaan
data:
title: Garagepoort open
message: De garagepoort is open zonder beweging.
data:
tts: 0
priority: high
- service: notify.telegram
data:
message: De garagepoort is open zonder beweging.
mode: single
- id: '1611696927118'
alias: AUT014 Licht aan woonkamer bij beweging
description: Wanneer lampen uit zijn in woonkamer en er beweging is, licht aan
triggers:
- entity_id:
- binary_sensor.motionwoonkamer_occupancy
to: 'on'
from: 'off'
trigger: state
conditions:
- condition: state
entity_id: sun.sun
state: below_horizon
- condition: or
conditions:
- condition: state
entity_id: vacuum.roborock_s5_max
state: idle
- condition: state
entity_id: vacuum.roborock_s5_max
state: unavailable
- condition: state
entity_id: vacuum.q8max
state: idle
- condition: state
entity_id: vacuum.q8max
state: unavailable
- condition: state
entity_id: light.woonkamertotaal
state: 'off'
actions:
- data: {}
target:
device_id:
- dfd58c0a195722d15246db03cc7e5e33
- 8dd49e0e268a9e0bc723401332d9a6d0
action: light.turn_on
- wait_for_trigger:
- entity_id:
- binary_sensor.motionwoonkamer_occupancy
from: 'on'
to: 'off'
trigger: state
- delay: 1
- target:
area_id:
- 23e6c7fb9f204e3eb18fe60dcaf3c181
- 7ed3a9f5218c404ba791bca0ead7c973
data: {}
action: light.turn_off
mode: single
- id: '1612781258481'
alias: AUT015 Stofzuiger heeft gelopen
description: Melding als de stofzuiger gelopen heeft.
triggers:
- entity_id: vacuum.roborock_s5_max
to: docked
from: returning
trigger: state
- trigger: state
entity_id:
- vacuum.q8max
to: docked
from: returning
conditions: []
actions:
- data:
message: Stofzuiger heeft gelopen
action: notify.mobile_app_telefoongabrie
mode: single
- id: '1619197239154'
alias: AUT020 TV Notificatie
description: Melding op TV
trigger:
- type: opened
platform: device
device_id: 6405932b9a8d29f992617daef045f87d
entity_id: acffde27f089dabee5d3de9242928d46
domain: binary_sensor
condition: []
action:
- data:
message: De garagepoort is open!
title: Poort
data:
duration: 10
fontsize: small
position: bottom-right
action: notify.lgtv
mode: single
- id: '1621101748225'
alias: AUT036 TuinSchijnwerper gaat aan
description: ''
triggers:
- type: turned_on
device_id: ad60897a5f8a13a48700df33d49a02f6
entity_id: a1a4dd9e2a41e3ac861add4c46b4c654
domain: light
trigger: device
conditions: []
actions:
- data:
message: Tuinschijnwerper aan
action: notify.mobile_app_telefoongabrie
mode: single
- id: '1621101774011'
alias: AUT037 TuinSchijnwerper gaat uit
description: ''
triggers:
- type: turned_off
device_id: ad60897a5f8a13a48700df33d49a02f6
entity_id: a1a4dd9e2a41e3ac861add4c46b4c654
domain: light
trigger: device
conditions: []
actions:
- data:
message: Tuinschijnwerper uit
action: notify.mobile_app_telefoongabrie
mode: single
- id: '1626101175510'
alias: AUT025 Melding als Sonoff offline gaat
description: Melding als Sonoff Bridge ping offline gaat
trigger:
- platform: state
entity_id: binary_sensor.sonoff_bridge
from: 'on'
to: 'off'
condition: []
action:
- service: notify.telegram
data:
message: Sonoff Bridge ging offline
title: Sonoff Bridge
mode: single
- id: '1627120739713'
alias: AUT027 Violet uit zone De Heeg met Airco aan
description: ''
trigger:
- platform: zone
entity_id: device_tracker.telefoonviolet
event: leave
zone: zone.de_heeg
condition:
- condition: not
conditions:
- condition: state
entity_id: climate.airco_bas
state: 'off'
action:
- service: notify.mobile_app_telefoonbas
data:
message: Wil je airco zolder uitzetten?
title: Airco
data:
actions:
- action: airco_uit
title: JA
- action: airco_aan
title: NEE
- wait_for_trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: airco_aan
- platform: event
event_type: mobile_app_notification_action
event_data:
action: airco_uit
timeout:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- alias: perform action
choose:
- conditions:
- condition: template
value_template: '{{ wait.trigger is none or wait.trigger.event.data.action
== ''airco_uit'' }}'
sequence:
- service: climate.turn_off
data: {}
target:
entity_id: climate.airco_bas
- service: notify.mobile_app_telefoonbas
data:
message: Na 15min wachten op antwoord, airco uitgezet
- conditions:
- condition: template
value_template: '{{ wait.trigger.event.data.action == ''airco_aan'' }}'
sequence:
- service: notify.mobile_app_telefoonbas
data:
message: Airco blijft aan
mode: single
- id: '1627152076049'
alias: AUT028 Gabrie zone De Heeg met Airco aan
description: ''
trigger:
- platform: zone
entity_id: person.gabrie_van_zanten
zone: zone.de_heeg
event: enter
- platform: zone
entity_id: device_tracker.oneplusgabrie
event: leave
zone: zone.de_heeg
condition:
- condition: not
conditions:
- condition: state
entity_id: climate.airco_woonkamer
state: 'off'
action:
- service: notify.mobile_app_telefoongabrie
data:
message: De airco woonkamer staat nog aan !!!
- service: notify.telegram
data:
message: De airco woonkamer staat nog aan !!!
mode: single
- id: '1627152486629'
alias: AUT029 Daan uit zone De Heeg met Airco aan
description: ''
trigger:
- platform: zone
entity_id: person.daan_van_zanten
event: leave
zone: zone.de_heeg
condition:
- condition: not
conditions:
- condition: state
entity_id: climate.airco_daan
state: 'off'
action:
- service: notify.mobile_app_telefoondaan
data:
message: De airco in kamer Daan staat nog aan !!!
- service: notify.mobile_app_telefoongabrie
data:
message: De airco in kamer Daan staat nog aan !!!
mode: single
- id: '1628883512004'
alias: AUT030 - Printer na 1u automatisch uit
description: ''
trigger:
- platform: state
entity_id: switch.powerplug001printer
from: 'off'
to: 'on'
condition: []
action:
- wait_template: ''
timeout: 01:00:00
- type: turn_off
device_id: 7ae187398e4a3fd6fab18dbfedbfd499
entity_id: switch.powerplug001printer
domain: switch
- service: notify.mobile_app_telefoonbas
data:
message: Printer automatisch uit na 1u
- service: notify.mobile_app_telefoongabrie
data:
message: Printer na 1u automatisch uitgezet
mode: single
- id: '1631381030277'
alias: AUT031 jaloezieën onder 20% battterij
description: ''
triggers:
- entity_id:
- sensor.blind_left_battery
below: '20'
trigger: numeric_state
- entity_id:
- sensor.blind_right_battery
below: '20'
trigger: numeric_state
conditions: []
actions:
- data:
message: jaloezieën onder de 10% accu
title: jaloezieën opladen
action: notify.telegram
mode: single
- id: '1633772441628'
alias: AUT038-1 Badkamer lamp hard aan
description: Hardlicht op badkamer
trigger:
- platform: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
from: 'off'
to: 'on'
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.ochtend
state: 'on'
- condition: state
entity_id: binary_sensor.avond
state: 'on'
- condition: state
entity_id: binary_sensor.dag
state: 'on'
action:
- service: light.turn_on
target:
entity_id:
- light.badkamerlamp
data:
brightness_pct: 75
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
- service: light.turn_off
target:
entity_id:
- light.badkamerlamp
mode: restart
max_exceeded: silent
- id: '1633984026346'
alias: AUT038-0 Badkamer zacht aan
description: Zachtlicht op Badkamer
trigger:
- platform: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
from: 'off'
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.slaaptijd
state: 'on'
action:
- service: light.turn_on
target:
entity_id:
- light.badkamerlamp
data:
brightness_pct: 1
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: light.turn_off
target:
entity_id:
- light.badkamerlamp
mode: restart
max_exceeded: silent
- id: '1636700304483'
alias: AUT040-2 Ganglamp onder zacht
description: Ganglamp onder zacht bij nacht
trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_07883702_ias_zone
from: 'off'
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.slaaptijd
state: 'on'
action:
- service: light.turn_on
target:
entity_id:
- light.ganglampbeneden
data:
brightness_pct: 1
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_07883702_ias_zone
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: light.turn_off
target:
entity_id:
- light.ganglampbeneden
mode: restart
max_exceeded: silent
- id: '1636700413216'
alias: AUT040-3 Ganglamp onder hard
description: Ganglamp onder hard bij dag
trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_07883702_ias_zone
from: 'off'
to: 'on'
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.ochtend
state: 'on'
- condition: state
entity_id: binary_sensor.avond
state: 'on'
action:
- service: light.turn_on
target:
entity_id:
- light.ganglampbeneden
data:
brightness_pct: 60
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_07883702_ias_zone
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: light.turn_off
target:
entity_id:
- light.ganglampbeneden
mode: restart
max_exceeded: silent
- id: '1638541896008'
alias: AUT019 Oven gereed
description: Notificatie als de oven gereed is
triggers:
- entity_id: sensor.oven_program_progress
for:
hours: 0
minutes: 0
seconds: 0
milliseconds: 0
above: '98'
below: '100'
trigger: numeric_state
conditions: []
actions:
- data:
title: AUT019 Oven programma klaar
message: AUT019 Oven programma klaar
data:
tts: 0
priority: high
action: notify.mobile_app_telefoongabrie
- action: notify.mobile_app_pixel_8a
data:
message: Oven is klaar!
title: Oven is klaar!
data:
tts: 0
priority: high
- data:
title: AUT019 Oven programma klaar
message: AUT019 Oven programma klaar
data:
tts: 0
priority: high
action: notify.mobile_app_telefoonbas
- data:
message: AUT019 Oven programma klaar
title: AUT019 Oven programma klaar
action: notify.lgtv
mode: single
- id: '1639776256652'
alias: AUT045-A 7u Anna Home Away
description: Check om 7u of Gabrie thuis is en zet bij thuis zijn de CV op HOME
triggers:
- at: 07:00:00
trigger: time
conditions:
- condition: numeric_state
entity_id: sensor.anna_temperature
below: 18
actions:
- choose:
- alias: Ga naar home als Gabrie thuis is
conditions:
- condition: state
entity_id: device_tracker.telefoongabrie
state: home
enabled: false
- condition: state
entity_id: device_tracker.gabpixel7
state: home
sequence:
- target:
device_id: 3667d1f5372390ea6b5a97ce1c603c8c
data:
preset_mode: home
action: climate.set_preset_mode
- data:
title: Thermostaat AUT045
message: Thermostaat op HOME
action: notify.mobile_app_telefoongabrie
- alias: Ga naar away als Gabrie niet thuis is
conditions:
- condition: not
conditions:
- condition: state
entity_id: device_tracker.telefoongabrie
state: home
sequence:
- target:
device_id: 3667d1f5372390ea6b5a97ce1c603c8c
data:
preset_mode: away
action: climate.set_preset_mode
- data:
title: Thermostaat AUT045
message: Thermo gaat naar "away" stand.
action: notify.mobile_app_telefoongabrie
default: []
mode: single
- id: '1641035998188'
alias: AUT046 Pollen meldingen
description: Notificatie als er pollen in de lucht zijn
trigger:
- platform: state
entity_id: sensor.climacell_tree_pollen_index
from: none
condition:
- condition: not
conditions:
- condition: state
entity_id: sensor.climacell_tree_pollen_index
state: unavailable
action:
- service: notify.telegram
data:
message: 'Climacell Bomen pollen gewijzigd '
- service: notify.mobile_app_oneplus7progabrie
data:
title: 'Climacell Bomen pollen gewijzigd '
message: Climacell
data:
tts: 0
priority: high
mode: single
- id: '1641128829998'
alias: AUT047 Douche langer dan 7min30
description: Notificatie wanneer er warm water gevraagd wordt
trigger:
- platform: state
entity_id:
- binary_sensor.auxiliary_dhw_state
from: 'off'
to: 'on'
for:
hours: 0
minutes: 7
seconds: 30
condition: []
action:
- service: notify.mobile_app_telefoongabrie
data:
message: Douche langer dan 7min30
title: Douche langer dan 7min30
- service: scene.create
data:
scene_id: lamp_before
snapshot_entities:
- light.badkamerlamp
- service: script.scr022_flashlightbadkamer
data: {}
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.lamp_before
data: {}
mode: single
- id: '1641166600532'
alias: AUT048 Ganglamp boven
description: Ganglamp boven
trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_51663602_ias_zone
from: 'off'
to: 'on'
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.slaaptijd
state: 'on'
sequence:
- service: light.turn_on
target:
device_id: 015ec03b60ee8ce94100b348b3984d9b
data:
brightness: 1
- conditions:
- condition: state
entity_id: binary_sensor.ochtend
state: 'on'
sequence:
- service: light.turn_on
target:
device_id: bbe5047608db678cc05d6aee4f538302
data:
brightness: 1
default:
- service: light.turn_on
target:
device_id: bbe5047608db678cc05d6aee4f538302
data:
brightness: 255
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lumi_lumi_sensor_motion_51663602_ias_zone
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
state: 'off'
sequence:
- service: light.turn_off
target:
device_id:
- 015ec03b60ee8ce94100b348b3984d9b
- bbe5047608db678cc05d6aee4f538302
- conditions:
- condition: state
entity_id: binary_sensor.lumi_motionsensor_badkamer
state: 'on'
sequence:
- service: light.turn_off
target:
device_id: bbe5047608db678cc05d6aee4f538302
default: []
mode: restart
max_exceeded: silent
- id: '1642262339885'
alias: AUT008-Z Airco Bas uit zomer
description: ''
trigger:
- platform: time
at: 02:00:00
condition:
- condition: or
conditions:
- condition: device
device_id: a5cbe79e266846ddf54c5fb4a2b7157c
domain: climate
entity_id: climate.airco_bas
type: is_hvac_mode
hvac_mode: heat
- condition: device
device_id: a5cbe79e266846ddf54c5fb4a2b7157c
domain: climate
entity_id: climate.airco_bas
type: is_hvac_mode
hvac_mode: cool
action:
- device_id: a5cbe79e266846ddf54c5fb4a2b7157c
domain: climate
entity_id: climate.airco_bas
type: set_hvac_mode
hvac_mode: 'off'
enabled: false
- service: notify.mobile_app_telefoonbas
data:
message: Airco automatisch uit om 2u
title: Airco automatisch uit
- service: notify.mobile_app_telefoongabrie
data:
message: Airco Bas uit Zomer
title: Airco Bas uit Zomer
mode: single
- id: '1645981284580'
alias: AUT052 Smoke detectors
description: ''
trigger:
- type: smoke
platform: device
device_id: f740c35acea5be6a7a3f87dc30143d71
entity_id: binary_sensor.smokealarmbijkeuken
domain: binary_sensor