-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautomations.yaml
More file actions
1115 lines (1115 loc) · 28.8 KB
/
automations.yaml
File metadata and controls
1115 lines (1115 loc) · 28.8 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: '1691847438428'
alias: Turn sleep machines off (Daily schedule)
description: ''
triggers:
- at: '10:10:00'
trigger: time
conditions: []
actions:
- type: turn_off
device_id: b6d0a02d9e47df20101ab4e13b1e8bba
entity_id: 9fa2bb7bf34d64d7e0b137ace084a6ce
domain: switch
- data:
message: Sleep machine off
title: Automation
action: notify.mobile_app_jon_iphone
mode: single
- id: '1691848308714'
alias: Amaya is up (NFC)
description: ''
trigger:
- platform: tag
tag_id: b1df81f5-ba8f-4ee2-8a58-cbfee709cf20
condition: []
action:
- type: turn_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
brightness_pct: 20
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1691957631259'
alias: Run bathroom fan (NFC)
description: For 30 minutes
trigger:
- platform: tag
tag_id: 61d92c29-9aa4-46e6-acff-eae3a0eec044
condition: []
action:
- type: turn_on
device_id: 53b0f001e380e99402db43c79099a703
entity_id: 0e50149fed819e0d0cd7d540173f3ada
domain: light
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 53b0f001e380e99402db43c79099a703
entity_id: 0e50149fed819e0d0cd7d540173f3ada
domain: light
mode: single
- id: '1691961487180'
alias: ' Turn on desk lights (NFC)'
description: ''
triggers:
- tag_id: aee9d8aa-2b91-44df-bb4f-5c669b2d9f23
trigger: tag
conditions: []
actions:
- parallel:
- type: turn_on
device_id: b7082b22f2f69f275150e0addafb145c
entity_id: 94e8353861a45c8882235884541dbc0a
domain: switch
- type: turn_on
device_id: 7a77d0feeed093133858833de346247f
entity_id: be5cff5bca73a427a6cdc2dea999641a
domain: switch
mode: single
- id: '1691961708012'
alias: Wind down (NFC)
description: ''
triggers:
- tag_id: 7497d748-45c1-4be8-9b0f-e511dc166109
trigger: tag
conditions: []
actions:
- type: turn_off
device_id: 8f3e53dcf02e7c97e18f16fb8aa48d1c
entity_id: ec7c26ce9ce900ada90334bfcf92cd96
domain: light
- type: turn_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
- type: turn_on
device_id: b6d0a02d9e47df20101ab4e13b1e8bba
entity_id: 9fa2bb7bf34d64d7e0b137ace084a6ce
domain: switch
mode: single
- id: '1691961908252'
alias: Turn off all lights (NFC)
description: ''
trigger:
- platform: tag
tag_id: b4fc42fa-294f-4fef-80d4-2e88fc9149f5
condition: []
action:
- service: light.turn_off
entity_id: all
- type: turn_off
device_id: 27a6898e8c28c0ed2da7ca3cf2828467
entity_id: 22fdde003d535304af87fcafd5f75bb2
domain: switch
- type: turn_off
device_id: 7a77d0feeed093133858833de346247f
entity_id: be5cff5bca73a427a6cdc2dea999641a
domain: switch
mode: single
- id: '1692386610340'
alias: Estela's desk light switch
description: ''
trigger:
- device_id: 9b9cd36aa91d63bde113aac5d20af4a5
domain: zha
platform: device
type: remote_button_short_press
subtype: button_2
condition: []
action:
- type: toggle
device_id: 7a77d0feeed093133858833de346247f
entity_id: be5cff5bca73a427a6cdc2dea999641a
domain: switch
mode: single
- id: '1692387270822'
alias: Bedside lamp ON (60 brightness)
description: Press once for 60% brightness
trigger:
- device_id: d0572f7c033a5d76c64c1a4eb88daeaf
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
condition:
- condition: state
entity_id: input_boolean.bedside_lamp_toggle
state: 'off'
action:
- type: turn_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
brightness_pct: 60
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1692387308467'
alias: Bedroom's fan switch
description: ''
trigger:
- device_id: d0572f7c033a5d76c64c1a4eb88daeaf
domain: zha
platform: device
type: remote_button_short_press
subtype: button_2
condition: []
action:
- service: fan.toggle
data: {}
target:
device_id: 4c236a9e9d1f3d83850458e750d0a64b
mode: single
- id: '1692439674398'
alias: Bedroom's fan oscilation
description: ''
trigger:
- device_id: d0572f7c033a5d76c64c1a4eb88daeaf
domain: zha
platform: device
type: remote_button_double_press
subtype: button_2
condition: []
action:
- service: fan.oscillate
data:
oscillating: true
target:
device_id: 4c236a9e9d1f3d83850458e750d0a64b
mode: single
- id: '1693585613915'
alias: Low battery on sensors notification
description: ''
use_blueprint:
path: gmlupatelli/low_battery_notification.yaml
input:
actions:
- parallel:
- service: notify.mobile_app_jon_iphone
data:
title: Low battery on sensors
message: 'The following sensors are running out of battery: {{sensors}}'
- service: notify.mobile_app_tablet_ags2_w09
data:
title: Low battery on sensors
message: 'The following sensors are running out of battery: {{sensors}}'
- service: notify.persistent_notification
data:
title: Low battery on sensors
message: 'The following sensors are running out of battery: {{sensors}}'
- id: '1693586144323'
alias: Smoke alert
description: ''
use_blueprint:
path: user-x-adm/smoke-alert-en.yaml
input:
sensor:
- binary_sensor.smoke_sensor_hall_smoke
- binary_sensor.smoke_sensor_office_smoke
- binary_sensor.smoke_sensor_living_room_smoke
text: ' has detected Smoke! Call 150 (Fire brigade)!'
- id: '1693640955673'
alias: Tablet battery notification
description: ''
triggers:
- type: battery_level
device_id: a1bd579d0d06464d81c358e5a8e61325
entity_id: ad3cd6cbac5b5afda9d9763b4229053a
domain: sensor
below: 20
trigger: device
conditions: []
actions:
- data:
title: Tablet running out of battery
message: Time to charge the tablet!
action: notify.mobile_app_jon_iphone
- action: notify.mobile_app_iphone_de_estela
metadata: {}
data:
title: Tablet running out of battery
message: Time to charge the tablet!
mode: single
- id: '1694340353314'
alias: Leaving Home NFC (arm away)
description: Arms the alarm when leaving home
trigger:
- platform: tag
tag_id: 0b0e1a57-e751-43f5-a884-611e0098a749
condition:
- condition: state
entity_id: input_boolean.alarm_toggle
state: 'off'
action:
- service: alarm_control_panel.alarm_arm_away
data:
code: '7311'
target:
entity_id: alarm_control_panel.alarmo
mode: single
- id: '1694693354677'
alias: Hall lights (switches)
description: Switches for Hall lights
trigger:
- device_id: 4066dcaf920b23439f31b89dccc8a2a5
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
- device_id: 8e8b87aee8bc614e6c8c52ae3a988815
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
condition: []
action:
- type: toggle
device_id: 874292888d49081c268ee8e27b9c2605
entity_id: 95009e85bae32e8f32506b1e22b1a70c
domain: light
mode: single
- id: '1694722705907'
alias: Kitchen counter LED strip switch
description: ''
trigger:
- device_id: b5881933db6e641096d92922d75edabf
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
condition: []
action:
- type: toggle
device_id: 17162c8a1b34b80ab8c6a06bdc90969c
entity_id: 5888154a072713f62c48b0e400d291ca
domain: light
mode: single
- id: '1694817540849'
alias: Bedside lamp OFF (switch)
description: ''
trigger:
- device_id: d0572f7c033a5d76c64c1a4eb88daeaf
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
condition:
- condition: state
entity_id: input_boolean.bedside_lamp_toggle
state: 'on'
action:
- type: turn_off
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1694817661674'
alias: Bedside lamp ON (5 brightness)
description: Double click for 5% brightness
trigger:
- device_id: d0572f7c033a5d76c64c1a4eb88daeaf
domain: zha
platform: device
type: remote_button_double_press
subtype: button_1
condition: []
action:
- type: turn_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
brightness_pct: 5
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1694861106361'
alias: Reset TV - NFC
description: Reset the Samsung TV which often starts misbehaving
triggers:
- tag_id: 3c2dde61-d82c-4d02-b20d-288dd2856421
trigger: tag
conditions: []
actions:
- type: turn_off
device_id: a903c4e1d3271ec45ac8fc171f414e6d
entity_id: 521722dcb47ed9e00a39aea0d24e481e
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- type: turn_on
device_id: a903c4e1d3271ec45ac8fc171f414e6d
entity_id: 521722dcb47ed9e00a39aea0d24e481e
domain: switch
mode: single
- id: '1695096160681'
alias: Bedside lamp ON sets input ON
description: For when the lamp is turned on physically
trigger:
- platform: device
type: turned_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
condition: []
action:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1695096240488'
alias: Bedside lamp OFF sets input OFF
description: For when the lamp is turned on physically
trigger:
- platform: device
type: turned_off
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
condition: []
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.bedside_lamp_toggle
mode: single
- id: '1695165236137'
alias: Ready to sleep
description: ''
triggers: []
conditions: []
actions:
- type: turn_on
device_id: b6d0a02d9e47df20101ab4e13b1e8bba
entity_id: 9fa2bb7bf34d64d7e0b137ace084a6ce
domain: switch
- entity_id: all
action: light.turn_off
mode: single
- id: '1713084722052'
alias: Bathroom fan ON if door closed
description: ''
triggers:
- type: not_opened
device_id: c59a2665845314328891a387d5aa23f1
entity_id: d208a439f4d1de5612d31b08fe70897d
domain: binary_sensor
trigger: device
conditions:
- condition: device
type: is_on
device_id: 53b0f001e380e99402db43c79099a703
entity_id: c4679ea464275c334d51c92466416432
domain: light
actions:
- type: turn_on
device_id: 53b0f001e380e99402db43c79099a703
entity_id: 0e50149fed819e0d0cd7d540173f3ada
domain: light
mode: single
- id: '1714767642612'
alias: Baby's bath
description: ''
triggers: []
conditions: []
actions:
- entity_id: all
enabled: false
action: light.turn_off
- type: turn_on
device_id: b6d0a02d9e47df20101ab4e13b1e8bba
entity_id: 9fa2bb7bf34d64d7e0b137ace084a6ce
domain: switch
- type: turn_on
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
brightness_pct: 60
- type: turn_on
device_id: 8f3e53dcf02e7c97e18f16fb8aa48d1c
entity_id: ec7c26ce9ce900ada90334bfcf92cd96
domain: light
enabled: true
- type: turn_on
device_id: 53b0f001e380e99402db43c79099a703
entity_id: 0e50149fed819e0d0cd7d540173f3ada
domain: light
- type: turn_on
device_id: 53b0f001e380e99402db43c79099a703
entity_id: c4679ea464275c334d51c92466416432
domain: light
- type: turn_on
device_id: 17162c8a1b34b80ab8c6a06bdc90969c
entity_id: 5888154a072713f62c48b0e400d291ca
domain: light
brightness_pct: 100
mode: single
- id: '1734094292918'
alias: Open shutters after sunrise
description: Open shutters after sunrise
triggers:
- trigger: sun
event: sunrise
offset: 0
conditions: []
actions:
- device_id: f98d06aeb44a5b9a6d822ba9a77a22c6
domain: cover
entity_id: 35aebba38e8128762776d3ee2bb4fddc
type: close
- device_id: 30f3bea3ba2eedf57fe252950b69a03f
domain: cover
entity_id: b7289e0524cd2ce2c8e54560a107fb11
type: close
enabled: false
mode: single
- id: '1734094507472'
alias: Close shutters after sunset
description: Close shutters after sunset
triggers:
- trigger: sun
event: sunset
offset: 0
conditions: []
actions:
- device_id: f98d06aeb44a5b9a6d822ba9a77a22c6
domain: button
entity_id: e7010a7300c60274af32e55aa8f5e8b6
type: press
- device_id: 30f3bea3ba2eedf57fe252950b69a03f
domain: button
entity_id: 396bfc8c42f7722b3286779dcaaff062
type: press
enabled: true
mode: single
- id: '1735154738113'
alias: Turn bedside lamp off when in bed
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.withings_in_bed
to: 'on'
for:
hours: 0
minutes: 0
seconds: 30
conditions:
- condition: time
after: '21:30:00'
before: 05:00:00
weekday:
- sun
- sat
- fri
- thu
- wed
- mon
- tue
actions:
- type: turn_off
device_id: dd62ddc5b747cdaf29a815419cb989f4
entity_id: 2e486700a34beb8e888e44c0b89665ba
domain: light
mode: single
- id: '1735155380420'
alias: Turn lights on when preparing for the gym
description: Turn some of the lights on when leaving bed and preparing to go to
the gym in the morning
triggers:
- trigger: state
entity_id:
- binary_sensor.withings_in_bed
to: 'off'
for:
hours: 0
minutes: 0
seconds: 10
from: 'on'
conditions:
- condition: time
after: 05:00:00
before: 07:00:00
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
actions:
- type: turn_on
device_id: 7a77d0feeed093133858833de346247f
entity_id: be5cff5bca73a427a6cdc2dea999641a
domain: switch
- type: turn_on
device_id: 17162c8a1b34b80ab8c6a06bdc90969c
entity_id: 5888154a072713f62c48b0e400d291ca
domain: light
mode: single
- id: '1735158621340'
alias: Open Office shutter when office window opens
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.office_window_1_opening
to: 'on'
conditions: []
actions:
- device_id: f98d06aeb44a5b9a6d822ba9a77a22c6
domain: cover
entity_id: 35aebba38e8128762776d3ee2bb4fddc
type: close
mode: single
- id: '1735158803140'
alias: Open Children's bedroom shutter when window opens
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.lumi_lumi_sensor_magnet_aq2_opening_9
to: 'on'
conditions: []
actions:
- device_id: 30f3bea3ba2eedf57fe252950b69a03f
domain: cover
entity_id: b7289e0524cd2ce2c8e54560a107fb11
type: close
mode: single
- id: '1735209040972'
alias: Bathroom dehumidifier ON when humidity is too high
description: ''
triggers:
- type: humidity
device_id: 370a6d9c40d455353fd24995d5bef4ee
entity_id: 3518b4aea078897dc00bb5b0cceb300b
domain: sensor
trigger: device
above: 55
enabled: true
for:
hours: 0
minutes: 1
seconds: 0
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: device
type: is_off
device_id: 8ad864df05a51c2be3133cdb2460e425
entity_id: 7ab10edf555f159316a05c62447eb434
domain: humidifier
- condition: device
type: is_humidity
device_id: 370a6d9c40d455353fd24995d5bef4ee
entity_id: 3518b4aea078897dc00bb5b0cceb300b
domain: sensor
above: 55
actions:
- type: turn_on
device_id: 8ad864df05a51c2be3133cdb2460e425
entity_id: 7ab10edf555f159316a05c62447eb434
domain: humidifier
mode: single
- id: '1735506012910'
alias: Bathroom dehumidifier OFF when humidity falls below
description: ''
triggers:
- type: humidity
device_id: 370a6d9c40d455353fd24995d5bef4ee
entity_id: 3518b4aea078897dc00bb5b0cceb300b
domain: sensor
trigger: device
below: 50
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: device
type: is_on
device_id: 8ad864df05a51c2be3133cdb2460e425
entity_id: 7ab10edf555f159316a05c62447eb434
domain: humidifier
- condition: numeric_state
entity_id: sensor.bathroom_temperature_and_humidity_humidity
below: 50
actions:
- type: turn_off
device_id: 8ad864df05a51c2be3133cdb2460e425
entity_id: 7ab10edf555f159316a05c62447eb434
domain: humidifier
mode: single
- id: '1756285901700'
alias: Jon's desk light switch
description: ''
triggers:
- device_id: 9b9cd36aa91d63bde113aac5d20af4a5
domain: zha
type: remote_button_short_press
subtype: button_1
trigger: device
conditions: []
actions:
- type: toggle
device_id: b7082b22f2f69f275150e0addafb145c
entity_id: 94e8353861a45c8882235884541dbc0a
domain: switch
mode: single
- id: '1756286053522'
alias: Digital frame - Start charging (<=50%)
description: ''
triggers:
- type: battery_level
device_id: 4fee60e3ec5d799384ec378e0c571cc1
entity_id: ff87914abb6b908215c58172476176c1
domain: sensor
trigger: device
below: 51
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: numeric_state
entity_id: sensor.lenovo_yt_j706f_battery_level
below: 51
actions:
- type: turn_on
device_id: 104397c7aefc20d21cbf23ce0b609f74
entity_id: c7770db19423ae9b92107ca5986c5261
domain: switch
mode: single
- id: '1756286172280'
alias: Digital frame - Stop charging (>=85%)
description: ''
triggers:
- type: battery_level
device_id: 4fee60e3ec5d799384ec378e0c571cc1
entity_id: ff87914abb6b908215c58172476176c1
domain: sensor
trigger: device
above: 84
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: numeric_state
entity_id: sensor.lenovo_yt_j706f_battery_level
above: 84
actions:
- type: turn_off
device_id: 104397c7aefc20d21cbf23ce0b609f74
entity_id: c7770db19423ae9b92107ca5986c5261
domain: switch
mode: single
- id: '1757308211331'
alias: Start charging Digital Frame before it wakes up
description: ''
triggers:
- trigger: time
at: 06:55:00
weekday:
- sat
- fri
- thu
- wed
- tue
- mon
- sun
conditions: []
actions:
- type: turn_on
device_id: 104397c7aefc20d21cbf23ce0b609f74
entity_id: c7770db19423ae9b92107ca5986c5261
domain: switch
mode: single
- id: '1768798243227'
alias: iPad running out of battery
description: ''
triggers:
- type: battery_level
device_id: 47f88c7e1a52e9ba7dcfeea9d3cf5fdd
entity_id: 99e6e2cce54ed90437adae52669eba2e
domain: sensor
trigger: device
below: 45
conditions: []
actions:
- data:
title: iPad running out of battery
message: Time to charge the iPad!
action: notify.mobile_app_jon_iphone
mode: single
- id: '1769711283683'
alias: Bathroom dehumidifier tank is full
description: ''
triggers:
- type: problem
device_id: 8ad864df05a51c2be3133cdb2460e425
entity_id: 4534f8ece8e47c92055e54bc618b382f
domain: binary_sensor
trigger: device
conditions: []
actions:
- parallel:
- action: notify.mobile_app_jon_iphone
metadata: {}
data:
title: Bathroom Dehumidifier Tank Full
message: The bathroom dehumidifier tank is full. Please empty it to keep humidity
under control.
- action: notify.mobile_app_iphone_de_estela
metadata: {}
data:
message: The bathroom dehumidifier tank is full. Please empty it to keep humidity
under control.
title: Bathroom Dehumidifier Tank Full
mode: single
- id: '1769791929647'
alias: Main Bedroom - Turn dehumidifier ON when humidity is too high
description: ''
triggers:
- entity_id: sensor.main_bedroom_temperature_and_humidity_humidity
above: 50
for: 00:01:00
trigger: numeric_state
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: state
entity_id: humidifier.xiaomi_lite_814e_dehumidifier
state: 'off'
- condition: numeric_state
entity_id: sensor.main_bedroom_temperature_and_humidity_humidity
above: 50
actions:
- target:
entity_id: humidifier.xiaomi_lite_814e_dehumidifier
action: humidifier.turn_on
- target:
entity_id: humidifier.xiaomi_lite_814e_dehumidifier
data:
humidity: 45
action: humidifier.set_humidity
mode: single
- id: '1769791973373'
alias: Main Bedroom - Turn dehumidifier OFF when humidity is OK
description: ''
triggers:
- entity_id:
- sensor.main_bedroom_temperature_and_humidity_humidity
below: 49
for:
hours: 0
minutes: 2
seconds: 0
trigger: numeric_state
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: state
entity_id: humidifier.xiaomi_lite_814e_dehumidifier
state: 'on'
- condition: numeric_state
entity_id: sensor.main_bedroom_temperature_and_humidity_humidity
below: 49
actions:
- target:
entity_id: humidifier.xiaomi_lite_814e_dehumidifier
action: humidifier.turn_off
mode: single
- id: '1769792523307'
alias: Main Bedroom dehumidifier tank is full
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.xiaomi_lite_814e_device_fault
attribute: dehumidifier.fault
above: 0
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- parallel:
- action: notify.mobile_app_jon_iphone
metadata: {}
data:
title: Main Bedroom Dehumidifier Tank Full
message: The main bedroom dehumidifier tank is full. Please empty it to keep
humidity under control.
- action: notify.mobile_app_iphone_de_estela
metadata: {}
data:
title: Main Bedroom Dehumidifier Tank Full
message: The main bedroom dehumidifier tank is full. Please empty it to keep
humidity under control.
mode: single
- id: '1770120978553'
alias: Children's Bedroom dehumidifier tank is full
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.xiaomi_lite_d6b4_device_fault
attribute: dehumidifier.fault
above: 0
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- parallel:
- action: notify.mobile_app_jon_iphone
metadata: {}
data:
title: Children's Bedroom Dehumidifier Tank Full
message: The children's bedroom dehumidifier tank is full. Please empty it
to keep humidity under control.
- action: notify.mobile_app_iphone_de_estela
metadata: {}
data:
title: Children's Bedroom Dehumidifier Tank Full
message: The children's bedroom dehumidifier tank is full. Please empty it
to keep humidity under control.
mode: single
- id: '1770121168587'
alias: Children's Bedroom - Turn dehumidifier OFF when humidity is OK
description: ''
triggers:
- entity_id:
- sensor.children_s_bedroom_temperature_and_humidity_humidity
below: 49
for:
hours: 0
minutes: 2
seconds: 0
trigger: numeric_state
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: state
entity_id: humidifier.xiaomi_lite_d6b4_dehumidifier
state:
- 'on'
- condition: numeric_state
entity_id: sensor.children_s_bedroom_temperature_and_humidity_humidity
below: 49
actions:
- target:
entity_id:
- humidifier.xiaomi_lite_d6b4_dehumidifier
action: humidifier.turn_off
data: {}
mode: single
- id: '1770121284386'
alias: Children's Bedroom - Turn dehumidifier ON when humidity is too high
description: ''
triggers:
- entity_id:
- sensor.children_s_bedroom_temperature_and_humidity_humidity
above: 50
for:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
trigger: numeric_state
- minutes: /5
trigger: time_pattern
- event: start
trigger: homeassistant
conditions:
- condition: state
entity_id: humidifier.xiaomi_lite_d6b4_dehumidifier
state:
- 'off'
- condition: numeric_state
entity_id: sensor.children_s_bedroom_temperature_and_humidity_humidity
above: 50
- condition: time
after: 07:00:00
before: '21:00:00'
actions:
- target:
entity_id:
- humidifier.xiaomi_lite_d6b4_dehumidifier
action: humidifier.turn_on
data: {}
- target:
entity_id:
- humidifier.xiaomi_lite_d6b4_dehumidifier
data:
humidity: 45
action: humidifier.set_humidity
mode: single
- id: '1770208822184'
alias: Office button clicked (Start my work day)
description: ''
triggers:
- domain: mqtt
device_id: 4ab0de2aafdcef9bbf7c922170b9e32c
type: action
subtype: single
trigger: device
conditions: []
actions:
- parallel:
- device_id: f98d06aeb44a5b9a6d822ba9a77a22c6
domain: cover
entity_id: 35aebba38e8128762776d3ee2bb4fddc
type: set_position
position: 50
- type: turn_on
device_id: 209492e941442d2a94b8dbb122e64f71
entity_id: 86c31d72ec9c8acb21d7f1344a8ad01f
domain: light
brightness_pct: 100
mode: single