-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
1808 lines (1808 loc) · 40 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: '1686618194582'
alias: Turn on Livingroom TV
description: Turns on the livingroom tv when required
trigger:
- platform: device
device_id: 516ac9d51d3bd882ceb88995c0e9a279
domain: webostv
type: webostv.turn_on
condition: []
action:
- action: wake_on_lan.send_magic_packet
data:
broadcast_port: 9
mac: b0:37:95:d5:eb:69
broadcast_address: 255.255.255.255
mode: single
- id: '1686618273321'
alias: Turn on Bedroom TV
description: ''
trigger:
- platform: device
device_id: 55ba5311202a9ada8dfeb8cb8f8f8943
domain: webostv
type: webostv.turn_on
condition: []
action:
- action: wake_on_lan.send_magic_packet
data:
broadcast_port: 9
mac: 58:fd:b1:ab:8e:73
broadcast_address: 255.255.255.255
mode: single
- id: '1686711618853'
alias: Workout fan auto on
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.aaron_on_peloton_heart_rate_current
above: 130
id: workout_fan_auto_started
- platform: numeric_state
entity_id:
- sensor.thao_on_peloton_heart_rate_current
above: 130
condition:
- condition: state
entity_id: input_boolean.standing_fan_auto_enabled
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_select.standing_fan_mode
state: 'off'
- condition: state
entity_id: input_select.standing_fan_mode
state: unknown
- condition: or
conditions:
- type: is_running
condition: device
device_id: 1deeadfbd47d7c685f34e5cde1231e47
entity_id: 5d26af4dd72c295b10062e9e83ba6efa
domain: binary_sensor
- type: is_running
condition: device
device_id: e4ea4923eab39ca70ae3805e7cc9a285
entity_id: 66d2f572455c2a7d225a314d54e4df46
domain: binary_sensor
action:
- action: input_select.select_option
data:
option: auto
target:
entity_id: input_select.standing_fan_mode
- action: fan.turn_on
data: {}
target:
device_id: 764b262e94b4094f7b8d88713bad1290
mode: single
- id: '1686711777584'
alias: Workout fan auto off
description: ''
trigger:
- type: not_running
platform: device
device_id: e4ea4923eab39ca70ae3805e7cc9a285
entity_id: binary_sensor.aaron_on_peloton_workout
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
id: workout_stopped
- type: not_running
platform: device
device_id: 1deeadfbd47d7c685f34e5cde1231e47
entity_id: 5d26af4dd72c295b10062e9e83ba6efa
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
condition:
- condition: state
entity_id: input_select.standing_fan_mode
state: auto
action:
- action: fan.turn_off
data: {}
target:
entity_id:
- fan.living_room_standing_fan
- action: input_select.select_option
data:
option: 'off'
target:
entity_id: input_select.standing_fan_mode
mode: single
- id: '1686886746116'
alias: Standing fan on transition
description: ''
trigger:
- platform: state
entity_id:
- fan.living_room_standing_fan
to: 'on'
from:
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.standing_fan_mode
state: auto
action:
- action: input_select.select_option
data:
option: 'on'
target:
entity_id: input_select.standing_fan_mode
mode: single
- id: '1686889578143'
alias: Standing fan off transition
description: ''
trigger:
- platform: state
entity_id:
- fan.living_room_standing_fan
to: 'off'
from: 'on'
condition: []
action:
- action: input_select.select_option
data:
option: 'off'
target:
entity_id: input_select.standing_fan_mode
mode: single
- id: '1686910516025'
alias: Office unoccupied
description: ''
trigger:
- type: not_occupied
platform: device
device_id: ee3ec0a57e41420932d477d269cd70eb
entity_id: 37f8ec4222f4b6fe5daceb71de99f532
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
condition: []
action:
- action: light.turn_off
data: {}
target:
entity_id: light.office_lights
mode: single
- id: '1686936873918'
alias: Bedroom receiver off with tv
description: ''
trigger:
- platform: device
device_id: 55ba5311202a9ada8dfeb8cb8f8f8943
domain: media_player
entity_id: media_player.bedroom_tv
type: turned_off
condition: []
action:
- type: turn_off
device_id: 29523c412ba5bd7581785ff7c92aded6
entity_id: remote.bedroom_hub
domain: remote
mode: single
- id: '1686970239679'
alias: Bedroom filter lights auto on
description: ''
trigger:
- platform: state
entity_id:
- light.bedroom_ceiling_zigbee_group
from: 'off'
to: 'on'
condition:
- condition: sun
after: sunrise
action:
- action: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.bedroom_filter_lights
mode: single
- id: '1686970313828'
alias: Bedroom filter lights auto off
description: ''
trigger:
- platform: state
entity_id:
- light.bedroom_ceiling_zigbee_group
to: 'off'
from: 'on'
condition:
- condition: sun
after: sunset
action:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.bedroom_filter_lights
mode: single
- id: '1686971151557'
alias: 'Livingroom filter lights auto on '
description: ''
trigger:
- platform: sun
event: sunrise
offset: 0
condition: []
action:
- action: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.livingroom_filter_lights
mode: single
- id: '1686971187922'
alias: Livingroom filter lights auto off
description: ''
trigger:
- platform: sun
event: sunset
offset: 0
condition: []
action:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.livingroom_filter_lights
mode: single
- id: '1687227766070'
alias: Kitchen fan power
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.kitchen_fan_power
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.kitchen_fan_power
state: 'on'
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_on
- conditions:
- condition: state
entity_id: input_boolean.kitchen_fan_power
state: 'off'
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_off
mode: single
- id: '1687228796727'
alias: Kitchen fan direction
description: ''
trigger:
- platform: state
entity_id:
- input_select.kitchen_fan_direction
to:
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_select.kitchen_fan_direction
state: forward
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_in
- conditions:
- condition: state
entity_id: input_select.kitchen_fan_direction
state: reverse
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_out
mode: single
- id: '1687229789519'
alias: Kitchen fan auto mode
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.kitchen_fan_auto_mode
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.kitchen_fan_auto_mode
state: 'on'
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_auto
- conditions:
- condition: state
entity_id: input_boolean.kitchen_fan_auto_mode
state: 'off'
sequence:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_auto_off
mode: single
- id: '1687231247879'
alias: 'Kitchen fan temperature auto on '
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.thermostat_temperature
for:
hours: 0
minutes: 0
seconds: 30
above: 76
- type: running
platform: device
device_id: e4ea4923eab39ca70ae3805e7cc9a285
entity_id: binary_sensor.aaron_on_peloton_workout
domain: binary_sensor
enabled: false
- platform: state
entity_id:
- binary_sensor.aaron_on_peloton_workout
to: 'on'
condition:
- condition: numeric_state
entity_id: climate.thermostat
below: 70
action:
- action: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.kitchen_fan_power
- action: input_select.select_option
data:
option: reverse
target:
entity_id: input_select.kitchen_fan_direction
mode: single
- id: '1687231424056'
alias: Kitchen fan temperature auto off
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.thermostat_temperature
for:
hours: 0
minutes: 1
seconds: 0
below: 72
- platform: numeric_state
entity_id:
- sensor.bedroom_temperature
below: 69
enabled: false
condition: []
action:
- action: fan.turn_off
data: {}
target:
entity_id: fan.kitchen_fan
mode: single
- id: '1687234802998'
alias: Sleep mode on
description: ''
trigger:
- platform: time
at: '22:00:00'
condition: []
action:
- action: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_bedroom_lamp
mode: single
- id: '1687235046134'
alias: Sleep mode off
description: ''
trigger:
- platform: sun
event: sunrise
offset: 0
condition: []
action:
- action: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_bedroom_lamp
mode: single
- id: '1687242459466'
alias: Apple tv pause bridge
description: ''
trigger:
- platform: state
entity_id:
- input_button.livingroom_apple_tv_pause
condition: []
action:
- if:
- condition: device
device_id: fd05d6b84c78d8accb583974bc1ba777
domain: media_player
entity_id: 444939d9e9f40e01f9e157f96e723520
type: is_off
then:
- type: turn_on
device_id: fd05d6b84c78d8accb583974bc1ba777
entity_id: 85c54b36292326189fbfd20cf254d5dc
domain: remote
- target:
device_id: fd05d6b84c78d8accb583974bc1ba777
data: {}
action: media_player.turn_on
- data: {}
target:
entity_id:
- media_player.living_room_appletv
- media_player.plex_plex_for_apple_tv_apple_tv
action: media_player.media_pause
mode: single
- id: '1687244305614'
alias: Livingroom apple tv play bridge
description: ''
trigger:
- platform: state
entity_id:
- input_button.livingroom_apple_tv_play
condition: []
action:
- if:
- condition: device
device_id: fd05d6b84c78d8accb583974bc1ba777
domain: media_player
entity_id: 444939d9e9f40e01f9e157f96e723520
type: is_off
then:
- type: turn_on
device_id: fd05d6b84c78d8accb583974bc1ba777
entity_id: 85c54b36292326189fbfd20cf254d5dc
domain: remote
- action: media_player.turn_on
metadata: {}
data: {}
target:
device_id: fd05d6b84c78d8accb583974bc1ba777
- data: {}
target:
entity_id:
- media_player.living_room_appletv
- media_player.plex_plex_for_apple_tv_apple_tv
action: media_player.media_play
mode: single
- id: '1687391684109'
alias: peloton fan power button
description: ''
trigger:
- platform: state
entity_id:
- input_button.peloton_fan_power_button
condition: []
action:
- action: rest_command.peloton_fan_power_ir
data: {}
mode: single
- id: '1687395998304'
alias: peloton fan minus
description: ''
trigger:
- platform: state
entity_id:
- input_button.peloton_minus_button
condition: []
action:
- action: rest_command.peloton_fan_minus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_minus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_minus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_minus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_minus_ir
data: {}
mode: single
- id: '1687396160615'
alias: peloton fan plus
description: ''
trigger:
- platform: state
entity_id:
- input_button.peloton_fan_plus_button
condition: []
action:
- action: rest_command.peloton_fan_plus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_plus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_plus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_plus_ir
data: {}
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 300
- action: rest_command.peloton_fan_plus_ir
data: {}
mode: single
- id: '1687396382954'
alias: Peloton Fan Auto Off
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.aaron_on_peloton_workout
for:
hours: 0
minutes: 0
seconds: 30
to: 'off'
from: 'on'
- platform: state
entity_id:
- binary_sensor.thao_on_peloton_workout
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 30
condition:
- condition: state
entity_id: fan.peloton_fan
state: 'on'
action:
- action: fan.turn_off
data: {}
target:
entity_id: fan.peloton_fan
mode: single
- id: '1688520226655'
alias: Living Room Airconditioner Auto Off
description: Turn off livingroom AC when window opens
trigger:
- platform: state
entity_id:
- binary_sensor.living_room_windows
from: 'off'
to: 'on'
condition:
- condition: device
device_id: 4b987c6c5611f851761cceac2d341f5e
domain: climate
entity_id: climate.livingroom_airconditioner
type: is_hvac_mode
hvac_mode: cool
action:
- device_id: 4b987c6c5611f851761cceac2d341f5e
domain: climate
entity_id: climate.livingroom_airconditioner
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1688587556389'
alias: Bedroom Airconditioner Auto Off
description: Turn off bedroom AC when a window is opened
trigger:
- platform: state
entity_id:
- binary_sensor.bedroom_windows
from: 'off'
to: 'on'
condition:
- condition: or
conditions:
- condition: device
device_id: 6833b84bb9fbdfd52286d43e14fa7596
domain: climate
entity_id: 4c3f38b88fc0931fe2cc6dbcd3377e26
type: is_hvac_mode
hvac_mode: dry
- condition: device
device_id: 6833b84bb9fbdfd52286d43e14fa7596
domain: climate
entity_id: 4c3f38b88fc0931fe2cc6dbcd3377e26
type: is_hvac_mode
hvac_mode: cool
- condition: device
device_id: 6833b84bb9fbdfd52286d43e14fa7596
domain: climate
entity_id: 4c3f38b88fc0931fe2cc6dbcd3377e26
type: is_hvac_mode
hvac_mode: fan_only
action:
- device_id: 6833b84bb9fbdfd52286d43e14fa7596
domain: climate
entity_id: 4c3f38b88fc0931fe2cc6dbcd3377e26
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1688606850903'
alias: Bathroom Fan Auto Threshold
description: ''
trigger:
- platform: numeric_state
entity_id: fan.bathroom_fan
attribute: percentage
above: number.bathroom_fan_idle_speed
condition: []
action:
- action: number.set_value
data:
value: '{{ states(''sensor.living_room_humidity'')|float + 5.0 }}'
target:
entity_id: number.bathroom_fan_humidity_clear_threshold
enabled: true
mode: single
- id: '1689042230107'
alias: Living Room Ceiling Color Temp
description: ''
use_blueprint:
path: swifty99/RGBW2CTLight.yaml
input:
rgbw_2_ct_requested_input: input_number.living_room_ceiling_color_temp
target_light:
entity_id: light.living_room_ceiling
rgbw_2_ct_target_ct:
- 2000
- 2500
- 3000
- 5000
- 6535
rgbw_2_red_calibration:
- 100
- 90
- 0
- 0
- 0
rgbw_2_green_calibration:
- 65
- 60
- 0
- 45
- 60
rgbw_2_blue_calibration:
- 0
- 0
- 0
- 50
- 65
rgbw_2_white_calibration:
- 0
- 85
- 100
- 80
- 80
- id: '1689099025587'
alias: RGBW Calibration
description: ''
use_blueprint:
path: swifty99/RGBWCalibration.yaml
input:
light_cal_r: input_number.red_cal
light_cal_g: input_number.green_cal
light_cal_b: input_number.blue_cal
light_cal_w: input_number.white_cal
light_cal_brightness: input_number.bright_cal
target_light:
entity_id: light.living_room_ceiling
- id: '1689142844176'
alias: Peloton Fan Auto On
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.aaron_on_peloton_workout
to: 'on'
for:
hours: 0
minutes: 0
seconds: 30
- platform: state
entity_id:
- binary_sensor.thao_on_peloton_workout
to: 'on'
for:
hours: 0
minutes: 0
seconds: 30
condition:
- condition: state
entity_id: fan.peloton_fan
state: 'off'
action:
- action: fan.turn_on
data: {}
target:
entity_id: fan.peloton_fan
mode: single
- id: '1689211764991'
alias: Office Light Switch
description: ''
use_blueprint:
path: richlee91/zha_lutron_aurora_blueprint - toggle.yaml
input:
sensitivity: 1
remote: 4ff060ba2568dbebf963963b35f9272a
light:
entity_id: light.office_lights
- id: '1689213160453'
alias: Kitchen Light Switch
description: ''
use_blueprint:
path: richlee91/zha_lutron_aurora_blueprint - toggle.yaml
input:
remote: 4babd9e8a30d6b7de780827c0e3b14f7
light:
entity_id: light.kitchen_lights
sensitivity: 1
- id: '1689214043664'
alias: Hallway Light Switch
description: ''
use_blueprint:
path: richlee91/zha_lutron_aurora_blueprint - toggle.yaml
input:
remote: 703190f1d97b8e2d051f4aa18c98041d
light:
entity_id: light.hallway_lights
sensitivity: 1
- id: '1689220051839'
alias: Bedroom Light Switch
description: ''
use_blueprint:
path: richlee91/zha_lutron_aurora_blueprint - toggle.yaml
input:
remote: 3fc2502d88893fcf95586a983e8d5368
sensitivity: 1
light:
entity_id: light.bedroom_ceiling
- id: '1689229319560'
alias: Living Room Light Switch
description: ''
use_blueprint:
path: richlee91/zha_lutron_aurora_blueprint - toggle.yaml
input:
remote: f9442f80cbf1b43c6f491e8a7969db51
light:
entity_id: light.living_room_lights
sensitivity: 1
- id: '1689458270429'
alias: Bathroom fan return to idle
description: ''
trigger:
- platform: numeric_state
entity_id: fan.bathroom_fan
for:
hours: 0
minutes: 10
seconds: 0
attribute: percentage
above: number.bathroom_fan_idle_speed
condition:
- condition: state
state: idle
entity_id: climate.bathroom_fan_humidity_controller_stage_1
attribute: hvac_action
action:
- action: fan.set_percentage
data:
percentage: '{{ states(''number.bathroom_fan_idle_speed'') }}'
target:
entity_id: fan.bathroom_fan
- action: fan.set_direction
data:
direction: forward
target:
entity_id: fan.bathroom_fan
mode: single
- id: '1689729580504'
alias: Aaron arrives home
description: ''
trigger:
- platform: zone
entity_id: person.aaron_solochek
zone: zone.home
event: enter
- platform: state
entity_id:
- device_tracker.aarons_watch
from: not_home
to: home
enabled: false
condition: []
action:
- action: light.turn_on
data: {}
target:
area_id:
- hallway
- living_room
- kitchen
mode: single
- id: '1689729841116'
alias: Aaron leaves home
description: ''
trigger:
- platform: zone
entity_id: person.aaron_solochek
zone: zone.home
event: leave
condition: []
action:
- action: light.turn_off
data: {}
target:
entity_id: light.all_lights_zigbee_group
mode: single
- id: '1689914996388'
alias: Kitchen Fan Off Trigger
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.kitchen_fan_power
to: 'off'
condition: []
action:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_off
mode: single
- id: '1689915056014'
alias: Kitchen Fan On Trigger
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.kitchen_fan_power
to: 'on'
condition: []
action:
- action: input_button.press
data: {}
target:
entity_id: input_button.kitchen_fan_on
mode: single
- id: '1690373246907'
alias: Bedroom fans auto off
description: ''
trigger:
- platform: time
at: 05:30:00
condition:
- condition: numeric_state
entity_id: sensor.bedroom_air_quality_temperature
below: 67
action:
- action: cover.close_cover
data: {}
target:
entity_id: cover.bedroom_closet_window
- action: switch.turn_off
data: {}
target:
entity_id: switch.bedroom_fan_plug
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- action: switch.turn_on
data: {}
target:
entity_id: switch.bedroom_fan_plug
mode: single
- id: '1691371154961'
alias: Bedroom Humidity Correction
description: Reads the humidity/temp from the espresense device and corrects it
for actual room temperature
trigger:
- platform: state
entity_id:
- sensor.espresense_bedroom_humidity
condition: []
action:
- action: pyscript.humidity_correction
data:
dest_id: input_number.bedroom_corrected_humidity
initial_humidity: sensor.espresense_bedroom_humidity
initial_temperature: sensor.espresense_bedroom_temperature
new_temperature: sensor.bedroom_ecobee_temperature
mode: single
- id: '1691879070103'
alias: Bedroom Air Conditioner Turned on
description: ''
trigger:
- platform: device
device_id: 6833b84bb9fbdfd52286d43e14fa7596
domain: climate
entity_id: 4c3f38b88fc0931fe2cc6dbcd3377e26
type: hvac_mode_changed
to: cool
condition:
- condition: state
entity_id: cover.bedroom_closet_window
state: open
action:
- data: {}
target:
entity_id: cover.bedroom_closet_window
action: cover.close_cover
mode: single
- id: '1691882214924'
alias: 'Bedroom Closet fans on '
description: 'Turn off AC if fans are turned on '
trigger:
- platform: state
entity_id:
- fan.bedroom_closet_fans