-
Notifications
You must be signed in to change notification settings - Fork 1
/
automations.yaml
1171 lines (1166 loc) · 28.8 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
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: '1603830622083'
alias: Gang verlichting
description: Triggers when there is movement in the hall at ground level or first
floor. When it freezes, warn with a blue light. Brightness is adapted to the desired
level. Because the IKEA sensor at the corridor is slow in going to the cleared
state, have a 10m wait before the Philips sensor at the hall is allowed to clear.
trigger:
- platform: state
entity_id:
- binary_sensor.hall_motion
- binary_sensor.corridor_motion
- binary_sensor.front_door
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.dark
state: 'on'
action:
- choose:
- conditions:
- condition: time
after: '22:00:00'
before: 06:00:00
sequence:
- service: light.turn_on
data:
brightness_pct: 1
kelvin: 2000
target:
entity_id:
- light.corridor
- light.hall
- conditions:
- condition: numeric_state
entity_id: sensor.temperature
below: 0.1
sequence:
- service: light.turn_on
data:
color_temp: 500
brightness: 255
target:
entity_id:
- light.hall
- service: light.turn_on
data:
brightness: 100
color_temp: 331
target:
entity_id:
- light.corridor
- conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
after: 06:39:00
before: 07:05:00
- condition: not
conditions:
- condition: state
entity_id: sensor.utrecht_alkmaar
state:
- unknown
- unavailable
alias: Utrecht - Alkmaar is available
- alias: Test if there is an abnormality
condition: or
conditions:
- condition: state
entity_id: sensor.utrecht_alkmaar
attribute: going
state: 'false'
alias: Train not running
- alias: Train status is not normal
condition: not
conditions:
- condition: state
entity_id: sensor.utrecht_alkmaar
state: normal
attribute: status
- condition: state
entity_id: sensor.utrecht_alkmaar
attribute: departure_delay
state: 'true'
sequence:
- service: light.turn_on
data:
color_temp: 153
brightness_pct: 100
flash: long
target:
entity_id:
- light.hall
- light.corridor
- service: notify.mobile_app_sm_s901b
data:
title: Train is delayed or cancelled.
message: 'Going {{ state_attr(''sensor.utrecht_alkmaar'',
''going'') }} Departure time actual {{ state_attr(''sensor.utrecht_alkmaar'',
''departure_time_actual'') }} Departure delay {{ state_attr(''sensor.utrecht_alkmaar'',
''departure_delay'') }} Status {{ state_attr(''sensor.utrecht_alkmaar'',
''status'') }} Remarks {{ state_attr(''sensor.utrecht_alkmaar'',
''remarks'') }} {% if state_attr(''sensor.utrecht_alkmaar'', ''transfers'')
| int(0) != 0 %} Transfers {{ state_attr(''sensor.utrecht_alkmaar'',
''transfers'') }} {% endif %}
'
default:
- service: light.turn_on
data:
brightness: 100
color_temp: 326
target:
entity_id:
- light.corridor
- light.hall
- wait_template: ' {{ (states(''binary_sensor.hall_motion'') == ''off'') and (states(''binary_sensor.corridor_motion'')
== ''off'') }}'
continue_on_timeout: true
timeout: 01:00:00
- service: light.turn_off
target:
entity_id:
- light.corridor
- light.hall
data: {}
mode: single
- id: '1603831020194'
alias: Keukenverlichting
description: Triggers when there is movement in the kitchen. Only activate light
when there is less than 20 lux measured in the hall at ground level. Brightness
is adapted to the desired level.
trigger:
- platform: state
entity_id:
- binary_sensor.kitchen_motion
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.dark
state: 'on'
action:
- service: light.turn_on
data:
brightness_pct: '{% if (now().hour|int >= 22) or (now().hour|int <= 7) %} 1
{% else %} 100 {% endif %}'
color_temp: '{% if (now().hour|int >= 22) or (now().hour|int <= 7) %} 454 {%
else %} 366 {% endif %}'
target:
entity_id: light.kitchen
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.kitchen_motion
to: 'off'
for:
hours: 0
minutes: 2
seconds: 0
timeout:
hours: 1
minutes: 0
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.kitchen
mode: single
- id: '1608134139962'
alias: Schuurdeur
description: Put the light in the shed on when the door is opened and it is dark.
Put it off when the door is closed for longer than two minutes. If the door is
closed, the user is reminded of this automation by a brief flash.
trigger:
- platform: state
entity_id:
- binary_sensor.shed_door
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.dark
state: 'on'
action:
- service: light.turn_on
data: {}
target:
area_id: shed
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.shed_door
to: 'off'
timeout:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
area_id: shed
mode: restart
- id: '1609974870568'
alias: Deurbel
description: Flash lights and notify when the doorbell is detected by the RTL_433
extension.
trigger:
- platform: device
domain: mqtt
device_id: 83b12a930eaf4c7cb659f87de06f7708
type: button_short_release
subtype: button_1
discovery_id: Proove-Security-3-30755554 Proove-Security-3-30755554-CH
condition: []
action:
- device_id: c0f2abd8a92c0bfad616ec4aa371901d
domain: mobile_app
type: notify
message: Deurbel!
- service: light.toggle
data:
flash: long
target:
area_id:
- kitchen
- hall
- corridor
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: light.toggle
data:
flash: long
target:
area_id:
- kitchen
- hall
- corridor
mode: single
- id: '1612988672846'
alias: Toiletverlichting
description: Switch the toilet light when the door is opened.
trigger:
- platform: state
entity_id:
- binary_sensor.toilet_door
to: 'on'
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.toilet
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.toilet_door
to: 'on'
timeout:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.toilet
mode: single
- id: '1612988850571'
alias: Voorraadkast verlichting
description: Switch the light in the pantry when the door is opened or closed.
trigger:
- platform: state
entity_id:
- binary_sensor.pantry_door
to: 'on'
condition: []
action:
- service: light.turn_on
entity_id: light.pantry
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.pantry_door
to: 'off'
timeout:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: light.turn_off
entity_id: light.pantry
mode: single
- id: '1614112596198'
alias: Fietsverlichting
description: ''
trigger:
- platform: state
entity_id: binary_sensor.bike_motion
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.dark
state: 'on'
action:
- service: light.turn_on
data: {}
target:
entity_id: light.bike
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.bike_motion
to: 'off'
timeout:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.bike
mode: single
- id: '1652901588502'
alias: Robotstofzuiger opgeladen
description: ''
trigger:
- platform: numeric_state
entity_id:
- vacuum.bluebot_xboost
attribute: battery_level
above: '99'
condition: []
action:
- device_id: c0f2abd8a92c0bfad616ec4aa371901d
domain: mobile_app
type: notify
message: Vacuum charged
mode: single
- id: '1662921513914'
alias: Inloopkast verlichting
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.walk_in_closet_door
from: 'off'
to: 'on'
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.walk_in_closet
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.walk_in_closet_door
to: 'off'
continue_on_timeout: true
timeout:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.walk_in_closet
mode: single
- id: '1663095761773'
alias: Terrasverlichting
description: ''
use_blueprint:
path: EPMatt/philips_324131092621.yaml
input:
integration: ZHA
controller_device: d2d1de274ba99aa61fa79c7b3f8e64c1
action_button_on_short:
- service: light.turn_on
data: {}
target:
entity_id: light.terrace
action_button_off_short:
- service: light.turn_off
data: {}
target:
entity_id: light.terrace
action_button_on_long:
- service: automation.turn_on
data: {}
target:
entity_id: automation.hall_corridor_light
action_button_off_long:
- service: automation.turn_off
data: {}
target:
entity_id: automation.hall_corridor_light
action_button_up_short:
- device_id: a9f1fc5ca682b5534d1e91820b492b08
domain: light
entity_id: light.terrace
type: brightness_increase
action_button_down_short:
- device_id: a9f1fc5ca682b5534d1e91820b492b08
domain: light
entity_id: light.terrace
type: brightness_decrease
action_button_up_long: []
- id: '1672605032341'
alias: Notificatie GJ
description: ''
triggers:
- entity_id:
- sensor.energymeter_voltage
above: 0
below: 207
trigger: numeric_state
- entity_id:
- sensor.energymeter_voltage
above: 253
trigger: numeric_state
- entity_id:
- sensor.shed_frostrisk
from: no_risk
trigger: state
- entity_id:
- sensor.air_quality_esp_temperature
- sensor.air_quality_sen55_temperature
- sensor.attic_temperature
- sensor.bathroom_temperature
- sensor.bedroom_temperature
- sensor.dehumidifier_temperature
- sensor.guestroom_temperature
- sensor.growatt_ipm_temperature
- sensor.growatt_temperature
- sensor.hall_motion_temperature
- sensor.koelkast_boven_device_temperature
- sensor.lounge_temperature
- sensor.nieuw_engeland_drive_1_temperature
- sensor.nieuw_engeland_drive_2_temperature
- sensor.nieuw_engeland_temperature
- sensor.shed_temperature
- sensor.system_monitor_processor_temperature
- sensor.vriezer_schuur_device_temperature
below: 5
alias: Wanneer temperatuur lager dan 5
trigger: numeric_state
- alias: Wanneer temperatuur te hoog
entity_id:
- sensor.attic_temperature
- sensor.bathroom_temperature
- sensor.bedroom_temperature
- sensor.dehumidifier_temperature
- sensor.guestroom_temperature
- sensor.hall_motion_temperature
- sensor.koelkast_boven_device_temperature
- sensor.lounge_temperature
- sensor.shed_temperature
- sensor.vriezer_schuur_device_temperature
above: 45
trigger: numeric_state
- alias: Wanneer temperatuur te hoog
entity_id:
- sensor.air_quality_esp_temperature
- sensor.air_quality_sen55_temperature
- sensor.growatt_ipm_temperature
- sensor.growatt_temperature
- sensor.nieuw_engeland_drive_1_temperature
- sensor.nieuw_engeland_drive_2_temperature
- sensor.nieuw_engeland_temperature
- sensor.system_monitor_processor_temperature
- sensor.zielhorst_temperatuur
- sensor.zielhorst_drive_2_temperatuur
above: 70
trigger: numeric_state
- alias: Overpowering
entity_id:
- binary_sensor.bike_light_overpowering
- binary_sensor.bike_socket_overpowering
- binary_sensor.dakterras_overpowering
- binary_sensor.desk_north_overpowering
- binary_sensor.dishwasher_overpowering
- binary_sensor.dryer_overpowering
- binary_sensor.energymeter_overpowering
- binary_sensor.koelkast_boven_overpowering
- binary_sensor.server_plug_overpowering
- binary_sensor.toilet_light_overpowering
- binary_sensor.vriezer_schuur_overpowering
- binary_sensor.washing_machine_overpowering
to: 'on'
trigger: state
- alias: Changed Archer IP address
entity_id:
- sensor.archer_ax55_external_ip
trigger: state
- entity_id:
- sensor.washing_machine_flood_battery
for:
hours: 24
minutes: 0
seconds: 0
trigger: state
- entity_id:
- sensor.growatt_energy
to: unavailable
for:
hours: 24
minutes: 0
seconds: 0
id: Zonnepanelen
trigger: state
- type: value
device_id: 3e1b266f2968a4f10a61e51feba13106
entity_id: 9d9db7e2780c464459551e7125c520b2
domain: sensor
above: 70
for:
hours: 0
minutes: 5
seconds: 0
trigger: device
- type: temperature
device_id: 3e1b266f2968a4f10a61e51feba13106
entity_id: a2d0637f037c4cac5dbc03340cb3a17c
domain: sensor
above: 60
for:
hours: 0
minutes: 5
seconds: 0
trigger: device
- type: moist
device_id: 4e458e050949dc393f7743185a458889
entity_id: acd2f3e0b3085c146651edad738825c9
domain: binary_sensor
trigger: device
- type: battery_level
device_id: 4e458e050949dc393f7743185a458889
entity_id: 9875247b23ecd598887fc0c09ca6856a
domain: sensor
below: 20
trigger: device
- type: not_running
device_id: 12f40b894e7cb1a6d106fc67b1b21774
entity_id: 15d617713a58fc46c507c6a621c879c6
domain: binary_sensor
for:
hours: 24
minutes: 0
seconds: 0
trigger: device
- type: problem
device_id: 12f40b894e7cb1a6d106fc67b1b21774
entity_id: 171f37087b7b0173b8263dc80e365b94
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 953c91864067f38764af450c5f41be7c
entity_id: d22b961e536ec094696c518cc29bc458
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 85927e6fc408b6dac1ffebfe6bd78fe8
entity_id: 74e7e69f06c6fd70c7190dc40800f75c
domain: binary_sensor
trigger: device
- type: unsafe
device_id: a51b48c16bf9dbf5819ad4487b5ae986
entity_id: d7e5fdcc800b4dc2bfb5f6134c5d6f30
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 85927e6fc408b6dac1ffebfe6bd78fe8
entity_id: fc838f1928c59f02c5da4684972ba3b3
domain: binary_sensor
trigger: device
- type: unsafe
device_id: a51b48c16bf9dbf5819ad4487b5ae986
entity_id: 5343610b6d8a7948ff425e24df8da4e3
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 09af19128cda6923b1db82c1840ac8a9
entity_id: 1747994f5420031cbc08b6b06ae572ef
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 6657701df27875b921cad967b40d2123
entity_id: 3bca8e808c262220e14de2f73896760b
domain: binary_sensor
trigger: device
- type: unsafe
device_id: 6657701df27875b921cad967b40d2123
entity_id: f54aa3afdc5e524391f555f041d0870b
domain: binary_sensor
trigger: device
conditions: []
actions:
- device_id: c0f2abd8a92c0bfad616ec4aa371901d
domain: mobile_app
type: notify
title: Probleem met {{ trigger.entity_id }}
message: Triggered van status {{ trigger.from_state.state }} naar {{ trigger.to_state.state
}} op {{ now() }}.
mode: single
- id: '1672607309301'
alias: Bureau Mirjam
description: Handling events from the buttons on the desks.
trigger:
- id: south_on
device_id: f2920d964a5c507e42ff8757a220ddb8
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
- id: south_off
device_id: f2920d964a5c507e42ff8757a220ddb8
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: south_on
sequence:
- service: switch.turn_on
entity_id: switch.desk_south
- conditions:
- condition: trigger
id: south_off
sequence:
- service: switch.turn_off
target:
entity_id: switch.desk_south
data: {}
mode: single
- id: '1692770404361'
alias: Vaatwasser
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.dishwasher_power
for:
hours: 0
minutes: 30
seconds: 0
below: 5
condition: []
action:
- device_id: c0f2abd8a92c0bfad616ec4aa371901d
domain: mobile_app
type: notify
message: Vaatwasser is klaar
mode: single
- id: '1693470796463'
alias: Wasmachine
description: ''
trigger:
- type: not_running
platform: device
device_id: 7b748ddf488252dc1ed824f226b39955
entity_id: 917e85b275361e10b477a358351e103b
domain: binary_sensor
condition: []
action:
- device_id: c0f2abd8a92c0bfad616ec4aa371901d
domain: mobile_app
type: notify
message: Washing machine is ready
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
mode: single
- id: '1697474001246'
alias: Bureau GJ
description: ''
trigger:
- device_id: edc737eaf70410f77edc47501e93b308
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
id: turn_on
- device_id: edc737eaf70410f77edc47501e93b308
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
id: turn_off
condition: []
action:
- if:
- condition: trigger
id:
- turn_on
then:
- type: turn_on
device_id: 36543f490d13ca02e682f5623788a79b
entity_id: ab46a26638e7ab4314922daaada9644a
domain: switch
else:
- type: turn_off
device_id: 36543f490d13ca02e682f5623788a79b
entity_id: ab46a26638e7ab4314922daaada9644a
domain: switch
mode: single
- id: '1699803193333'
alias: Slaapkamer remote
description: ''
trigger:
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
id: '1'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_short_press
subtype: dim_up
id: '2'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_short_press
subtype: dim_down
id: '3'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_short_press
subtype: left
id: '4'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_short_press
subtype: right
id: '5'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_long_press
subtype: left
id: '6'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_long_press
subtype: right
id: '7'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_up
id: '8'
- device_id: 5a9933c449a2a8068f6012de36a6e91d
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_down
id: '9'
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- '1'
sequence:
- service: light.toggle
data: {}
target:
entity_id: light.bedroom
- conditions:
- condition: trigger
id:
- '2'
sequence:
- service: light.turn_on
data:
brightness_step: 10
target:
entity_id: light.bedroom
- conditions:
- condition: trigger
id:
- '3'
sequence:
- service: light.turn_on
data:
brightness_step: -10
target:
entity_id: light.bedroom
- conditions:
- condition: trigger
id:
- '4'
sequence:
- type: toggle
device_id: 6783c5c5d415efc8d8ee992bcede1f16
entity_id: c0713d089c995a6583b6ea2ca85d3848
domain: light
- conditions:
- condition: trigger
id:
- '5'
sequence:
- type: toggle
device_id: a86d85dac77c6830cc859999c74e41da
entity_id: 7b92662312ab2bfa93a704d11b8f5b1b
domain: light
- conditions:
- condition: trigger
id:
- '8'
sequence:
- service: light.turn_on
metadata: {}
data:
brightness: 255
kelvin: 4267
target:
area_id: bedroom
- conditions:
- condition: trigger
id:
- '9'
sequence:
- service: light.turn_on
metadata: {}
data:
kelvin: 2000
brightness: 1
target:
area_id: bedroom
mode: single
- id: '1707682123353'
alias: Wekker GJ
description: ''
trigger:
- platform: template
value_template: '{% if has_value(''sensor.telefoon_gj_next_alarm'') %}
{{ (states(''sensor.telefoon_gj_next_alarm'') | as_datetime - now()).total_seconds()
< 30 }}
{% else %}
false
{% endif %}'
condition:
- condition: zone
entity_id: person.gerrit_jan
zone: zone.home
- condition: time
after: 04:00:00
before: '12:00:00'
enabled: true
action:
- service: light.turn_on
metadata: {}
data:
brightness_pct: 50
target:
entity_id: light.bedroom_1
mode: single
- id: '1708682164461'
alias: CPU bewaking
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.system_monitor_processor_temperature
for:
hours: 0
minutes: 5
seconds: 0
above: 55
condition: []
action:
- service: hassio.host_shutdown
metadata: {}
data: {}
mode: single
- id: '1711703453691'
alias: CO2 melding
description: ''
trigger:
- platform: state
entity_id:
- sensor.luchtkwaliteitmeter_co2
condition: []
action:
- choose:
- conditions:
- type: is_carbon_dioxide
condition: device
device_id: 854f5beed7bbbf9ec7ab31bba1d9bc2a
entity_id: faeb75c2b30886c55a25c522ebfc434b
domain: sensor
below: 1000
sequence:
- type: turn_off
device_id: 854f5beed7bbbf9ec7ab31bba1d9bc2a
entity_id: c900c919433fa839326acc43f104b8b2
domain: light
- conditions:
- type: is_carbon_dioxide
condition: device
device_id: 854f5beed7bbbf9ec7ab31bba1d9bc2a
entity_id: faeb75c2b30886c55a25c522ebfc434b
domain: sensor
above: 1000
sequence:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 255
- 0
target:
device_id: 854f5beed7bbbf9ec7ab31bba1d9bc2a
- conditions:
- type: is_carbon_dioxide
condition: device
device_id: 854f5beed7bbbf9ec7ab31bba1d9bc2a
entity_id: faeb75c2b30886c55a25c522ebfc434b
domain: sensor
above: 1200
sequence:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 0
- 0
target:
entity_id: light.luchtkwaliteitmeter_rgb_light
mode: restart
- id: '1712905763291'
alias: Slaapkamer knop
description: ''
trigger:
- device_id: ef6cce96c0aff37b73773be4f1a30e2f
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
id: aan
- device_id: ef6cce96c0aff37b73773be4f1a30e2f
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
id: uit
- device_id: ef6cce96c0aff37b73773be4f1a30e2f
domain: zha
platform: device
type: remote_button_long_release
subtype: dim_up
id: lang-aan
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- aan
sequence:
- type: turn_on
device_id: 6783c5c5d415efc8d8ee992bcede1f16
entity_id: c0713d089c995a6583b6ea2ca85d3848
domain: light
- conditions: