-
Notifications
You must be signed in to change notification settings - Fork 13
/
scripts.yaml
1324 lines (1324 loc) · 35.5 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
leave_home:
alias: Éteindre et Sécuriser la maison
mode: queued
sequence:
- action: light.turn_off
target:
entity_id:
- light.all_lights
data: {}
- action: script.eteindre_tous_les_lecteur_multimedia
metadata: {}
data: {}
- action: switch.turn_off
data: {}
target:
entity_id: switch.microphones
- alias: Close shutters
if:
- condition: state
entity_id: input_boolean.surveillance_de_la_maison_fermer_le_volet_quand_maison_vide
state: 'on'
then:
- action: cover.close_cover
metadata: {}
data: {}
target:
entity_id:
- cover.volets_salon
- alias: Notify entry door open
if:
- condition: state
entity_id: binary_sensor.capteur_ouverture_porte_entree
state: 'on'
then:
- action: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.power_notification_porte_d_entree_ouverte
icon: mdi:home-export-outline
fields: {}
description: ''
welcome_home:
alias: Bienvenue a la maison
mode: queued
sequence:
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 60
target:
entity_id: light.entree_suspension
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 70
target:
entity_id:
- light.salon_buffet_gauche
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 70
target:
entity_id:
- light.salon_buffet_droit
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 70
target:
entity_id: light.salon_suspension_tv
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
metadata: {}
data:
brightness_pct: 40
transition: 2
target:
entity_id:
- light.hue_aurelle_panel_1
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
target:
entity_id: light.salon_trepied
data:
transition: 2
brightness_pct: 70
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
target:
entity_id:
- light.cuisine_comptoir
data:
transition: 2
brightness_pct: 40
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
target:
entity_id:
- light.hue_white_candle_2
data:
transition: 2
brightness_pct: 60
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
data:
transition: 2
brightness_pct: 60
target:
entity_id: light.hue_white_candle_1
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
enabled: true
- action: light.turn_on
target:
entity_id:
- light.cuisine_suspension
data:
transition: 2
brightness_pct: 60
icon: mdi:home-import-outline
description: ''
turn_off_media_center:
alias: Turn Off Media center
mode: single
sequence:
- action: media_player.turn_off
target:
entity_id:
- media_player.kef
data: {}
- action: remote.turn_off
data: {}
target:
entity_id: remote.jl_s_tv
icon: mdi:remote-tv-off
turn_on_media_center:
alias: Turn On Media center
mode: single
sequence:
- action: media_player.turn_off
metadata: {}
data: {}
target:
entity_id: media_player.kef_salon_music_assistant
- action: media_player.turn_on
target:
entity_id:
- media_player.kef
data: {}
- if:
- condition: not
conditions:
- condition: state
entity_id: media_player.kef
state: Opt
attribute: source
then:
- action: media_player.select_source
target:
entity_id: media_player.kef
data:
source: Opt
- action: remote.turn_on
data: {}
target:
entity_id: remote.jl_s_tv
icon: mdi:remote-tv
wake_up:
alias: Réveil Lumineux - Lumières
sequence:
- action: light.turn_off
data: {}
target:
area_id: chambre
- action: light.turn_on
data:
transition: 300
brightness_pct: 100
color_temp: 490
target:
entity_id: light.chambre_bloom
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- action: light.turn_on
data:
transition: 300
brightness_pct: 100
target:
entity_id:
- light.chambre_suspension
- light.chambre_chevet_droit
- light.chambre_chevet_gauche
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- action: light.turn_on
data: {}
target:
entity_id: light.chambre_guirlande
mode: single
icon: mdi:weather-sunset-up
start_marilou_bedtime_routine:
alias: Démarrer la routine du sommeil de Marilou
sequence:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.couloir_suspension_etage
- action: scene.turn_on
metadata: {}
target:
entity_id: scene.chambre_bebe_initial
data: {}
- action: media_player.turn_on
data: {}
target:
entity_id:
- media_player.sonos_chambre_marilou_music_assistant
- action: media_player.volume_set
data:
volume_level: 0.1
target:
entity_id:
- media_player.sonos_chambre_marilou_music_assistant
- action: music_assistant.play_media
data:
media_id: Au Dodo Marilou
enqueue: replace
media_type: playlist
target:
entity_id: media_player.sonos_chambre_marilou_music_assistant
- action: media_player.shuffle_set
data:
shuffle: true
target:
entity_id:
- media_player.sonos_chambre_marilou_music_assistant
mode: single
icon: mdi:bell-sleep
description: Démarrer la routine du sommeil de Marilou. A utiliser lorsque je suis
en train d'endormir ma fille
eteindre_temporairement_un_assistant_vocal:
alias: Éteindre temporairement un assistant vocal
sequence:
- variables:
target_entities: "{% set microphones = label_entities(\"Micro Assistant Vocal\")
%}\n[\n {%- for entity in device_entities(device) -%}\n {%- if entity
in microphones -%}\n \"{{entity}}\",\n {%- endif -%}\n {%- endfor
-%}\n]\n"
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- action: switch.turn_off
metadata: {}
data: {}
target:
entity_id: '{{target_entities}}'
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: '{{target_entities}}'
fields:
device:
selector:
device: {}
name: Appareil
description: Assistant Vocal à désactiver temporairement.
mode: parallel
icon: mdi:microphone-message-off
lancer_playlist_de_reveil:
alias: Réveil Lumineux - Musique
sequence:
- action: media_player.turn_on
data: {}
target:
entity_id:
- media_player.vpe_chambre_music_assistant
- action: media_player.volume_set
data:
volume_level: 0.2
target:
entity_id:
- media_player.vpe_chambre_music_assistant
- action: music_assistant.play_media
target:
entity_id:
- media_player.vpe_chambre_music_assistant
data:
media_id: ⏰ Réveil
enqueue: replace
media_type: playlist
- action: media_player.shuffle_set
data:
shuffle: true
target:
entity_id:
- media_player.vpe_chambre_music_assistant
mode: single
icon: mdi:alarm
controler_le_standing_desk:
alias: Controler le Standing desk
sequence:
- choose:
- conditions:
- condition: template
value_template: '{{target_position == ''standing''}}'
sequence:
- repeat:
sequence:
- action: button.press
target:
entity_id:
- button.standing_desk_move_desk_to_position_1
data: {}
- wait_for_trigger:
- entity_id:
- binary_sensor.standing_desk_moving
to: 'on'
trigger: state
timeout:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- wait_for_trigger:
- entity_id:
- binary_sensor.standing_desk_moving
to: 'off'
trigger: state
timeout:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- if:
- condition: template
value_template: '{{ repeat.index >= 5 }}'
then:
- stop: ''
while:
- condition: not
conditions:
- condition: state
entity_id: sensor.standing_desk_state
state: standing_position
- conditions:
- condition: template
value_template: '{{target_position == ''sitting''}}'
sequence:
- repeat:
sequence:
- action: button.press
target:
entity_id: button.standing_desk_move_desk_to_position_2
data: {}
- wait_for_trigger:
- entity_id:
- binary_sensor.standing_desk_moving
to: 'on'
trigger: state
timeout:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- wait_for_trigger:
- entity_id:
- binary_sensor.standing_desk_moving
to: 'off'
trigger: state
timeout:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- if:
- condition: template
value_template: '{{ repeat.index >= 5 }}'
then:
- stop: ''
while:
- condition: not
conditions:
- condition: state
entity_id: sensor.standing_desk_state
state: seated_position
fields:
target_position:
selector:
select:
options:
- label: Position debout
value: standing
- label: Position assise
value: sitting
multiple: false
name: Position cible
description: Position cible du standing desk (Assise ou Debout)
required: true
description: Contrôler les standing desk dans le bureau en donnant une position
cible. (Assise ou Debout)
icon: mdi:desk
eteindre_tous_les_lecteur_multimedia:
alias: Éteindre tous les lecteurs multimédia
sequence:
- action: media_player.media_pause
metadata: {}
data: {}
target:
entity_id: media_player.tous_les_lecteurs_multimedia_ne_supportant_pas_on_off
- action: media_player.turn_off
metadata: {}
data: {}
target:
entity_id:
- media_player.tous_les_lecteurs_multimedia_supportant_on_off
- action: media_player.turn_off
metadata: {}
data: {}
target:
entity_id:
- media_player.apple_tv_salon
- media_player.vpe_chambre_music_assistant
description: ''
icon: mdi:television-speaker-off
test_2:
alias: Crazy Wake Up
sequence:
- action: media_player.volume_set
target:
entity_id: media_player.vpe_chambre_media_player
data:
volume_level: 0.8
- action: media_player.play_media
target:
entity_id: media_player.vpe_chambre_media_player
data:
media_content_id: media-source://media_source/local/wake_up.mp3
media_content_type: audio/mpeg
metadata:
title: wake_up.mp3
thumbnail:
media_class: music
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- wait_for_trigger:
- entity_id:
- media_player.vpe_chambre_media_player
to: playing
trigger: state
- action: light.turn_on
metadata: {}
data:
transition: 14
target:
area_id: chambre
- delay:
hours: 0
minutes: 0
seconds: 12
milliseconds: 0
- action: light.turn_off
metadata: {}
data: {}
target:
area_id: chambre
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- repeat:
sequence:
- action: light.turn_on
metadata: {}
data:
flash: short
target:
entity_id: light.chambre
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
while:
- condition: state
entity_id: media_player.vpe_chambre_media_player
state: playing
description: ''
transfer_music_music_assistant:
alias: Transférer Musique (Music Assistant)
sequence:
- action: music_assistant.transfer_queue
metadata: {}
target: '{{target}}'
data:
source_player: '{{source}}'
auto_play: true
- action: media_player.turn_off
metadata: {}
data: {}
target:
entity_id: '{{source}}'
fields:
target:
selector:
target: {}
name: Target location of the music stream (After Transfer)
required: true
source:
selector:
entity:
domain: media_player
integration: mass
name: Source location of the music stream (Currently playing)
description: ''
icon: mdi:account-music
preparer_depart_maison:
alias: Préparer départ maison
sequence:
- alias: Notify windows open
if:
- condition: state
entity_id: binary_sensor.all_windows
state: 'on'
then:
- variables:
open_windows: "{{ \n expand(states.binary_sensor.all_windows.attributes.entity_id)\n
\ | selectattr('state', 'eq', 'on')\n | map(attribute='attributes.friendly_name')
\n | list\n | join(\", \")\n}}"
- action: script.turn_on
metadata: {}
data:
variables:
user_message: 'Les fenêtres suivantes sont toujours ouvertes alors que vous
allez partir: {{open_windows}}'
target:
entity_id: script.power_notification_fenetres_ouvertes
- alias: Notify oven running
if:
- condition: state
entity_id: binary_sensor.is_oven_running
state: 'on'
then:
- action: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.power_notification_four_allume
- alias: Notify cooktop running
if:
- condition: state
entity_id: binary_sensor.is_induction_cooktop_running
state: 'on'
then:
- action: script.turn_on
metadata: {}
data: {}
target:
entity_id:
- script.power_notification_plaques_a_induction_allumees
- alias: Notify french door open
if:
- condition: state
entity_id: binary_sensor.capteur_ouverture_porte_fenetre_salon
state: 'on'
then:
- action: script.turn_on
metadata: {}
data: {}
target:
entity_id: script.power_notification_porte_fenetre_du_salon_ouverte
mode: queued
icon: mdi:home-export-outline
fields: {}
description: ''
power_notification_litiere_pleine:
alias: Power Notification - Litière pleine
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F408 Litière"
default_message: Pensez à nettoyer la litière !
button_title: C'est fait!
discard_when:
- trigger: state
entity_id:
- binary_sensor.is_litter_full
to: 'off'
button_action:
- action: input_number.set_value
data:
value: 0
target:
entity_id: input_number.litter_tracking
default_tag: litter_box_full
description: ''
icon: mdi:bell
power_notification_poubelle_noire_non_sortie_a_temps:
alias: Power Notification - Poubelle Noire non sortie a temps
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F5D1️ Poubelle Noire"
default_message: Vous devez sortir la poubelle noire!
default_tag: take_out_black_trash_late
description: ''
power_notification_poubelle_verte_non_sortie_a_temps:
alias: 'Power Notification - Poubelle Verte non sortie a temps '
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: ♻️ Poubelle Noire
default_message: Vous devez sortir la poubelle verte!
default_tag: take_out_green_trash_late
description: ''
icon: mdi:bell
power_notification_poubelle_noire_a_sortir:
alias: Power Notification - Poubelle Noire à sortir
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F5D1️ Poubelle Noire"
default_message: N'oubliez pas de sortir la poubelle noire
button_title: C'est fait!
button_action:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.poubelle_noire_a_sortir
discard_when:
- trigger: state
entity_id:
- input_boolean.poubelle_noire_a_sortir
to: 'off'
button: true
default_tag: take_out_black_trash
description: ''
icon: mdi:bell
power_notification_poubelle_verte_a_sortir:
alias: Power Notification - Poubelle Verte à sortir
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: ♻️ Poubelle Verte
default_message: N'oubliez pas de sortir la poubelle verte
button_title: C'est fait!
button_action:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id:
- input_boolean.poubelle_verte_a_sortir
discard_when:
- trigger: state
entity_id:
- input_boolean.poubelle_verte_a_sortir
to: 'off'
button: true
default_tag: take_out_green_trash
description: ''
icon: mdi:bell
power_notification_pluie_et_portes_ouvertes:
alias: Power Notification - Pluie et portes ouvertes
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F302 In pleut!"
default_message: Certaines portes sont ouvertes et il commence a pleuvoir
discard_when:
- trigger: state
entity_id:
- binary_sensor.all_doors
to: 'off'
- trigger: state
entity_id:
- sensor.wittboy_rain_rate_piezo
to: '0.0'
default_tag: rain_doors_open
description: ''
icon: mdi:water
power_notification_pluie_et_fenetres_ouvertes:
alias: Power Notification - Pluie et fenêtres ouvertes
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F302 In pleut!"
default_message: Certaines fenêtres sont ouvertes et il commence a pleuvoir
discard_when:
- trigger: state
entity_id:
- binary_sensor.all_windows
to: 'off'
- trigger: state
entity_id:
- sensor.wittboy_rain_rate_piezo
to: '0.0'
default_tag: rain_windows_open
description: ''
icon: mdi:water
power_notification_mise_a_jour_dispo:
alias: Power Notification - Mise a jour dispo
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
persons:
- person.jenova70
default_title: "\U0001F4E6 Mise a jour disponible"
default_message: Des mises à jours sont disponibles
discard_when:
- trigger: state
entity_id:
- sensor.pending_updates
to: '0'
default_tag: updates_available
target: send_to_all
description: ''
icon: mdi:cellphone-arrow-down
power_notification_batteries_faibles:
alias: Power Notification - Batteries Faibles
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
persons:
- person.jenova70
default_title: "\U0001FAAB Batteries faibles !"
default_message: Certaines battery sont faibles
default_tag: low_batteries
target: send_to_all
description: ''
icon: mdi:battery-10
power_notification_servaar:
alias: Power Notification - Servaar
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_all
persons:
- person.jenova70
default_title: "\U0001F4FA Servaar"
default_message: Film ou épisode téléchargé
default_tag: servaar
description: ''
icon: mdi:movie
power_notification_simulation_de_presence_et_eloignement_du_domicile:
alias: Power Notification - Simulation de presence et éloignement du domicile
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_nearest
default_title: "\U0001F6F8 Vous êtes loin"
default_message: Vous vous trouvez loin du domicile, activer la simulation de
présence?
button_title: D'accord!
button_action:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.automation_presence_simulator
discard_when:
- trigger: state
entity_id:
- binary_sensor.far_away
to: 'off'
- trigger: state
entity_id:
- input_boolean.automation_presence_simulator
to: 'on'
default_tag: far_away_presence_simulation
thing: zone.home
description: ''
icon: mdi:controller-classic
power_notification_pont_chaban_delmas:
alias: Power Notification - Pont Chaban Delmas
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_all
persons:
- person.jenova70
default_title: "\U0001F309 Pont Chaban Delmas"
default_message: Le pont Chaban Delmas fermera demain
default_tag: chaban_delmas_bridge
description: ''
icon: mdi:bridge
power_notification_rappel_charge_tesla:
alias: Power Notification - Rappel charge Tesla
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
persons:
- person.jenova70
default_title: "\U0001F3CE️ Tesla"
default_message: Pensez à charger la voiture.
discard_when:
- trigger: state
entity_id:
- binary_sensor.meme_cable_de_charge
to: 'on'
default_tag: charge_tesla_reminder
target: send_to_all
description: ''
icon: phu:tesla-icon
power_notification_charger_meta_quest:
alias: Power Notification - Charger Meta Quest
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
persons:
- person.jenova70
default_title: "\U0001F576️ Meta Quest"
default_message: Pensez à le recharger le Meta Quest
default_tag: charge_quest_reminder
target: send_to_all
description: ''
icon: mdi:virtual-reality
power_notification_desactiver_mode_invite_lors_de_l_arrivee:
alias: Power Notification - Désactiver Mode Invité lors de l'arrivée
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
persons: []
zones:
- zone.home
default_title: ✨ Monde Invité
default_message: Bienvenue à la maison, désactiver le mode invité?
button_title: Ok!
button_action:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.guest_mode
discard_when:
- trigger: state
entity_id:
- input_boolean.guest_mode
to: 'off'
default_tag: guest_mode_on_arrival
description: ''
icon: mdi:creation
power_notification_porte_d_entree_restee_ouverte:
alias: Power Notification - Porte d'entrée restée ouverte
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F6AA Porte d'entrée"
default_message: La porte d'entrée est restée ouverte!
discard_when:
- trigger: state
entity_id:
- binary_sensor.capteur_ouverture_porte_entree
to: 'off'
default_importance: true
default_tag: entry_door_open_for_some_time
description: ''
icon: mdi:door-open
power_notification_courrier_a_relever:
alias: Power Notification - Courrier à relever
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001F4EB Boite aux lettres"
default_message: Vous avez du courrier !
button_title: Courrier relevé!
button_action:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.courrier_a_relever
discard_when:
- trigger: state
entity_id:
- input_boolean.courrier_a_relever
to: 'off'
default_tag: you_got_mail
description: ''
icon: mdi:mailbox-up
power_notification_machine_a_laver_terminee:
alias: Power Notification - Machine à laver terminée
use_blueprint:
path: jlo/power_notification_creator.yaml
input:
target: send_to_persons_in_zones
zones:
- zone.home
default_title: "\U0001FAE7 Machine à laver"
default_message: Cycle de lavage terminé !
button_title: Machine vidée!
button_action:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id:
- input_boolean.machine_a_laver_a_vider
discard_when:
- trigger: state
entity_id: