-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.yaml
1054 lines (1051 loc) · 27.2 KB
/
scripts.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
wakeup:
alias: Wake Up Office
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: Ryan
message: is waking up
entity_id: device_tracker.ryan_note8
- service: light.turn_on
data:
entity_id: light.office_lamp
brightness: 60
- delay:
minutes: 1
- service: light.turn_off
entity_id: light.ryans_bloom
goingout:
alias: Going Out
sequence:
- service: notify.telegram
data:
message: Testing the Going Out script from IFTTT.
title: HASS
goingtobed:
alias: Going To Bed
sequence:
- service: light.turn_on
entity_id: light.book_nook
- service: light.turn_off
entity_id: group.kitchen
- delay:
seconds: 60
- service: light.turn_off
entity_id: group.living_room
- service: light.turn_off
entity_id: light.dining_room_lamps
- delay:
seconds: 30
- service: light.turn_off
entity_id: light.book_nook
- service: light.turn_off
entity_id: group.decorative
goodnight:
alias: Goodnight
sequence:
- service: light.turn_off
entity_id: light.ryans_lamp
- service: light.turn_off
entity_id: light.kristis_lamp
- service: switch.turn_off
entity_id: switch.bedroom_light
- delay:
seconds: 10
- service: light.turn_off
data:
entity_id: light.ryans_bloom
transition: 15
- service: light.turn_off
data:
entity_id: light.kristis_bloom
transition: 15
- service: light.turn_off
entity_id: group.decorative
- service: light.turn_off
entity_id: group.first_floor
goingupstairs:
alias: Going Upstairs
sequence:
- delay:
seconds: 5
- service: light.turn_on
entity_id: light.book_nook
- delay:
seconds: 5
- service: scene.turn_on
entity_id: scene.bedtime
night_garage_door_alarm:
alias: Night Garage door alarm
sequence:
- delay:
minutes: 5
- service: notify.telegram
data:
message: It looks like one of the garage doors have been left open. Please investigate.
title: HASS
day_garage_door_alarm:
alias: Day Garage door alarm
sequence:
- delay:
minutes: 30
- service: notify.telegram
data:
message: It looks like one of the garage doors have been left open. Please investigate.
title: HASS
light_test:
alias: Light Testing
sequence:
- service: light.turn_on
entity_id: light.book_nook
- delay:
minutes: 3
- service: light.turn_off
entity_id: light.book_nook
christmason:
alias: Christmas Lights On
sequence:
- service: light.turn_on
entity_id: group.christmas
christmasoff:
alias: Christmas Lights Off
sequence:
- service: light.turn_on
entity_id: group.christmas
downstairs_night:
alias: Downstairs Motion Night
sequence:
- service: light.turn_on
data:
entity_id: light.dining_room_lamps
brightness: 40
- service: light.turn_on
data:
entity_id: light.living_room_overhead
brightness: 5
- service: light.turn_on
data:
entity_id: light.kitchen_overhead
brightness: 5
- delay:
minutes: 3
- service: light.turn_off
entity_id: light.dining_room_lamps
- service: light.turn_off
entity_id: light.living_room_overhead
- service: light.turn_off
entity_id: light.kitchen_overhead
gh_bedroom_low:
alias: GH Bedroom Volume Low
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.bedroom_home
volume_level: '.36'
ghbedroomhigh:
alias: GH Bedroom Volume High
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.bedroom_home
volume_level: '.55'
ghkitchenlow:
alias: GH Kitchen Volume Low
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.kitchen_home
volume_level: '.36'
ghkitchenhigh:
alias: GH Kitchen Volume High
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.kitchen_home
volume_level: '.55'
colorstop:
alias: Color Stop
sequence:
- service: script.turn_off
entity_id: script.colormoodlights
- service: script.turn_off
entity_id: script.colormoodloop
halloweenlights:
alias: Halloween Lights
sequence:
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 255
transition: 15
color_name: orange
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 255
transition: 15
color_name: green
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 120
transition: 15
color_name: purple
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 120
transition: 15
color_name: orange
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 120
transition: 15
color_name: green
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 120
transition: 15
color_name: purple
- delay:
minutes: 1
- service: script.turn_on
entity_id: script.halloweenloop
halloweenloop:
alias: Halloween Loop
sequence:
- service: script.turn_on
entity_id: script.halloweenlights
colormoodlights:
alias: Color Mood Lights
sequence:
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 255
transition: 15
color_name: red
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 255
transition: 15
color_name: purple
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 120
transition: 15
color_name: purple
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 120
transition: 15
color_name: red
- delay:
minutes: 1
- service: script.turn_on
entity_id: script.colormoodloop
colormoodloop:
alias: Color Mood Loop
sequence:
- service: script.turn_on
entity_id: script.colormoodlights
ryansunrise:
alias: Ryan Hue Sunrise
sequence:
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 5
color_name: midnightblue
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 50
transition: 60
color_name: midnightblue
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 100
transition: 60
color_name: darkorange
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 150
transition: 60
color_name: yellow
- delay:
minutes: 1
- service: light.turn_on
data:
entity_id: light.ryans_bloom
brightness: 200
transition: 60
color_name: lightyellow
kristisunrise:
alias: Kristi Hue Sunrise
sequence:
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 5
color_name: midnightblue
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 50
transition: 120
color_name: midnightblue
- delay:
minutes: 2
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 100
transition: 120
color_name: darkorange
- delay:
minutes: 2
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 150
transition: 120
color_name: yellow
- delay:
minutes: 2
- service: light.turn_on
data:
entity_id: light.kristis_bloom
brightness: 200
transition: 60
color_name: lightyellow
upsnotify:
alias: UPS on Battery Notify
sequence:
- service: notify.mobile_app_sm_f936u
data:
title: UPS On Battery
message: Loss of power detected. Current UPS runtime is {{ states(sensor.basement_ups_battery_charge)
}} and remaining power is {{ states(sensor.basement_ups_battery_charge)
}}%.
- service: notify.telegram
data:
message: 'WARNING: Loss of power detected. Current UPS runtime is {{ states.sensor.basement_battery_runtime.state
}} and remaining power is {{ states.sensor.basement_status_data.state }}%.'
title: HASS
- delay:
minutes: 5
- service: script.turn_on
entity_id: script.upsnotifyloop
mode: single
upsnotifyloop:
alias: UPS on Battery Loop
sequence:
- service: script.turn_on
entity_id: script.upsnotify
ryansleep:
alias: Ryan Phone Sleep
sequence:
- service: input_select.select_option
data:
entity_id: input_select.ryan_phone_status
option: Sleep
ryanbattery:
alias: Ryan Phone Battery
sequence:
- service: input_select.select_option
data:
entity_id: input_select.ryan_phone_status
option: On Battery
ryanlow:
alias: Ryan Phone Low
sequence:
- service: input_select.select_option
data:
entity_id: input_select.ryan_phone_status
option: Low Battery
ryancar:
alias: Ryan Phone In Car
sequence:
- service: input_select.select_option
data:
entity_id: input_select.ryan_phone_status
option: In Car
ryancharging:
alias: Ryan Phone Charging
sequence:
- service: input_select.select_option
data:
entity_id: input_select.ryan_phone_status
option: Charging
kristisleep:
alias: Kristi Phone Sleep
sequence:
- service: input_select.select_option
data:
entity_id: input_select.kristi_phone_status
option: Sleep
kristibattery:
alias: Kristi Phone Battery
sequence:
- service: input_select.select_option
data:
entity_id: input_select.kristi_phone_status
option: On Battery
textsecuritycheck:
alias: Text Security Check
sequence:
- service: notify.telegram
data_template:
message: '{%- for state in states.binary_sensor if state.attributes.device_class==''opening''
if state.state==''on'' -%}{%- if loop.first %}The {% elif loop.last %} and
the {% else %}, the {% endif -%} {{ state.name | lower }} is open {%- else
%} All Doors are Closed{%- endfor -%}. {%- for state in states.lock if state.state==''unlocked''
-%} {%- if loop.first %}The {% elif loop.last %} and the {% else %}, the {%
endif -%} {{ state.name | lower }} is {{state.state}} {%- else %} All Doors
are Locked {%- endfor -%}. {%- for state in states.cover if state.state==''open''
-%} {%- if loop.first %}The {% elif loop.last %} and the {% else %}, the {%
endif -%} {{ state.name | lower }} is {{state.state}} {%- else %} All Garage
Doors are Closed {%- endfor -%}. Have a nice day!'
title: HA - Checking all security sensors
voicesecuritycheck:
alias: Voice Security Check
sequence:
- service: tts.google_say
entity_id: media_player.kitchen_home
data_template:
volume_level: '.55'
message: '{%- for state in states.binary_sensor if state.attributes.device_class==''opening''
if state.state==''on'' -%}{%- if loop.first %}The {% elif loop.last %} and
the {% else %}, the {% endif -%} {{ state.name | lower }} is open {%- else
%} All Doors are Closed{%- endfor -%}. {%- for state in states.lock if state.state==''unlocked''
-%} {%- if loop.first %}The {% elif loop.last %} and the {% else %}, the {%
endif -%} {{ state.name | lower }} is {{state.state}} {%- else %} All Doors
are Locked {%- endfor -%}. {%- for state in states.cover if state.state==''open''
-%} {%- if loop.first %}The {% elif loop.last %} and the {% else %}, the {%
endif -%} {{ state.name | lower }} is {{state.state}} {%- else %} All Garage
Doors are Closed {%- endfor -%}. Have a nice day!'
title: HA - Checking all security sensors
guestmodeaway:
alias: Guest Mode Away
sequence:
- service: tts.google_say
entity_id: media_player.kitchen_home
data_template:
volume_level: '.55'
message: I have not detected movement in the house for 2 hours. In 5 minutes
I will put the house in away mode. If you are still here please disable this
script or make motion in front of one of the sensors. Thank you.
- service: notify.telegram
data:
message: I will setting away mode in 5 minutes.
title: 'HASS: Guest Mode'
- delay:
minutes: 5
- service: switch.turn_on
entity_id: switch.st_awayhome_switch
- service: switch.turn_off
entity_id: switch.guest_mode
update_config:
sequence:
- service: shell_command.get_latest_config
- service: homeassistant.restart
fix_mqtt:
sequence:
- service: shell_command.restart_mqtt
- service: homeassistant.restart
'1591738935826':
alias: Fade Up Living Room Lights
sequence:
- brightness_pct: 1
device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: turn_on
- brightness_pct: 1
device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: turn_on
- brightness_pct: 1
device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: turn_on
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increase
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increase
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increase
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increase
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increase
- delay: '60'
- device_id: b0db5f920e0b48138cc17390f20364a7
domain: light
entity_id: light.left_lamp
type: brightness_increase
- device_id: 4e93e6ed17154c789c0ef81571d26c5a
domain: light
entity_id: light.right_lamp
type: brightness_increase
- device_id: a823476b216c4c1b98d168803ea9fe62
domain: light
entity_id: light.floor_lamp
type: brightness_increases
trigger_cast_in_office:
alias: Trigger Cast in Office
sequence: []
mode: single
office_lights_on:
alias: Office Lights On
sequence:
- type: turn_on
device_id: a823476b216c4c1b98d168803ea9fe62
entity_id: light.office_lamp
domain: light
- type: turn_on
device_id: f7e05225909d433abf95f1f0fac2969b
entity_id: light.spare_bedroom_1
domain: light
- type: turn_on
device_id: 08a32ba1388b4fdba9ad6d6b7927341a
entity_id: light.spare_bedroom_2
domain: light
- service: light.turn_on
target:
entity_id: light.office_wall_wash
data:
brightness_pct: 100
transition: 13
effect: random
- service: input_boolean.turn_on
target:
entity_id: input_boolean.cir_office_lights
mode: single
office_lights_off:
alias: Office Lights Off
sequence:
- type: turn_off
device_id: a823476b216c4c1b98d168803ea9fe62
entity_id: light.office_lamp
domain: light
- type: turn_off
device_id: f7e05225909d433abf95f1f0fac2969b
entity_id: light.spare_bedroom_1
domain: light
- type: turn_off
device_id: 08a32ba1388b4fdba9ad6d6b7927341a
entity_id: light.spare_bedroom_2
domain: light
- service: light.turn_off
data:
transition: 10
target:
entity_id: light.office_wall_wash
- service: input_boolean.turn_off
mode: single
vacuum_clean_living_room:
alias: Vacuum - Clean Living Room
sequence:
- service: vacuum.stop
target:
entity_id: vacuum.roborock_s5_max
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- service: xiaomi_miio.vacuum_clean_zone
data:
repeats: 1
zone:
- - 34472
- 21132
- 39717
- 25909
target:
entity_id: vacuum.roborock_s5_max
mode: single
icon: mdi:robot-vacuum
vacuum_send_command_multiple_zones:
mode: parallel
alias: vacuum_send_command_multiple_zones
sequence:
- delay:
milliseconds: 100
- service: python_script.vacuum_send_command
data_template:
entity_id: '{{ entity_id }}'
command: '{{ command }}'
params: '{%- set cleaned = params | string | replace(" ", "") -%} {%- set parsed
= cleaned.replace("[[", "[").replace("]]", "]").replace("],[", "]|[").split("|")
| list -%} {%- set firstBatch = parsed | batch(5) | list | first | join(",")
-%} {%- set rest = cleaned | replace(firstBatch, "") | replace("[,[", "[[")
-%} {{ "[" + firstBatch + "]" }}
'
- condition: template
value_template: '{{ command == ''app_zoned_clean'' }}'
- condition: template
value_template: '{%- set cleaned = params | string | replace(" ", "") -%} {%-
set parsed = cleaned.replace("[[", "[").replace("]]", "]").replace("],[", "]|[").split("|")
| list -%} {%- set firstBatch = parsed | batch(5) | list | first | join(",")
-%} {%- set rest = cleaned | replace(firstBatch, "") | replace("[,[", "[[")
-%} {{ rest != "[]" }}
'
- wait_template: '{{ is_state(entity_id, ''cleaning'') }}'
- wait_template: '{{ not is_state(entity_id, ''cleaning'') }}'
- service: vacuum.pause
data_template:
entity_id: '{{ entity_id }}'
- service: script.vacuum_send_command_multiple_zones
data_template:
entity_id: '{{ entity_id }}'
command: '{{ command }}'
params: '{%- set cleaned = params | string | replace(" ", "") -%} {%- set parsed
= cleaned.replace("[[", "[").replace("]]", "]").replace("],[", "]|[").split("|")
| list -%} {%- set firstBatch = parsed | batch(5) | list | first | join(",")
-%} {%- set rest = cleaned | replace(firstBatch, "") | replace("[,[", "[[")
-%} {{ rest }}
'
vacuum_go_to_trash_can:
alias: Vacuum - Go To Trash Can
sequence:
- service: vacuum.send_command
data:
command: app_goto_target
params:
- 29340
- 23376
target:
entity_id: vacuum.roborock_s5_max
mode: single
icon: mdi:trash-can
vacuum_clean_kitchen_table:
alias: Vacuum - Clean Kitchen Table
sequence:
- service: vacuum.stop
target:
entity_id: vacuum.roborock_s5_max
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- service: xiaomi_miio.vacuum_clean_zone
data:
repeats: 1
zone:
- - 30741
- 19707
- 34277
- 22775
target:
entity_id: vacuum.roborock_s5_max
mode: single
icon: mdi:robot-vacuum
camera_privacy:
alias: Camera Privacy
sequence:
- service: switch.turn_off
target:
entity_id: switch.entry_camera
- service: switch.turn_off
target:
entity_id: switch.play_room_camera
- service: switch.turn_off
target:
entity_id: switch.basement_cam
mode: single
color_change:
sequence:
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: green
transition: 15
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: purple
transition: 15
mode: single
alias: Outdoor - Halloween Color Change
bedroom_color_change:
sequence:
- service: light.turn_on
data:
color_name: green
transition: 5
target:
entity_id: light.ryan_bloom
- service: light.turn_on
data:
color_name: purple
transition: 5
target:
entity_id: light.kristi_bloom
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_on
data:
color_name: green
transition: 5
target:
entity_id: light.kristi_bloom
- service: light.turn_on
data:
color_name: purple
transition: 5
target:
entity_id: light.ryan_bloom
mode: single
alias: Bedroom Color Change
outdoor_christmas_color_change:
alias: Outdoor - Christmas Color Change
sequence:
- service: light.turn_on
target:
entity_id: light.front_lights
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: red
transition: 15
- service: light.turn_on
target:
entity_id: light.north_driveway_bulb
data:
color_name: red
transition: 15
- service: light.turn_on
target:
entity_id: light.tyeb8635a85dc6dd81dcbjav
data:
color_name: green
transition: 15
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: green
transition: 15
- service: light.turn_on
target:
entity_id: light.north_driveway_bulb
data:
color_name: green
transition: 15
- service: light.turn_on
target:
entity_id: light.tyeb8635a85dc6dd81dcbjav
data:
color_name: red
transition: 15
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: red
transition: 15
- service: light.turn_on
target:
entity_id: light.north_driveway_bulb
data:
color_name: red
transition: 15
- service: light.turn_on
target:
entity_id: light.tyeb8635a85dc6dd81dcbjav
data:
color_name: white
transition: 15
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: white
transition: 15
- service: light.turn_on
target:
entity_id: light.north_driveway_bulb
data:
color_name: white
transition: 15
- service: light.turn_on
target:
entity_id: light.tyeb8635a85dc6dd81dcbjav
data:
color_name: red
transition: 15
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: script.loop_front_lights
mode: single
loop_front_lights:
alias: Loop Front Lights
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_select.light_mode
state: Halloween
sequence:
- service: script.color_change
default: []
- choose:
- conditions:
- condition: state
entity_id: input_select.light_mode
state: Halloween
sequence:
- service: script.color_change
default: []
mode: single
status_light_start_loop:
alias: Status Light - Start Loop
sequence:
- service: light.turn_on
target:
entity_id: light.office_status_light
data:
transition: 3
color_name: red
brightness_pct: 100
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- service: light.turn_on
target:
entity_id: light.office_status_light
data:
transition: 3
color_name: white
brightness_pct: 100
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- service: script.status_light_keep_looping
mode: single
status_light_keep_looping:
alias: Status Light - Keep Looping
sequence:
- wait_template: '{%- if states.input_select.ryan_s_teams_status.state == "In a
Meeting" or states.input_select.ryan_s_teams_status.state == "In a Call" -%}True{%else%}False{%endif%}'
timeout: '5'
- service: script.status_light_start_loop
mode: single
outdoor_4th_color_change:
alias: Outdoor - 4th Color Change
sequence:
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: red
transition: 15
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_on
data:
color_name: blue
transition: 20
target:
entity_id: light.north_driveway_bulb
- service: light.turn_on
target:
entity_id: light.overhang_light
data:
color_name: blue
transition: 15
- service: light.turn_on
data:
color_name: red
transition: 15
target:
entity_id: light.north_driveway_bulb
- service: automation.trigger
data:
skip_condition: false
target:
entity_id: automation.4th_color_change
mode: single
'1662733796372':
alias: New Script
sequence:
- service: select.select_option
data:
option: Desk Scanner
target:
entity_id: select.desk_wled_preset
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- type: turn_on
device_id: 3135473da604a857bdde34f7992b17c8
entity_id: switch.office_monitor_switch