-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
scripts.yaml
1291 lines (1269 loc) · 37.7 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
---
# /config/scripts.yaml
garage_door_opened_announce:
sequence:
- data:
data:
method: speak
type: announce
message: Garage door has been opened
target: media_player.darren_s_echo_dot
service: notify.alexa_media
screen_changer:
sequence:
- service: homeassistant.turn_on
data:
entity_id: input_boolean.sports_updates
- service: input_select.select_option
data:
entity_id: input_select.mobilelayout2
option: mobile23
bedroom_fan_low:
sequence:
- service: light.turn_on
data:
entity_id: light.bedroom_ceiling_fan
brightness: 63
bedroom_fan_medium:
sequence:
- service: light.turn_on
data:
entity_id: light.bedroom_ceiling_fan
brightness: 127
bedroom_fan_high:
sequence:
- service: light.turn_on
data:
entity_id: light.bedroom_ceiling_fan
brightness: 191
bedroom_fan_max:
sequence:
- service: light.turn_on
data:
entity_id: light.bedroom_ceiling_fan
brightness: 255
office_fan_low:
sequence:
- service: light.turn_on
data:
entity_id: light.office_ceiling_fan
brightness: 63
- delay: "00:00:03"
office_fan_medium:
sequence:
- service: light.turn_on
data:
entity_id: light.office_ceiling_fan
brightness: 127
office_fan_high:
sequence:
- service: light.turn_on
data:
entity_id: light.office_ceiling_fan
brightness: 191
office_fan_max:
sequence:
- service: light.turn_on
data:
entity_id: light.office_ceiling_fan
brightness: 255
klove_radio_inside_group:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.everywhere
volume_level: "0.40"
- service: media_player.play_media
entity_id: media_player.everywhere
data:
media_content_id: media-source://radio_browser/960b6c19-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
metadata:
title: WAY-FM 88.7 Spring Hill, TN
thumbnail: >-
http://www.wayfm.com/wp-content/themes/WayFM/images/webLogo_fullCircle.gif
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/tag
- media_content_type: music
media_content_id: media-source://radio_browser/tag/christian
klove_radio:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.kitchen_speakers
volume_level: "0.40"
- service: media_player.play_media
entity_id: media_player.kitchen_speakers
data:
media_content_id: media-source://radio_browser/960b6c19-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
metadata:
title: WAY-FM 88.7 Spring Hill, TN
thumbnail: >-
http://www.wayfm.com/wp-content/themes/WayFM/images/webLogo_fullCircle.gif
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/tag
- media_content_type: music
media_content_id: media-source://radio_browser/tag/christian
gods_djs:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.everywhere
volume_level: "0.35"
- service: media_player.play_media
data:
entity_id: media_player.everywhere
media_content_id: http://www.godsdjsradio.com:8080/stream
media_content_type: "music"
hits_radio:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.everywhere
volume_level: "0.35"
- service: media_player.play_media
data:
entity_id: media_player.everywhere
media_content_id: http://tunein4.streamguys1.com/chrhtfree1?
media_content_type: "music"
the_blast:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.everywhere
volume_level: "0.35"
- service: media_player.play_media
data:
entity_id: media_player.everywhere
media_content_id: http://blender.theblast.fm.fast-serv.com/128
media_content_type: "music"
radio_player:
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.everywhere
volume_level: "0.35"
- service: media_player.volume_set
data:
entity_id: media_player.patio_speaker
volume_level: "0.45"
- service: media_player.play_media
data_template:
entity_id: >
{% if is_state("input_select.output_radio", "Inside") %} media_player.everywhere
{% elif is_state("input_select.output_radio", "Patio") %} media_player.patio_speaker
{% elif is_state("input_select.output_radio", "Office") %} media_player.office_group
{% endif %}
media_content_id: >
{% if is_state("input_select.radio_station", "KLove") %} https://maestro.emfcdn.com/stream_for/sk001/tunein
{% elif is_state("input_select.radio_station", "Hits") %} http://tunein4.streamguys1.com/chrhtfree1?
{% elif is_state("input_select.radio_station", "The Blast") %} http://blender.theblast.fm.fast-serv.com/128
{% elif is_state("input_select.radio_station", "God's DJ's") %} http://www.godsdjsradio.com:8080/stream
{% elif is_state("input_select.radio_station", "Rock") %} http://listen.christianrock.net/stream/9/
{% elif is_state("input_select.radio_station", "Heavy") %} http://listen.christianrock.net/stream/3/?sid=3
{% endif %}
media_content_type: "music"
radio_klove:
sequence:
- service: media_player.play_media
entity_id: media_player.office_google
data:
media_content_id: https://maestro.emfcdn.com/stream_for/sk001/tunein
media_content_type: music
# audio/mp4
# http://tunein4.streamguys1.com/chrhtfree1?
# http://ca8.rcast.net:8010/;stream.mp3
# http://listen.christianrock.net/stream/9/
# http://74.82.59.197:8301/stream
# http://listen.christianrock.net/stream/3/?sid=3
# http://blast.theblast.fm.fast-serv.com/128
# http://www.godsdjsradio.com:8080/stream ### DANCE
# http://142.4.215.64:8096/stream
# http://blender.theblast.fm.fast-serv.com/128
# http://tunein4.streamguys1.com/chrhtfree1?
#
# Bedtime
#
good_night:
sequence:
- service: homeassistant.turn_off
continue_on_error: true
entity_id:
- light.every_light
- light.office_floor_lights
- switch.night_switches
# - switch.keurig_coffee
- input_boolean.disable_popups
- input_boolean.darren_s_alarm_triggered_today
- input_boolean.darren_is_awake
- input_boolean.donna_s_alarm_triggered_today
- input_boolean.donna_is_awake
- input_boolean.morning_triggered_today
- input_boolean.everyone_is_awake
- input_boolean.auto_tablet
- input_boolean.auto_backgroundz
- input_boolean.sports_updates
- input_boolean.radar_updates
- service: alarm_control_panel.alarm_arm_night
continue_on_error: true
entity_id: alarm_control_panel.alarmo
data:
code: !secret alarm_code
- service: homeassistant.turn_on
continue_on_error: true
entity_id:
- input_boolean.motion_lights
- input_boolean.camera_snapshots
- input_boolean.driveway_motion_lights
- switch.air_cleaner
- input_boolean.disable_auto_garage
- input_boolean.disable_laundry_notifications
- service: tts.google_say
continue_on_error: true
entity_id:
- media_player.office_google
data_template:
message: >
Good night. {{ ["You are a child of God.", "Sleep well!", "God is good ALL the time!"] | random }}
- delay: 10
- service: media_player.play_media
target:
entity_id: media_player.office_display
data:
media_content_id: library://playlist/19
media_content_type: playlist
metadata:
title: Brown Noise
thumbnail: null
media_class: playlist
children_media_class: track
navigateIds:
- {}
- media_content_type: mass
media_content_id: playlists
- media_content_type: music
media_content_id: library://playlist/19
- service: homeassistant.turn_off
entity_id: switch.main_kiosk_screen
- delay: 3
- service: notify.mobile_app_pixel_8_pro
data:
message: command_broadcast_intent
data:
intent_package_name: com.urbandroid.sleep
intent_action: com.urbandroid.sleep.alarmclock.START_SLEEP_TRACK
ttl: 0
priority: high
- delay: 10
- condition: state
entity_id: light.cabinet_lights
state: "on"
- service: mqtt.publish
data:
topic: cmnd/cabinets/power1
payload: "OFF"
retain: "true"
- delay: 3
- service: media_player.volume_set
continue_on_error: true
data:
entity_id: media_player.living_room_google
volume_level: 0.30
- service: media_player.volume_set
continue_on_error: true
data:
entity_id: media_player.tv_speakers
volume_level: 0.30
- service: lock.lock
continue_on_error: true
target:
entity_id: lock.side_door
#
# Morning
#
morning:
sequence:
- condition: state
entity_id: input_boolean.morning_triggered_today
state: "off"
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.alarmo
data:
code: !secret alarm_code
- service: mqtt.publish
continue_on_error: true
data:
topic: cmnd/cabinets/power1
payload: "ON"
retain: "true"
- service: input_boolean.turn_off
entity_id:
- input_boolean.disable_laundry_notifications
- input_boolean.camera_snapshots
- input_boolean.alarm_disarm_switch
- service: script.browser_window_reload
- service: homeassistant.turn_on
entity_id:
- input_boolean.auto_backgroundz
- input_boolean.auto_tablet
- input_boolean.auto_backgroundz
- light.sofa_light
- switch.main_kiosk_screen
- switch.subwoofer
- switch.den_nightlight_plugs
# - switch.keurig_coffee
- delay: 300
- service: input_boolean.turn_on
entity_id:
- input_boolean.morning_triggered_today
# ###########################################################
# POPUPS, CAMERAS, BROWSER SCRIPTS #
# ###########################################################
browser_blackout_button:
sequence:
# - service: browser_mod.blackout
- service: tts.google_say
data:
entity_id:
- media_player.pixel_fully
data_template:
message: "Browser blackout is active"
browser_theme_ocean:
sequence:
- service: frontend.set_theme
data:
name: Ocean-Nightz
- service: browser_mod.set_theme
data:
theme: Ocean-Nightz
browser_id:
- ac9b7f58-cfbfe785
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile1",
"mobile23",
"mobile3",
"mobile4",
"mobile51",
"mobile6",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile11",
"mobile121",
"mobile14",
"mobile15",
"mobile16",
"mobile171",
"mobile18",
]
browser_theme_purple:
sequence:
- service: frontend.set_theme
data:
name: Purple-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile20",
"mobile21",
"mobile1",
"mobile19",
"mobile3",
"mobile51",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile11",
"mobile13",
"mobile14",
"mobile15",
"mobile16",
"mobile18",
]
browser_theme_green:
sequence:
- service: frontend.set_theme
data:
name: Green-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile23",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_grey:
sequence:
- service: frontend.set_theme
data:
name: Grey-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Grey-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile14",
"mobile23",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_blue:
sequence:
- service: frontend.set_theme
data:
name: Blue-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Blue-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile6",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_pink:
sequence:
- service: frontend.set_theme
data:
name: Pink-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Pink-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile52",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_lime:
sequence:
- service: frontend.set_theme
data:
name: Lime-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Lime-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile171",
"mobile172",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_magenta:
sequence:
- service: frontend.set_theme
data:
name: Magenta-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Magenta-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile6",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_geaux:
sequence:
- service: frontend.set_theme
data:
name: Geaux-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Geaux-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile51",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
]
browser_theme_red:
sequence:
- service: frontend.set_theme
data:
name: Red-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Red-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile22",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_orange:
sequence:
- service: frontend.set_theme
data:
name: Orange-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Orange-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile121",
"mobile11",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_theme_yellow:
sequence:
- service: frontend.set_theme
data:
name: Yellow-Nightz
- service: browser_mod.set_theme
data:
browser_id:
- ac9b7f58-cfbfe785
theme: Yellow-Nightz
- service: input_select.set_options
entity_id: input_select.mobile_wallpaper
data_template:
options:
[
"mobile23",
"mobile14",
"mobile18",
"mobile7",
"mobile8",
"mobile9",
"mobile10",
"mobile3",
"mobile13",
"mobile1",
"mobile15",
"mobile16",
"mobile51",
]
browser_window_reload:
sequence:
- service: switch.turn_on
data:
entity_id: switch.main_kiosk_screen
- service: lovelace.reload_resources
- delay: "00:00:04"
- service: browser_mod.navigate
data:
path: /lovelace/newtab
browser_id:
- ac9b7f58-cfbfe785
- service: browser_mod.navigate
data:
path: /lovelace/ensuite_kiosk
browser_id:
- 1b918469-5d6a2b44
- delay: "00:00:03"
- service: browser_mod.refresh
browser_window_reload_test:
sequence:
- service: lovelace.reload_resources
- delay: "00:00:04"
- service: browser_mod.navigate
data:
path: /lovelace/newtab
browser_id:
- d75a5595-2777b7c8
browser_close_popup:
sequence:
- service: browser_mod.refresh
# ####################################################
browser_picsaver_on:
sequence:
- service: input_select.select_option
data:
entity_id:
- input_select.button_animation_1
option: blink
- service: browser_mod.navigate
data:
path: /lovelace/screen
browser_id:
- ac9b7f58-cfbfe785
# ##########################################################
browser_picsaver_off:
sequence:
- service: browser_mod.navigate
data:
path: /lovelace/newtab
browser_id:
- ac9b7f58-cfbfe785
# ###########################################################
# ###########################################################
home_assistant_screen: # HA SCREENSAVER
sequence:
- service: browser_mod.navigate
data:
path: http://192.168.1.134:8123/local/demo.html
browser_id:
- OfficePC
- ac9b7f58-cfbfe785
- d75a5595-2777b7c8
# ###########################################################
# ###########################################################
# ## TIMERS & ALARM SCRIPTS ###
# ###########################################################
coffee_on:
sequence:
- service: homeassistant.turn_on
entity_id:
- switch.coffee_maker
- light.coffee_light
- service: notify.mobile_app_pixel_8_pro
data_template:
title: "🔴 New Life Alert❗️"
message: "⚠️️Coffee☕️ Maker ON!⚠️{{ states('sensor.time_12_hour_am_pm') }}"
# ###########################################################
# # Darren's wake up alarm
darrens_wake_up:
sequence:
- service: homeassistant.turn_on
entity_id: input_boolean.darren_s_alarm_triggered_today
continue_on_error: true
- service: light.turn_on
data:
entity_id: light.desk_light
brightness_pct: 1
transition: 4
kelvin: 2400
- delay: "00:01:00"
- service: light.turn_on
data:
entity_id: light.desk_light
brightness_pct: 5
transition: 4
kelvin: 3300
- delay: "00:01:00"
- service: media_player.volume_set
continue_on_error: true
data:
entity_id:
- media_player.office_google
volume_level: "0.35"
- service: tts.google_say
continue_on_error: true
entity_id:
- media_player.office_google
data_template:
message: >
Good morning. {{ ["Time to wake up and be thankful.", "You have been blessed with another day!", "God is good ALL the time!"] | random }}
- service: light.turn_on
data:
entity_id: light.desk_light
brightness_pct: 30
transition: 4
kelvin: 3800
- delay: "00:00:20"
- service: media_player.volume_set
continue_on_error: true
data:
volume_level: 0.4
target:
device_id: 4365464e7cdd496ca499d4ce5141ce6e
- service: light.turn_on
data:
entity_id: light.corner_light
brightness_pct: 10
transition: 4
kelvin: 2400
- delay: "00:01:00"
- service: light.turn_on
data:
entity_id: light.corner_light
brightness_pct: 30
transition: 2
kelvin: 3300
- service: switch.turn_off
entity_id:
- switch.air_cleaner
- service: media_player.play_media
continue_on_error: true
target:
entity_id: media_player.office_display
data:
media_content_id: library://track/56
media_content_type: music
metadata:
title: Crowder - Grave Robber
thumbnail: https://i.scdn.co/image/ab67616d0000b273f695a68ba59a73597e11fb76
media_class: track
children_media_class: null
navigateIds:
- {}
- media_content_type: mass
media_content_id: tracks
- delay: "00:01:00"
- service: light.turn_on
data:
entity_id: light.bed_light
brightness_pct: 30
transition: 2
kelvin: 3300
- service: light.turn_on
data:
entity_id: light.office_ceiling_lights
brightness_pct: 30
- service: light.turn_on
data:
entity_id: light.office_ceiling_lights
brightness_pct: 40
- delay: "00:03:00"
- service: script.morning
- service: light.turn_on
data:
entity_id: light.office_floor_lights
brightness_pct: 100
kelvin: 3200
- delay: "00:30:00"
- service: homeassistant.turn_off
entity_id: input_boolean.darren_s_alarm_triggered_today
# ###########################################################
# Donna's wake up alarm
donnas_wake_up:
sequence:
- service: homeassistant.turn_on
entity_id: input_boolean.donna_s_alarm_triggered_today
- delay: "00:06:00"
- service: light.turn_on
target:
entity_id: light.darrens_light
data:
kelvin: 2000
brightness_pct: 1
- delay: "00:02:00"
- service: light.turn_on
target:
entity_id: light.darrens_light
data:
kelvin: 2600
brightness_pct: 10
- delay: "00:02:00"
- service: light.turn_on
target:
entity_id: light.donnas_light
data:
kelvin: 2000
brightness_pct: 1
- service: light.turn_on
target:
entity_id: light.darrens_light
data:
kelvin: 3000
brightness_pct: 20
- delay: "00:02:00"
- service: media_player.turn_on
data:
entity_id: media_player.bedroom_speaker
- service: media_player.volume_set
data:
entity_id: media_player.bedroom_speaker
volume_level: "0.45"
- service: tts.google_say
data:
entity_id: media_player.bedroom_speaker
data_template:
message: >
Good morning beautiful. {{ ["Time to wake up ram bow.", "Your husband is madly in love with you!", "Your husband thinks you are beautiful!", "God is good ALL the time!", "You are a child of God.", "Rise and shine! God gave you another day!", "God is good ALL the time!"] | random }}
- delay: "00:01:00"
- service: light.turn_on
target:
entity_id: light.donnas_light
data:
kelvin: 2600
brightness_pct: 5
- service: light.turn_on
target:
entity_id: light.darrens_light
data:
kelvin: 3600
brightness_pct: 35
- delay: "00:02:00"
- service: light.turn_on
target:
entity_id: light.donnas_light
data:
kelvin: 3600
brightness_pct: 25
- service: light.turn_on
data:
entity_id: light.jacuzzi_light
brightness_pct: 35
- delay: "00:12:00"
- service: light.turn_on
data:
entity_id: light.mood_lights
- service: script.morning
- delay: "00:30:00"
- wait_for_trigger:
platform: state
entity_id: binary_sensor.ensuite_ceiling_motion
to: "off"
- delay: 600
- service: light.turn_off
entity_id: light.ensuite_lights
- wait_for_trigger:
platform: state
entity_id: binary_sensor.bedroom_motion_sensors
to: "off"
- delay: 600
- service: light.turn_off
entity_id: light.bedroom_lights
- delay: "00:30:00"
- service: homeassistant.turn_off
entity_id: input_boolean.donna_s_alarm_triggered_today
# ###########################################################
# ## PRESENCE SCRIPTS ###
# ###########################################################
# People Home
people_home:
sequence:
- service: homeassistant.turn_on
continue_on_error: true
entity_id:
- input_boolean.disable_popups
- input_boolean.people_home_boolean
- input_boolean.motion_lights
- input_boolean.auto_tablet
- input_boolean.auto_backgroundz
- input_boolean.disable_inside_popups
- switch.main_kiosk_screen
- switch.den_nightlight_plugs