-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
2982 lines (2972 loc) · 72.5 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: '12432533'
alias: Monitor Cassie button
trigger:
- event_data:
command: button_single
device_ieee: 28:6d:97:00:01:03:80:97
event_type: zha_event
platform: event
- event_data:
command: button_double
device_ieee: 28:6d:97:00:01:03:80:97
event_type: zha_event
platform: event
- event_data:
command: button_hold
device_ieee: 28:6d:97:00:01:03:80:97
event_type: zha_event
platform: event
condition: []
action:
service: mqtt.publish
data_template:
topic: buttons/pressed/cassieButton
payload: '{{trigger.event.data[''command'']}}
'
- id: 12432dfdsa533
alias: Monitor Bill button
trigger:
- event_data:
command: button_single
device_ieee: 28:6d:97:00:01:03:80:89
event_type: zha_event
platform: event
- event_data:
command: button_double
device_ieee: 28:6d:97:00:01:03:80:89
event_type: zha_event
platform: event
- event_data:
command: button_hold
device_ieee: 28:6d:97:00:01:03:80:89
event_type: zha_event
platform: event
condition: []
action:
service: mqtt.publish
data_template:
topic: buttons/pressed/billButton
payload: '{{trigger.event.data[''command'']}}'
- id: '1600105804396'
alias: IFTTT webhook received
description: this takes the info from a webhook from IFTT and processes it.
trigger:
- event_data:
action: call_service
event_type: ifttt_webhook_received
platform: event
condition: []
action:
- data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
service_template: '{{ trigger.event.data.service }}'
mode: single
- id: '1600108549415'
alias: lock front door
description: ''
trigger:
- entity_id: input_boolean.front_door_lock
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
event: lock_door
service: ifttt.trigger
mode: single
- id: '1600109365241'
alias: lock front door when going away or night mode
description: ''
trigger:
- entity_id: input_select.mode
platform: state
to: away
- entity_id: input_select.mode
platform: state
to: night
condition: []
action:
- data: {}
entity_id: input_boolean.front_door_lock
service: input_boolean.turn_on
mode: single
- id: '1600114475460'
alias: open blinds at sunrise
description: ''
trigger:
- event: sunrise
platform: sun
condition: []
action:
- data: {}
entity_id: cover.blinds_window_covering
service: cover.open_cover
mode: single
- id: '1600114513596'
alias: close blinds at sunset
description: ''
trigger:
- event: sunset
platform: sun
condition: []
action:
- data: {}
entity_id: cover.blinds_window_covering
service: cover.close_cover
mode: single
- id: '1600114632203'
alias: set mode to away when everyone leaves
description: ''
trigger:
- entity_id: group.everyone
for:
hours: 0
minutes: 5
seconds: 0
from: home
platform: state
to: not_home
condition:
- condition: state
entity_id: group.motionsensors
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- data:
option: away
entity_id: input_select.mode
service: input_select.select_option
- service: light.turn_off
target:
entity_id: light.all_lights
data: {}
- service: notify.tgrambill
data:
message: Everyone is gone, turned off all lights.
data:
inline_keyboard:
- Home:/home
- service: alarm_control_panel.alarm_arm_away
data: {}
target:
entity_id: alarm_control_panel.home_alarm
mode: single
- id: '1600114781047'
alias: set mode to home when anyone returns
description: ''
trigger:
- entity_id: group.everyone
for: 0:00:06
from: not_home
platform: state
to: home
condition:
- condition: or
conditions:
- condition: state
entity_id: input_select.mode
state: vacation
- condition: state
entity_id: input_select.mode
state: away
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- data:
option: home
entity_id: input_select.mode
service: input_select.select_option
- data: {}
entity_id: alarm_control_panel.home_alarm
service: alarm_control_panel.alarm_disarm
- service: light.turn_on
target:
entity_id: light.downstairs_lights
data:
brightness_pct: 100
- service: notify.tgrambill
data:
message: '{{ expand(''group.everyone'') | selectattr(''state'',''eq'',''home'')
| map(attribute=''name'') | list | join('', '') }} returned home, disarming
alarm.
'
- service: alarm_control_panel.alarm_disarm
data: {}
target:
entity_id: alarm_control_panel.home_alarm
mode: single
- id: '23546986'
alias: Trigger alarm while armed away
trigger:
- platform: state
entity_id: group.doorsensors
to: 'on'
for:
hours: 0
minutes: 0
seconds: 2
id: doors
- platform: state
to: 'on'
for:
hours: 0
minutes: 0
seconds: 2
id: garages
entity_id: group.garagedoors
- platform: state
entity_id: group.motionsensors
to: 'on'
for:
hours: 0
minutes: 0
seconds: 2
id: motion
condition:
- condition: state
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.home_alarm
- choose:
- conditions:
- condition: trigger
id: doors
sequence:
- service: notify.tgrambill
data:
message: 'ALARM TRIGGERED, {{ expand(''group.doorsensors'') | selectattr(''state'',''eq'',''on'')
| map(attribute=''name'') | list | join('', '') }} was opened.
'
- conditions:
- condition: trigger
id: garages
sequence:
- service: notify.tgrambill
data:
message: 'ALARM TRIGGERED, {{ expand(''group.garagedoors'') | selectattr(''state'',''eq'',''on'')
| map(attribute=''name'') | list | join('', '') }} was opened
'
- conditions:
- condition: trigger
id: motion
sequence:
- service: notify.tgrambill
data:
message: 'ALARM TRIGGERED, motion detected from: {{ expand(''group.motionsensors'')
| selectattr(''state'',''eq'',''on'') | map(attribute=''name'') | list
| join('', '') }}
'
default: []
- id: '235659699'
alias: Send notification when alarm is Armed in Away mode
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: armed_away
from: disarmed
action:
- service: notify.tgrambill
data:
message: Alarm is armed away
data:
inline_keyboard:
- Disarm:/disarm
- id: '1600220713742'
alias: tv mode when harmony hub on
description: ''
trigger:
- entity_id: remote.harmony_hub
from: 'off'
platform: state
to: 'on'
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- condition: state
entity_id: person.bill_tahler
state: home
- scene: scene.watching_tv
- service: switch.turn_off
target:
entity_id: switch.fluxer
data: {}
- service: cover.close_cover
data: {}
target:
entity_id: cover.tv_curtains
mode: single
- id: '1600286895079'
alias: 1 goodnight nfc tag
description: nfc tag 1
trigger:
- event_data:
tag_id: 57853ca7-66c9-466a-9525-38148d018967
event_type: tag_scanned
platform: event
condition: []
action:
- data: {}
entity_id: input_boolean.goodnight
service: input_boolean.turn_on
mode: single
- id: '1600287562682'
alias: 2 tv scene nfc tag
description: nfc tag 2
trigger:
- event_data:
tag_id: a1b5e982-e018-470b-a566-ec47b5f0f000
event_type: tag_scanned
platform: event
condition: []
action:
- scene: scene.watching_tv
mode: single
- id: '1600287764389'
alias: 3 start coffee maker nfc tag
description: nfc tag 3
trigger:
- event_data:
tag_id: 47999221-974f-4be7-9e3e-4a0ebe988bf2
event_type: tag_scanned
platform: event
condition: []
action:
- data: {}
entity_id: input_boolean.coffee_maker
service: input_boolean.turn_on
mode: single
- id: '1600287892869'
alias: 4 turn on downstairs lights nfc tag
description: tag 4
trigger:
- event_data:
tag_id: 44d2e117-5e1e-4660-bb9b-7722ffe78f4b
event_type: tag_scanned
platform: event
condition: []
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.down_lights_on
mode: single
- id: '1600298723692'
alias: 5 open blinds
description: tag 5
trigger:
- event_data:
tag_id: 1e09a367-63e1-4463-8971-db1de7c7b24f
event_type: tag_scanned
platform: event
condition: []
action:
- data: {}
entity_id: cover.blinds_window_covering
service: cover.open_cover
mode: single
- id: '1600298852787'
alias: 6 close blinds
description: tag 6
trigger:
- event_data:
tag_id: ece84c13-3fe4-4a62-aa93-ec840916a934
event_type: tag_scanned
platform: event
condition: []
action:
- data: {}
entity_id: cover.blinds_window_covering
service: cover.close_cover
mode: single
- id: 0b95e8fab2b24f3bade9c2406ae08849
alias: Motioneye - kitchen - Motion started
trigger:
- platform: webhook
webhook_id: motioneye-kitchen-started
action:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.kitchen_motion
- id: 46fcbb676ea64d7188f1b16009018c8b
alias: Motioneye - kitchen - Motion ended
trigger:
- platform: webhook
webhook_id: motioneye-kitchen-ended
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.kitchen_motion
- alias: Enable motion detection
trigger:
- platform: state
entity_id: input_boolean.picam_control
to: 'on'
action:
service: rest_command.camera_motion_start
id: cf9c8cb48a8848a8bd99ec4691ea947c
- id: b34efac466d64ece83ccefb7d1bde9d4
alias: Disable motion detection
trigger:
- platform: state
entity_id: input_boolean.kitchen_camera_control
to: 'off'
action:
- service: rest_command.camera_motion_pause
- id: '1600841143732'
alias: close van door from automation
description: ''
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: closevan
condition: []
action:
- service: cover.close_cover
data: {}
target:
entity_id:
- cover.van_garage_door
- service: notify.mobile_app_pixel_3
data:
message: clear_notification
data:
tag: vannotify
- service: notify.mobile_app_cassie_pixel_3
data:
message: clear_notification
data:
tag: vannotify
- service: notify.mobile_app_bill_work_pixel
data:
message: clear_notification
data:
tag: vannotify
mode: single
- id: '1601127551763'
alias: clear notification when shop door closes
description: ''
trigger:
- platform: state
entity_id: cover.shop_door
from: open
to: closed
condition: []
action:
- service: notify.mobile_app_oneplus8
data:
message: clear_notification
data:
tag: shopnotify
- service: notify.mobile_app_cassie_pixel_4
data:
message: clear_notification
data:
tag: shopnotify
mode: single
- id: '1601127622158'
alias: clear notification when van door closes
description: ''
trigger:
- platform: state
entity_id: cover.van_garage_door
from: open
to: closed
condition: []
action:
- service: notify.mobile_app_oneplus8
data:
message: clear_notification
data:
tag: vannotify
- service: notify.mobile_app_cassie_pixel_4
data:
message: clear_notification
data:
tag: vannotify
mode: single
- id: '1607918730101'
alias: turn on entry lamps in morning
description: ''
trigger:
- platform: time
at: 05:00
condition: []
action:
- service: switch.turn_on
data:
entity_id: switch.entry_lamps, switch.inside_christmas_1, switch.inside_christmas_2
mode: single
- id: '1622679409590'
alias: turn on downstairs lights
description: ''
trigger:
- platform: state
entity_id: input_boolean.down_lights_on
from: 'off'
to: 'on'
condition: []
action:
- service: light.turn_on
target:
entity_id: light.downstairs_lights
data:
brightness: 255
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: input_boolean.turn_off
target:
entity_id: input_boolean.down_lights_on
mode: single
- id: '1622687684520'
alias: turn off downstairs lights group
description: ''
trigger:
- platform: state
entity_id: input_boolean.down_lights_off
from: 'on'
to: 'off'
condition: []
action:
- service: light.turn_off
target:
entity_id: light.downstairs_lights
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: input_boolean.turn_on
target:
entity_id: input_boolean.down_lights_off
mode: single
- id: '1622688790409'
alias: turn off kitchen lights
description: ''
trigger:
- platform: state
entity_id: input_boolean.kitchen_off
from: 'on'
to: 'off'
condition: []
action:
- service: homeassistant.turn_off
target:
entity_id: group.kitchenoff
- service: input_boolean.turn_on
target:
entity_id: input_boolean.kitchen_off
mode: single
- id: '1622688834959'
alias: turn kitchen lights on
description: ''
trigger:
- platform: state
entity_id: input_boolean.kitchen_on
from: 'off'
to: 'on'
condition: []
action:
- service: homeassistant.turn_on
target:
entity_id: group.kitchenon
- service: input_boolean.turn_off
target:
entity_id: input_boolean.kitchen_on
mode: single
- id: '1622693701189'
alias: bedroom fan timer
description: ''
trigger:
- platform: state
entity_id: switch.bedroom_fan
from: 'off'
to: 'on'
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- delay:
hours: 5
minutes: 0
seconds: 0
milliseconds: 0
- service: switch.turn_off
target:
entity_id: switch.bedroom_fan
data: {}
mode: single
- id: '1622695212600'
alias: goodnight mode on
description: ''
trigger:
- platform: state
entity_id: input_boolean.goodnight
from: 'off'
to: 'on'
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- service: light.turn_off
target:
entity_id: light.all_lights
data: {}
- service: switch.turn_on
target:
entity_id: switch.noise_machine
data: {}
- service: cover.set_cover_position
target:
entity_id:
- cover.big_bedroom_curtains
- cover.small_bedroom_curtains
data:
position: 100
- service: input_select.select_option
target:
entity_id: input_select.mode
data:
option: night
mode: single
- id: '1626576729738'
alias: telegram dad if his server is offline
description: ''
trigger:
- platform: state
entity_id: binary_sensor.jim_home_assistant_status
from: 'off'
to: 'on'
for: 00:00:30
condition:
- condition: state
entity_id: switch.jim_reboot
state: 'off'
action:
- service: notify.tgramdad
data:
message: Bill's home assistant cannot reach your home assistant via http request
- service: notify.tgrambill
data:
message: Dad's server is down
mode: single
- id: '1626577253905'
alias: notify bill if karen's HA is down
description: ''
trigger:
- platform: state
entity_id: binary_sensor.karen_home_assistant_status
from: 'off'
to: 'on'
for: 00:00:30
condition:
- condition: state
entity_id: switch.karen_reboot
state: 'off'
action:
- service: notify.tgrambill
data:
message: Karen's server is offline
mode: single
- id: '1626785620153'
alias: reset karen reboot switch
description: ''
trigger:
- platform: state
entity_id: binary_sensor.karen_home_assistant_status
from: 'on'
to: 'off'
for: 00:00:05
condition: []
action:
- service: switch.turn_off
target:
entity_id: switch.karen_reboot
mode: single
- id: '1626785646883'
alias: reset jim reboot switch
description: ''
trigger:
- platform: state
entity_id: binary_sensor.jim_home_assistant_status
from: 'on'
to: 'off'
for: 00:00:05
condition: []
action:
- service: switch.turn_off
target:
entity_id: switch.jim_reboot
mode: single
- id: '1626813565886'
alias: notify if jim server reboot too long
description: ''
trigger:
- platform: state
entity_id: switch.jim_reboot
to: 'on'
for: 00:05:00
condition: []
action:
- service: notify.tgrambill
data:
message: jim server reboot taking too long
- service: notify.tgramdad
data:
message: your HA server has been rebooting a very long time
mode: single
- id: '1626813639378'
alias: notify if karen server stuck rebooting
description: ''
trigger:
- platform: state
entity_id: switch.karen_reboot
to: 'on'
for: 00:05:00
condition: []
action:
- service: notify.tgrambill
data:
message: karen reboot taking too long
mode: single
- id: core_update_available
alias: Update Available
trigger:
- platform: state
entity_id: update.home_assistant_core_update
to: 'on'
- platform: state
entity_id: update.home_assistant_operating_system_update
to: 'on'
- platform: state
entity_id: update.home_assistant_supervisor_update
to: 'on'
action:
- service: notify.tgrambill
data_template:
title: '*Information*'
message: 'An update for {{ trigger.to_state.name }} is available. You are running
{{ trigger.to_state.attributes.installed_version }}, the latest version is
{{ trigger.to_state.attributes.latest_version }}. Release notes: {{ trigger.to_state.attributes.release_url
}}'
initial_state: true
- id: '1628948258302'
alias: lights from bedroom door
description: ''
trigger:
- platform: state
entity_id: binary_sensor.bedroom_door_ias_zone
to: 'on'
condition:
- condition: state
entity_id: light.downstairs_lights
state: 'off'
- condition: state
entity_id: input_select.mode
state: night
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- service: light.turn_on
target:
entity_id:
- light.upstairs_sconces
- light.play_room_ceiling_lights
data:
brightness: 1
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.bedroom_door_ias_zone
for:
hours: 0
minutes: 0
seconds: 1
to: 'off'
continue_on_timeout: false
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: light.turn_off
target:
entity_id:
- light.upstairs_sconces
- light.play_room_ceiling_lights
data: {}
mode: restart
- id: '1630758732226'
alias: notify bill if karen's HA comes back
description: ''
trigger:
- platform: state
entity_id: binary_sensor.karen_home_assistant_status
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 0
milliseconds: 0
condition: []
action:
- service: notify.tgrambill
data:
message: Karen's server is back up
mode: single
- id: '1630758801237'
alias: notify if jim server is back
description: ''
trigger:
- platform: state
entity_id: binary_sensor.jim_home_assistant_status
to: 'on'
for:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
condition: []
action:
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.jim_home_assistant_status
to: 'off'
for:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: notify.tgrambill
data:
message: jim server is back
- service: notify.tgramdad
data:
message: your HA server is back
mode: restart
- id: '1632496248674'
alias: downstairs lights in morning
description: ''
trigger:
- platform: state
entity_id: input_select.mode
from: night
to: home
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- service: light.turn_on
target:
entity_id:
- light.desk_lamp
- light.kitchen_counter_lights
- light.play_room_ceiling_lights
- light.entry_lamps
data: {}
mode: single
- id: '1633981916173'
alias: goodnight mode off
description: ''
trigger:
- platform: state
entity_id: input_boolean.goodnight
from: 'on'
to: 'off'
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- service: switch.turn_off
target:
entity_id: switch.noise_machine
data: {}
- service: cover.set_cover_position
target:
entity_id:
- cover.big_bedroom_curtains
- cover.small_bedroom_curtains
data:
position: 0
- service: light.turn_on
target:
entity_id:
- light.downstairs_sconces
- light.play_room_ceiling_lights
- light.kitchen_counter_lights
- light.desk_lamp
data:
brightness_pct: 40
- service: input_select.select_option
target:
entity_id: input_select.mode
data:
option: home
mode: single
- id: '1634091828297'
alias: mode to vacation when gone a long time
description: ''
trigger:
- platform: state
entity_id: input_select.mode
to: away
for:
hours: 6
minutes: 0
seconds: 0
condition:
- condition: not
conditions:
- condition: state
entity_id: input_select.mode
state: guest
action:
- service: input_select.select_option
target:
entity_id: input_select.mode
data:
option: vacation
- service: notify.tgrambill
data:
message: gone for a long time, vacation mode on
mode: single
- id: '1635023741355'
alias: double tap kitchen counter
description: ''
use_blueprint:
path: kpine/ge_double.yaml
input:
device: 05c31911e96815f87acd7841c08739f8
double_tap_on:
- service: light.turn_on
data:
brightness: 255
target:
entity_id: light.kitchen_lights
double_tap_off:
- service: light.turn_off
target:
entity_id: light.kitchen_lights
- id: '1635024922749'
alias: double tap hanging lights
description: ''
use_blueprint:
path: kpine/ge_double.yaml
input:
device: 8f1a45bed41cca60b912b6878eac8127
double_tap_on:
- service: light.turn_on
data:
brightness: 255
target:
entity_id: light.kitchen_lights