-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathautomations.yaml
773 lines (773 loc) · 17.3 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
- id: '1630162475082'
alias: Media Player leise bei Anruf
description: ''
trigger:
- platform: state
entity_id: sensor.sm_n975f_phone_state
to: ringing
condition: []
action:
- service: media_player.volume_set
target:
entity_id:
- media_player.sonos_wohnzimmer_couch
- media_player.sonos_arc_wohnzimmer
- media_player.sonos_one_schlafzimmer
- media_player.sonos_play_1_werkstatt
data:
volume_level: 0.1
mode: single
- id: '1630163829406'
alias: SMARTPHONE - Notification Akku leer
description: ''
trigger:
- platform: state
entity_id: sensor.sm_n975f_battery_level
to: '20'
from: '21'
condition: []
action:
- service: notify.mobile_app_sm_n975f
data:
message: Bitte lade das Smartphone auf. Es verbleiben nur noch 20% Akku.
mode: single
- id: '1630216074327'
alias: deCONZ - IKEA Tradfri Schlafzimmer
description: ''
use_blueprint:
path: Bram_Kragten/deconz-ikea-five-button-remote-for-lights.yaml
input:
remote: b2ad82a7b7c848669b7286a48c0ff4c8
button_left_short:
- service: script.schlafzimmer_nacht
button_left_long:
- service: script.schlafzimmer_sexy_light
button_right_short:
- service: script.schlafzimmer_medium
button_right_long:
- service: script.schlafzimmer_hell
light:
entity_id: light.schlafzimmer
- id: '1630219218437'
alias: deCONZ - Philips Dimmschalter
description: ''
use_blueprint:
path: sbyx/deconz-hue-dimmer-switch.yaml
input:
remote: 7f611988d45f6e230321ffd8d770dfbc
on_press:
- service: script.wohnzimmer_hell
data: {}
on_hold:
- service: script.wohnzimmer_medium
data: {}
off_press:
- service: script.wohnzimmer_aus
data: {}
off_hold:
- service: script.wohnzimmer_nacht
data: {}
up_press:
- service: script.wohnzimmer_konzentration
data: {}
up_hold: []
down_press:
- service: script.wohnzimmer_sexy_light
data: {}
down_hold: []
- id: '1630221547334'
alias: Bewegungsmelder Werkstatt an
description: ''
trigger:
- platform: state
entity_id: binary_sensor.presence_18
to: 'on'
condition:
- condition: time
after: 07:00
before: '22:00'
action:
- service: script.werkstatt_hell
mode: single
- id: '1630222239628'
alias: Bewegungsmelder Werkstatt Licht aus
description: ''
trigger:
- platform: state
entity_id: binary_sensor.presence_18
to: 'off'
for: '1:00:00'
condition: []
action:
- service: script.werkstatt_aus
mode: single
- id: '1631043708265'
alias: LICHT - Wandschalter Wohnzimmer aus
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49c0f
to: 'off'
condition: []
action:
- service: script.wohnzimmer_aus
mode: single
- id: '1631044733272'
alias: LICHT - Wandschalter Wohnzimmer Tag - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49c0f
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
target:
entity_id:
- script.wohnzimmer_hell
data: {}
mode: single
- id: '1631366464842'
alias: LICHT - Wandschalter Wohnzimmer Nacht - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49c0f
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
target:
entity_id: script.wohnzimmer_nacht
mode: single
- id: '1631366601194'
alias: LICHT - Wandschalter Wohnzimmer Tag - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49c0f
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
target:
entity_id:
- script.wohnzimmer_hell
data: {}
mode: single
- id: '1631366755112'
alias: LICHT - Wandschalter Wohnzimmer Nacht - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49c0f
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
target:
entity_id: script.wohnzimmer_nacht
mode: single
- id: '1631378221690'
alias: LICHT - Wandschalter Schlafzimmer an
description: ''
trigger:
- platform: state
entity_id:
- switch.00085a49a49f84
to: 'on'
condition: []
action:
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 200
- service: script.schlafzimmer_hell
data: {}
mode: single
- id: '1631378662274'
alias: LICHT - Wandschalter Werkstatt aus
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49be1
to: 'off'
condition: []
action:
- service: script.werkstatt_aus
mode: single
- id: '1631378722968'
alias: LICHT - Wandschalter Werkstatt Nacht - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49be1
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.werkstatt_hell
mode: single
- id: '1631379090949'
alias: LICHT - Wandschalter Werkstatt Nacht - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49be1
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.werkstatt_nacht
mode: single
- id: '1631379147115'
alias: LICHT - Wandschalter Werkstatt Tag - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49be1
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.werkstatt_hell
mode: single
- id: '1631379212499'
alias: LICHT - Wandschalter Werkstatt Tag - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.00085a49a49be1
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.werkstatt_hell
mode: single
- id: '1631379866625'
alias: LICHT - Wandschalter Badezimmer aus
description: ''
trigger:
- platform: state
entity_id: switch.hmip_bsm_00085a49a4a57e
to: 'off'
condition: []
action:
- service: script.turn_on
target:
entity_id: script.badezimmer_aus
mode: single
- id: '1631379923167'
alias: LICHT - Wandschalter Badezimmer Nacht - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.hmip_bsm_00085a49a4a57e
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
target:
entity_id: script.badezimmer_nacht
mode: single
- id: '1631379985933'
alias: LICHT - Wandschalter Badezimmer Nacht - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.hmip_bsm_00085a49a4a57e
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.tagmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
target:
entity_id: script.badezimmer_nacht
mode: single
- id: '1631380075556'
alias: LICHT - Wandschalter Badezimmer Tag - Werktags
description: ''
trigger:
- platform: state
entity_id: switch.hmip_bsm_00085a49a4a57e
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_werktags
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.badezimmer_hell
mode: single
- id: '1631380268367'
alias: LICHT - Wandschalter Badezimmer Tag - Wochenende/Urlaub
description: ''
trigger:
- platform: state
entity_id: switch.hmip_bsm_00085a49a4a57e
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_wochenende
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: input_datetime.nachtmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.badezimmer_hell
mode: single
- id: '1631391812468'
alias: MOTION SENSOR - Flur - LICHT - Flur an - Wochenende tagsüber
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.presence_12
- binary_sensor.presence_9
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_wochenende
before: input_datetime.nachtmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.flur_hell
mode: single
- id: '1631392127589'
alias: MOTION SENSOR - Flur - LICHT - Flur Timer
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.presence_9
- binary_sensor.presence_12
to: 'on'
condition: []
action:
- service: timer.start
data: {}
target:
entity_id: timer.bewegungsmelder_flur
mode: single
- id: '1631398918230'
alias: MOTION SENSOR - Flur - LICHT - Flur aus
description: ''
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.bewegungsmelder_flur
condition: []
action:
- service: script.turn_on
target:
entity_id: script.flur_aus
data: {}
mode: single
- id: '1631398974078'
alias: MOTION SENSOR - Flur - LICHT - Flur an - Werktags Nacht
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.presence_12
- binary_sensor.presence_9
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_werktags
before: input_datetime.tagmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
target:
entity_id: script.flur_nacht
data: {}
mode: single
- id: '1631399071620'
alias: MOTION SENSOR - Flur - LICHT - Flur an - Werktags tagsüber
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.presence_12
- binary_sensor.presence_9
to: 'on'
condition:
- condition: time
after: input_datetime.tagmodus_werktags
before: input_datetime.nachtmodus_werktags
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: script.turn_on
data: {}
target:
entity_id: script.flur_hell
mode: single
- id: '1631399107802'
alias: MOTION SENSOR - Flur - LICHT - Flur an - Wochenende Nacht
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.presence_12
- binary_sensor.presence_9
to: 'on'
condition:
- condition: time
after: input_datetime.nachtmodus_wochenende
before: input_datetime.tagmodus_wochenende
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- service: script.turn_on
target:
entity_id: script.flur_nacht
data: {}
mode: single
- id: '1672004851347'
alias: MOTION SENSOR - Küche - LICHT - Licht an
description: ''
trigger:
- type: motion
platform: device
device_id: 8dbcd74b4bbd4af68d2e60c0237c5312
entity_id: binary_sensor.presence_21
domain: binary_sensor
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.hmip_bsm_00085a49a49be7
mode: single
- id: '1672780505823'
alias: LICHT - Wandschalter Schlafzimmer aus
description: ''
trigger:
- platform: state
entity_id:
- switch.00085a49a49f84
to: 'off'
condition: []
action:
- service: script.schlafzimmer_aus
data: {}
mode: single
- id: '1693847374649'
alias: Frigate Notifications (0.12.0.1)
description: ''
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.eingang
notify_device: fac89688300f48feab9317e8f694c80f
labels: []
presence_filter: person.philipp
state_filter: false
attachment: snapshot
message: '{{ label }} detected - {{ camera_name }}'
silence_timer: 240
- id: '1706648446084'
alias: Voice Assist - Wohnzimmer hell
description: Voice Assist - Wohnzimmer hell
trigger:
- platform: conversation
command: Wohnzimmer hell
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_hell
mode: single
- id: '1706648549884'
alias: Voice Assist - Wohnzimmer medium
description: Voice Assist - Wohnzimmer medium
trigger:
- platform: conversation
command:
- Wohnzimmer medium
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_medium
mode: single
- id: '1706648769592'
alias: Voice Assist - Wohnzimmer Nacht
description: Voice Assist - Wohnzimmer Nacht
trigger:
- platform: conversation
command:
- Wohnzimmer Nacht
- Wohnzimmer nacht
- Wohnzimmer dunkel
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_nacht
mode: single
- id: '1706649110047'
alias: Voice Assist - Wohnzimmer Sexy Light
description: Voice Assist - Wohnzimmer Sexy Light
trigger:
- platform: conversation
command:
- Wohnzimmer Sexy Light
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_sexy_light
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.sonos_arc_wohnzimmer
message: Viel Spaß!
mode: single
- id: '1706653049390'
alias: Voice Assist - Wohnzimmer aus
description: Voice Assist - Wohnzimmer aus
trigger:
- platform: conversation
command: Wohnzimmer aus
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_aus
mode: single
- id: '1706764930693'
alias: Voice Assist - Wohnzimmer Boost
description: Voice Assist - Wohnzimmer Boost
trigger:
- platform: conversation
command: Wohnzimmer Boost
condition: []
action:
- service: script.wohnzimmer_boost
metadata: {}
data: {}
response_variable: Wohnzimmer Boost eingeschaltet
mode: single
- id: '1706935406070'
alias: Voice Assist - Wohnzimmer Tageslicht
description: Voice Assist - Wohnzimmer Tageslicht
trigger:
- platform: conversation
command:
- Wohnzimmer Tageslicht
condition: []
action:
- service: script.wohnzimmer_tageslicht
data: {}
response_variable: 'message: "erledigt"'
mode: single
- id: '1706936332341'
alias: Voice Assist - Wohnzimmer Konzentration
description: Voice Assist - Wohnzimmer Konzentration
trigger:
- platform: conversation
command:
- Wohnzimmer Konzentration
condition: []
action:
- service: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.wohnzimmer_konzentration
mode: single