-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathautomations.yaml
1250 lines (1250 loc) · 33.6 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: '1680432456017'
alias: House Alarm Switch
description: ''
trigger:
- platform: device
device_id: 85a4ae1129fd0bfdef36fd0c76eaf054
domain: shelly
type: single
subtype: button
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: alarm_control_panel.house_alarm
state: disarmed
sequence:
- service: alarm_control_panel.alarm_arm_away
data: {}
target:
entity_id:
- alarm_control_panel.house_alarm
- alarm_control_panel.garage_alarm
- conditions:
- condition: state
entity_id: alarm_control_panel.house_alarm
state: armed_away
sequence:
- service: alarm_control_panel.alarm_disarm
data: {}
target:
entity_id:
- alarm_control_panel.house_alarm
mode: single
- id: '1680434611408'
alias: House Alarm State Changes
description: Activate scene based on Alarm State.
trigger:
- platform: state
entity_id:
- alarm_control_panel.house_alarm
to: armed_away
id: away
- platform: state
entity_id:
- alarm_control_panel.house_alarm
to: disarmed
id: diarmed
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- away
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.house_alarm_switch
- choose:
- conditions:
- condition: time
after: '22:00:00'
before: 07:00:00
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.good_night
- conditions:
- condition: trigger
id:
- diarmed
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.house_alarm_switch
- choose:
- conditions:
- condition: time
after: 07:00:00
before: '10:00:00'
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.good_morning
mode: single
- id: '1680538297612'
alias: Garage Alarm button
description: Arm / Disarm Garage
trigger:
- platform: device
domain: mqtt
device_id: 2acaf72336d7fd4200e2b48a8659e3b4
type: action
subtype: single
discovery_id: 0x00158d0007013f0e action_single
id: single
- platform: device
domain: mqtt
device_id: 2acaf72336d7fd4200e2b48a8659e3b4
type: action
subtype: double
discovery_id: 0x00158d0007013f0e action_double
id: double
- platform: device
domain: mqtt
device_id: 2acaf72336d7fd4200e2b48a8659e3b4
type: action
subtype: hold
discovery_id: 0x00158d0007013f0e action_hold
id: hold
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: single
sequence:
- service: alarm_control_panel.alarm_disarm
data: {}
target:
entity_id: alarm_control_panel.garage_alarm
- conditions:
- condition: trigger
id: double
sequence:
- service: alarm_control_panel.alarm_arm_away
data: {}
target:
entity_id: alarm_control_panel.garage_alarm
- conditions:
- condition: trigger
id: hold
sequence:
- choose:
- conditions:
- condition: device
device_id: 0a8be4a0a520cc8c9ae26bb290cc5c43
domain: cover
entity_id: cover.roller_door
type: is_open
sequence:
- device_id: 0a8be4a0a520cc8c9ae26bb290cc5c43
domain: cover
entity_id: cover.roller_door
type: close
- conditions:
- condition: device
device_id: 0a8be4a0a520cc8c9ae26bb290cc5c43
domain: cover
entity_id: cover.roller_door
type: is_closed
sequence:
- device_id: 0a8be4a0a520cc8c9ae26bb290cc5c43
domain: cover
entity_id: cover.roller_door
type: open
mode: single
- id: '1680548017225'
alias: Mums Bedroom Lamp Button
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 1d92c51dee0084fcf5092745811add2a
type: action
subtype: single
discovery_id: 0x00158d0007f5e746 action_single
id: single
- platform: device
domain: mqtt
device_id: 1d92c51dee0084fcf5092745811add2a
type: action
subtype: hold
discovery_id: 0x00158d0007f5e746 action_hold
id: hold
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: single
sequence:
- choose:
- conditions:
- condition: state
entity_id: light.mums_bedroom_lamp
state: 'off'
sequence:
- service: light.turn_on
data: {}
target:
entity_id: light.mums_bedroom_lamp
- conditions:
- condition: state
entity_id: light.mums_bedroom_lamp
state: 'on'
sequence:
- service: light.turn_off
data: {}
target:
entity_id: light.mums_bedroom_lamp
- conditions:
- condition: trigger
id: hold
- condition: state
entity_id: light.mums_bedroom_light
state: 'on'
sequence:
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id:
- light.mums_bedroom_lamp
- light.mums_bedroom_light
mode: single
- id: '1680548379167'
alias: Mums Bedroom Door
description: Turn ON Lights
trigger:
- type: opened
platform: device
device_id: ee64f6bbf46796c872ad96f7ba0024f0
entity_id: binary_sensor.mums_bedroom_door_contact
domain: binary_sensor
id: door opened
- type: not_opened
platform: device
device_id: ee64f6bbf46796c872ad96f7ba0024f0
entity_id: binary_sensor.mums_bedroom_door_contact
domain: binary_sensor
id: door closed
condition:
- condition: sun
before: sunrise
after: sunset
enabled: true
action:
- choose:
- conditions:
- condition: trigger
id:
- door opened
sequence:
- service: light.turn_on
data: {}
target:
entity_id:
- light.mums_bedroom_light
- light.mums_bedroom_lamp
- conditions:
- condition: trigger
id:
- door closed
- condition: state
entity_id: alarm_control_panel.house_alarm
state: disarmed
sequence:
- service: light.turn_off
data: {}
target:
entity_id:
- light.mums_bedroom_light
- light.mums_bedroom_lamp
mode: single
- id: '1680604900822'
alias: Kitchen Motion Light
description: ''
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.kitchen_motion_sensor_occupancy
include_light_control: dont_use_brightness
include_sun: sun_enabled
time_delay: 1.5
end_scenes:
- scene.kitchen_motion_light_off
include_night_lights: night_lights_disabled
light_switch:
entity_id: scene.kitchen_motion_light_on
sun_elevation: 0
light_transition_on: 0.5
motion_bypass_lights_off: []
motion_bypass_lights_on:
- light.kitchen_lights
include_bypass:
- bypass_enabled_turn_on
- id: '1680607147832'
alias: Andys Bedroom Window Shade Switch
description: Open/Close Andys Bedroom Window Shade
trigger:
- platform: device
device_id: 4dbb9f86dd46dcdb425262d0769f27a7
domain: shelly
type: single
subtype: button
condition: []
action:
- service: cover.toggle
data: {}
target:
entity_id: cover.andys_bedroom_window_shade
mode: single
- id: '1680619745222'
alias: Andys Bedroom Door Opens
description: Turn On Lights
trigger:
- type: opened
platform: device
device_id: dfb09010c783989de19d21b023334023
entity_id: binary_sensor.andys_bedroom_door_contact
domain: binary_sensor
condition:
- condition: sun
before: sunrise
after: sunset
action:
- type: turn_on
device_id: 4e6aa19a170ea70af7a31ff35c88d3d5
entity_id: light.andys_bedroom_lights
domain: light
brightness_pct: 3
mode: single
- id: '1680623752337'
alias: Kitchen LED'S sync with main lights
description: ''
trigger:
- platform: device
type: changed_states
device_id: 1966005c8fe540eb6e1042431370b5fd
entity_id: light.kitchen_lights
domain: light
condition: []
action:
- choose:
- conditions:
- condition: device
type: is_on
device_id: 1966005c8fe540eb6e1042431370b5fd
entity_id: light.kitchen_lights
domain: light
- condition: sun
after: sunset
before: sunrise
sequence:
- service: light.turn_on
data: {}
target:
entity_id: light.kitchen_cabinets
- service: light.turn_on
data:
brightness: 25
target:
entity_id: light.kitchen_floor_led
- conditions:
- condition: device
type: is_off
device_id: 1966005c8fe540eb6e1042431370b5fd
entity_id: light.kitchen_lights
domain: light
sequence:
- service: light.turn_off
data: {}
target:
entity_id: light.kitchen_cabinets
- service: light.turn_off
data: {}
target:
entity_id: light.kitchen_floor_led
mode: single
- id: '1680630755249'
alias: Motion detected outside.
description: ''
trigger:
- type: motion
platform: device
device_id: e95ce4810243dc93f5c5d49826368fc7
entity_id: binary_sensor.front_garden_motion_sensor_occupancy
domain: binary_sensor
- type: motion
platform: device
device_id: b2ade35b312996e38a8e56f17d98fc89
entity_id: binary_sensor.back_garden_motion_sensor_occupancy
domain: binary_sensor
condition:
- condition: time
after: '19:00:00'
before: 08:00:00
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: notify.mobile_app_andys_iphone
data:
message: In {{area_name(trigger.entity_id)}}.
title: Motion Detected
mode: single
- id: '1680632717179'
alias: Patio Shade (CLOSE)
description: Back Garden Raised Bed turns Off
trigger:
- platform: device
device_id: c12abb29c6eeccb5576fe2c0e6c15fd3
domain: cover
entity_id: cover.lounge_patio_window_shade
type: closed
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id: light.back_garden_raised_bed_led
mode: single
- id: '1680633369142'
alias: Media Room Doors Open
description: Turn on Sideboard Lights
trigger:
- type: opened
platform: device
device_id: 3741c3b78fae3b8c9d9bfa4dd0d2bdee
entity_id: binary_sensor.media_room_door_contact
domain: binary_sensor
- type: opened
platform: device
device_id: 2cf41f63f34bb2e5a412e33d0e8ccd48
entity_id: binary_sensor.lounge_door_contact
domain: binary_sensor
condition:
- condition: sun
before: sunrise
after: sunset
- condition: state
entity_id: light.media_room_sideboard_lamps
state: 'off'
enabled: true
action:
- service: light.turn_on
data:
brightness_pct: 35
target:
entity_id: light.media_room_sideboard_lamps
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.media_room_sideboard_lamps
mode: single
- id: '1680634071576'
alias: Media Room TV turns On/Off
description: Set switches
trigger:
- platform: device
type: changed_states
device_id: 0a9c576e884719dc1e132ab9557992c2
entity_id: media_player.media_room_tv
domain: media_player
condition: []
action:
- choose:
- conditions:
- condition: device
device_id: 0a9c576e884719dc1e132ab9557992c2
domain: media_player
entity_id: media_player.media_room_tv
type: is_on
sequence:
- choose:
- conditions:
- condition: sun
before: sunrise
after: sunset
- condition: device
device_id: d2f20607d5ee0e26a00154fa88cec75d
domain: media_player
entity_id: media_player.lounge_tv
type: is_off
sequence:
- device_id: c12abb29c6eeccb5576fe2c0e6c15fd3
domain: cover
entity_id: cover.lounge_patio_window_shade
type: set_position
position: 0
- choose:
- conditions:
- condition: sun
before: sunrise
after: sunset
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.office_socket_1_left
enabled: false
- service: light.turn_on
data:
brightness_pct: 50
target:
entity_id: light.media_room_sideboard_lamps
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.kitchen_sockets_2_left
- switch.kitchen_sockets_3_left
- switch.kitchen_sockets_3_right
- switch.kitchen_sockets_4_left
- switch.kitchen_sockets_4_right
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.media_room_sockets_1_right
- switch.media_room_sockets_2_left
- conditions:
- condition: device
device_id: 0a9c576e884719dc1e132ab9557992c2
domain: media_player
entity_id: media_player.media_room_tv
type: is_off
sequence:
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.media_room_sockets_1_right
- switch.media_room_sockets_2_left
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.media_room_sideboard_lamps
mode: single
- id: '1680684039521'
alias: Ofice Door open
description: Turn on Office Lights 3%
trigger:
- type: opened
platform: device
device_id: 02defcc11edab426f8f340092086ca0c
entity_id: binary_sensor.office_door_contact
domain: binary_sensor
condition:
- condition: sun
before: sunrise
after: sunset
action:
- type: turn_on
device_id: 331e02c058ee883bccdd8f38f055e1cf
entity_id: light.office_dimmer
domain: light
brightness_pct: 3
mode: single
- id: '1680684948469'
alias: Hall Motion
description: Turn on Hall Lights
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.hall_motion_sensor_occupancy
include_light_control: use_brightness
include_sun: sun_enabled
time_delay: 0.5
end_scenes: []
include_night_lights: night_lights_disabled
light_brightness: 5
light_switch:
entity_id: light.hall_lights
sun_elevation: 0
- id: '1680685109285'
alias: Landing Motion
description: Turn on Landing Lights
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.landing_motion_sensor_occupancy
include_light_control: use_brightness
include_sun: sun_enabled
time_delay: 0.5
end_scenes: []
include_night_lights: night_lights_enabled
light_brightness: 5
light_switch:
entity_id: light.landing_lights
sun_elevation: 0
night_lights:
entity_id: light.landing_lights
night_time_delay: 0.5
include_night_light_control:
- use_brightness
night_light_brightness: 2
night_lights_conditions:
- time_enabled
night_lights_sun_elevation: -6.5
night_light_transition_on: 0
night_light_transition_off: 0
light_transition_on: 0.5
light_transition_off: 0
night_lights_before_time: 06:00:00
- id: '1680805974926'
alias: Evening
description: Activate Evening Scene
trigger:
- platform: sun
event: sunset
offset: 00:15:00
condition: []
action:
- service: scene.turn_on
data: {}
target:
entity_id: scene.evening
- choose:
- conditions:
- condition: device
device_id: d2f20607d5ee0e26a00154fa88cec75d
domain: media_player
entity_id: media_player.lounge_tv
type: is_on
- condition: state
entity_id: cover.lounge_patio_window_shade
state: open
sequence:
- service: light.turn_on
data: {}
target:
entity_id: light.back_garden_raised_bed_led
enabled: false
- choose:
- conditions:
- condition: state
entity_id: media_player.media_room_tv
state: 'on'
sequence:
- service: light.turn_on
data:
brightness_pct: 50
target:
entity_id: light.media_room_sideboard_lamps
- service: switch.turn_off
data: {}
target:
entity_id: switch.office_socket_1_left
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.imac_active
state: 'on'
sequence:
- service: light.turn_on
data: {}
target:
entity_id: light.office_dimmer
enabled: true
mode: single
- id: '1681322393347'
alias: Alarm Notification
description: Send Notification when Alarm's are Armed/Disarmed
trigger:
- platform: device
device_id: e3fc54e9d00a383bb2b8d4fcc48621a0
domain: alarm_control_panel
entity_id: alarm_control_panel.garage_alarm
type: armed_away
- platform: device
device_id: e3fc54e9d00a383bb2b8d4fcc48621a0
domain: alarm_control_panel
entity_id: alarm_control_panel.garage_alarm
type: disarmed
- platform: device
device_id: e6cd815aa3d360578c6c3e735fcdd764
domain: alarm_control_panel
entity_id: alarm_control_panel.house_alarm
type: disarmed
- platform: device
device_id: e6cd815aa3d360578c6c3e735fcdd764
domain: alarm_control_panel
entity_id: alarm_control_panel.house_alarm
type: armed_away
- platform: device
device_id: e3fc54e9d00a383bb2b8d4fcc48621a0
domain: alarm_control_panel
entity_id: alarm_control_panel.garage_alarm
type: triggered
condition: []
action:
- service: notify.mobile_app_andys_iphone
data:
message: Is now {{states(trigger.entity_id)|replace('_',' ')|title}}
title: '{{trigger.from_state.attributes.friendly_name}}'
- service: notify.mobile_app_imac
data:
message: Is now {{states(trigger.entity_id)|replace('_',' ')|title}}
title: '{{trigger.from_state.attributes.friendly_name}}'
mode: single
- id: '1681568218130'
alias: Mums Bedroom Windows Shade Switch
description: Open/Close Mums Bedroom Window Shade
trigger:
- platform: device
device_id: 1c5f5affe98bfa96dc8dc15b3fd24e73
domain: shelly
type: single
subtype: button2
condition: []
action:
- service: cover.toggle
data: {}
target:
entity_id: cover.mums_bedroom_window_shade
mode: single
- id: '1681649608321'
alias: Back Garden Sensor Light
description: ''
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.back_garden_motion_sensor_occupancy
light_switch:
entity_id: scene.back_garden_sesnor_light
include_sun: sun_enabled
sun_elevation: 0
ambient_light_sensor: sensor.back_garden_motion_sensor_illuminance_lux
end_scenes:
- scene.back_garden_sesnor_light_off
time_delay: 2
- id: '1682436018601'
alias: Lounge TV turns On/Off
description: ''
trigger:
- platform: device
type: changed_states
device_id: d2f20607d5ee0e26a00154fa88cec75d
entity_id: media_player.lounge_tv
domain: media_player
condition: []
action:
- choose:
- conditions:
- condition: device
device_id: d2f20607d5ee0e26a00154fa88cec75d
domain: media_player
entity_id: media_player.lounge_tv
type: is_on
sequence:
- type: turn_on
device_id: 37df1db29d585bdf02a3f4520199ad5e
entity_id: switch.lounge_socket_3_left
domain: switch
enabled: false
- type: turn_on
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_2
domain: switch
- type: turn_on
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_3
domain: switch
enabled: false
- choose:
- conditions:
- condition: device
type: is_off
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_1
domain: switch
sequence:
- type: turn_on
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_1
domain: switch
- choose:
- conditions:
- condition: sun
before: sunrise
after: sunset
- condition: state
entity_id: cover.lounge_patio_window_shade
state: open
sequence:
- service: light.turn_on
data: {}
target:
entity_id: light.back_garden_raised_bed_led
enabled: false
- conditions:
- condition: device
device_id: d2f20607d5ee0e26a00154fa88cec75d
domain: media_player
entity_id: media_player.lounge_tv
type: is_off
sequence:
- type: turn_off
device_id: 37df1db29d585bdf02a3f4520199ad5e
entity_id: switch.lounge_socket_3_left
domain: switch
enabled: false
- type: turn_off
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_3
domain: switch
enabled: false
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- type: turn_off
device_id: cab7ecb463477607b5f3598890660633
entity_id: switch.lounge_extension_socket_2
domain: switch
mode: single
- id: '1683723244370'
alias: Mums Geo Location
description: ''
trigger:
- platform: zone
entity_id: person.christine_leek
zone: zone.home
event: enter
enabled: true
id: mum_arrives_home
- platform: zone
entity_id: person.christine_leek
zone: zone.home
event: leave
enabled: true
id: mum_leaves_home
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: mum_leaves_home
sequence:
- service: media_player.turn_off
data: {}
target:
entity_id: media_player.lounge_tv
enabled: true
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
enabled: true
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.lounge_socket_1_left
- switch.lounge_socket_4_right
- conditions:
- condition: trigger
id:
- mum_arrives_home
sequence:
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.lounge_socket_1_left
- switch.lounge_socket_4_right
enabled: true
mode: single
- id: '1685119313232'
alias: Suns Too Bright
description: close Office and Lounge Windows Shades
trigger:
- type: illuminance
platform: device
device_id: b2ade35b312996e38a8e56f17d98fc89
entity_id: sensor.back_garden_motion_sensor_illuminance_lux
domain: sensor
above: 18000
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: cover.office_window_shade
state: open
sequence:
- service: button.press
data: {}
target:
entity_id: button.office_somfy_window_shade_my_position
- choose:
- conditions:
- condition: device
device_id: 4c65b7dfd2fa3fcb73d82cad561969f3
domain: cover
entity_id: cover.lounge_window_shade
type: is_open
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.it_s_too_bright
mode: single
- id: '1686928965767'
alias: Wetroom Humidity Fan
description: ''
use_blueprint:
path: Blackshome/bathroom-humidity-exhaust-fan.yaml
input:
trigger: sensor.wetroom_humidity_derivative
fan_switch:
entity_id: switch.wetroom_extractor_boost
rising_humidity: 1.5
max_humidity: 90
include_max_humidity: maximum_humidity_disabled
bathroom_humidity_sensor: sensor.wetroom_sensor_humidity
falling_humidity: -0.9
time_out: 20
include_winter_mode: winter_mode_enabled
month_winter_mode:
- '10'
- '11'
- '12'
- '1'
- '2'
- '3'
- '9'
winter_falling_humidity: -0.9
winter_time_out: 25
time_delay: 10
winter_rising_humidity: 2
winter_include_max_humidity: maximum_humidity_enabled
winter_max_humidity: 90
- id: '1689002161659'
alias: Low Battery Window Shades
description: ''
use_blueprint:
path: andyblac/low-battery-and-unavailable-check.yaml
input:
threshold: 60
include:
entity_id:
- sensor.lounge_patio_window_shade_battery
- sensor.lounge_window_shade_battery
actions: []
time: '10:00:00'
include_unavailable: enabled
unavailable: battery
notify_device:
- 471bd108a9239fff6834cfa4b7fc4c91
- 43b8822568e31d7fb941511a100d6155
- id: '1689002241553'
alias: Low Battery and Device Unavailable Check
description: ''
use_blueprint:
path: andyblac/low-battery-and-unavailable-check.yaml
input:
threshold: 20
actions:
- service: notify.mobile_app_andys_iphone
data:
title: Low Battery
message: '{{sensors}}'
- service: notify.mobile_app_imac
data:
title: Low Battery
message: '{{sensors}}'
exclude:
entity_id:
- sensor.lounge_patio_window_shade_battery
- sensor.lounge_window_shade_battery
time: '10:00:00'
include_unavailable: enabled
unavailable: battery
notify_device:
- 471bd108a9239fff6834cfa4b7fc4c91
- 43b8822568e31d7fb941511a100d6155
- id: '1692013433351'