-
Notifications
You must be signed in to change notification settings - Fork 13
/
automations.yaml
2815 lines (2797 loc) · 77.8 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: '1610184966825'
alias: 04-01-02 Volet Boolean Nuit/Jour
description: ''
trigger:
- platform: template
value_template: '{{ states(''sensor.bh1750_illuminance'' )|float(default=0) >
states(''input_number.luminosite_seuil_haut'')|float(default=0) and is_state("sun.sun",
"above_horizon") }}'
id: nuit->jour
- platform: template
value_template: '{{ states(''sensor.bh1750_illuminance'')|float(default=0) < states(''input_number.luminosite_seuil_bas'')|float(default=0)
and is_state("sun.sun", "below_horizon") }}'
id: jour->nuit
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: nuit->jour
sequence:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.nuit_jour
data: {}
- conditions:
- condition: trigger
id: jour->nuit
sequence:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.nuit_jour
data: {}
default: []
mode: single
- id: '1610371647929'
alias: 01-01-02 Purge base de données
description: ''
trigger:
- platform: time
at: 00:05:00
condition: []
action:
- service: recorder.purge
data:
keep_days: 7
repack: true
mode: single
- id: '1617185147880'
alias: Piscine-Surveillance et Alarme Appoint d'eau
description: Ferme la vanne d'eau si ouverte depuis 1 heure
trigger:
- platform: state
entity_id:
- switch.esp178_cde_ev_eau
from: 'off'
to: 'on'
for:
hours: 1
minutes: 0
seconds: 0
condition: []
action:
- data:
message: '{{states("sensor.date_time") }}{{-"\n"-}}EV eau ouverte depuis plus
de 1 heure'
title: Alarme EV Appoint d'eau Piscine
action: notify.telegram
- target:
entity_id:
- switch.esp178_cde_ev_eau
action: switch.turn_off
data: {}
- action: select.select_option
metadata: {}
data:
option: At_f
target:
entity_id: select.esp178_mode_fonct_appoint_eau
mode: single
- id: '1617199790692'
alias: 3_4_3 Piscine-Notification alarme niveau bas
description: ' '
trigger:
- platform: state
entity_id:
- binary_sensor.esp178_niv_bas
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- data:
title: ALARME
message: Niveau bas Piscine
action: notify.telegram
- action: select.select_option
data:
option: At_f
target:
entity_id: select.esp178_mode_fonctionnement_filtration
- data:
message: Niveau bas piscine{{-"\n"-}}{{states("sensor.date_time") }}{{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Alarme Niveau Bas !!!
action: notify.telegram
mode: single
- id: '1617968589301'
alias: '08-01-01 Alarmo Activation Nuit '
description: ''
trigger:
- platform: time
at: input_datetime.heure_debut_alarme_porte
condition: []
action:
- service: alarm_control_panel.alarm_arm_night
target:
entity_id: alarm_control_panel.alarmo
data: {}
mode: single
- id: '1617968698367'
alias: 08-01-02 Alarmo Desactivation
description: ''
trigger:
- platform: time
at: input_datetime.heure_fin_alarme_porte
condition: []
action:
- service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.alarmo
data: {}
mode: single
- id: '1624083693650'
alias: 3_2_1 Piscine-pH Validation Automatismes
description: 'Valide les automations régulation pH au bout de 1 h de fonctionnement '
trigger:
- platform: state
entity_id:
- binary_sensor.esp137_ppe_en_fonctionnement
for:
hours: 0
minutes: 15
seconds: 0
to: 'on'
from: 'off'
id: ma_pump
- platform: state
entity_id:
- binary_sensor.esp137_ppe_en_fonctionnement
id: at_pump
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 10
- platform: state
entity_id: input_boolean.regul_ph
id: regule_ph_off
from: 'on'
to: 'off'
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: ma_pump
- condition: state
entity_id: input_boolean.regul_ph
state: 'on'
sequence:
- service: automation.turn_on
target:
entity_id:
- automation.piscine_notification_ph
- automation.3_2_2_piscine_ph_injection_v2
data: {}
- service: notify.telegram
data:
message: pH sonde= {{states('sensor.ph_stat_median')}} {{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Activation Traitement pH !
- conditions:
- condition: trigger
id: at_pump
sequence:
- service: automation.turn_off
target:
entity_id:
- automation.piscine_notification_ph
- automation.3_2_2_piscine_ph_injection_v2
data: {}
- conditions:
- condition: trigger
id: regule_ph_off
sequence:
- service: automation.turn_off
target:
entity_id:
- automation.piscine_notification_ph
- automation.3_2_2_piscine_ph_injection_v2
data: {}
default: []
mode: single
- id: '1624381456670'
alias: 3_1_5 Piscine-Pression haute
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.esp178_pression_filtre
above: '1'
for:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
condition: []
action:
- data:
message: Pression Haute = {{states("sensor.pression_filtre") }}{{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Alerte Pression Filtre !!!
action: notify.telegram
mode: single
- id: '1624864713180'
alias: 3_3_5 Piscine-Cartouche Chlore
description: Mémorisation du temps d'utilisation cartouche chlore hedbo- RAZ à la
main
trigger:
- platform: time
at: '23:50'
condition: []
action:
- service: input_number.set_value
data_template:
entity_id: input_number.temps_cartouche_chlore
value: '{% set a=states(''input_number.temps_cartouche_chlore'')|float %} {%
set b=states(''sensor.ma_ppe_piscine_jour'')|float %} {{ (a + b)|round(2)
}}'
mode: single
- id: '1625162846851'
alias: 3_3_6 Piscine-Temps utilisation cartouche chlore atteint
description: ''
trigger:
- platform: template
value_template: '{% set a=states(''input_number.temps_cartouche_chlore'') | float
%}
{% set b=states(''input_number.chlore_seuil_max_utilisation'') | float %}
{{ a > b }}'
condition: []
action:
- service: notify.telegram
data:
message: 'Tps Utilisation cart. Chlore = {{states(''input_number.temps_cartouche_chlore'')}}
h {{-"\n"-}} Temps maxi: {{states(''input_number.chlore_seuil_max_utilisation'')}}
h {{-"\n"-}}{{states("sensor.date_time") }}'
title: Piscine Alerte Cartouche Chlore à changer!!!
mode: single
- id: '1629296468909'
alias: Robot AMX435 Surveillance Pluviometrie
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.vp2_pluviometrie_moyenne
above: input_number.seuil_pluie_stop_robot
id: seuil_haut
- platform: numeric_state
entity_id: sensor.vp2_pluviometrie_moyenne
id: seuil_bas
below: input_number.seuil_pluie_stop_robot
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: seuil_haut
sequence:
- data: {}
action: lawn_mower.dock
target:
device_id: 7808727539e5cd0a67cbd0484d1835d4
- data:
message: Retour Robot à la Base!!{{-"\n"-}} Pluvio Moyenne 12h = {{states('sensor.vp2_pluviometrie_moyenne')}}
mm {{-"\n"-}} Seuil Stop robot= {{states('input_number.seuil_pluie_stop_robot')}}
mm {{-"\n"-}}{{states("sensor.date_time") }}
title: Robot-Début Alerte Meteo Pluie !!!
action: notify.telegram
- conditions:
- condition: trigger
id: seuil_bas
sequence:
- data: {}
action: lawn_mower.start_mowing
target:
device_id: 80c6c60b578848a2d4bb2a1e06f07fb1
- data:
message: Validation Départ Robot!!{{-"\n"-}} Pluvio Moyenne 12h = {{states('sensor.vp2_pluviometrie_moyenne')}}
mm {{-"\n"-}} Seuil Stop robot= {{states('input_number.seuil_pluie_stop_robot')}}
mm {{-"\n"-}}{{states("sensor.date_time") }}
title: Robot- Fin Alerte Meteo Pluie !!!
action: notify.telegram
mode: single
trace:
stored_traces: 10
- id: '1632232387237'
alias: 05-01-01 Reseau Notification Nouvelle IP
description: ''
trigger:
- platform: state
entity_id:
- sensor.myip
for:
hours: 0
minutes: 10
seconds: 0
condition: []
action:
- service: notify.telegram
data:
message: 'Nouvelle IP: {{ states("sensor.myip")}} {{-"\n"-}}{{states("sensor.date_time")
}}'
title: Réseau:!!!
- service: notify.telegram
data:
message: Nouvelle IP {{ states("sensor.myip")}}
title: Reseau
mode: single
- id: '1633075302563'
alias: 3_1_2 Piscine-Hors-Gel
description: ''
trigger:
- platform: time_pattern
hours: /1
- platform: state
entity_id: input_boolean.hors_gel_valid
id: hg_deval
from: 'on'
to: 'off'
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.vp2_temp_out
below: input_number.hors_gel_inf_seuil2
- condition: state
entity_id: input_select.mode_fonctionnement_piscine
state: Hiver
- condition: state
entity_id: input_boolean.hors_gel_valid
state: 'on'
sequence:
- service: input_select.select_option
data:
option: Ma F
target:
entity_id: input_select.mode_fonctionnement_piscine
- service: notify.telegram
data:
message: '{{states("sensor.date_time") }}'
title: Piscine Hors-Gel Seuil 2 Marc Ppe
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
- service: input_select.select_option
target:
entity_id: input_select.mode_fonctionnement_piscine
data:
option: At F
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: input_select.select_option
target:
entity_id: input_select.mode_fonctionnement_piscine
data:
option: Hiver
- service: notify.telegram
data:
message: '{{states("sensor.date_time") }}'
title: Piscine Hors-Gel Seuil 2 Arret Ppe
- conditions:
- condition: numeric_state
entity_id: sensor.vp2_temp_out
below: input_number.hors_gel_inf_seuil1
- condition: state
entity_id: input_select.mode_fonctionnement_piscine
state: Hiver
- condition: state
entity_id: input_boolean.hors_gel_valid
state: 'on'
sequence:
- service: input_select.select_option
data:
option: Ma F
target:
entity_id: input_select.mode_fonctionnement_piscine
- service: notify.telegram
data:
message: '{{states("sensor.date_time") }}'
title: Piscine Hors-Gel Seuil 1 Marc Ppe
- delay:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- service: input_select.select_option
target:
entity_id: input_select.mode_fonctionnement_piscine
data:
option: Hiver
- service: notify.telegram
data:
message: '{{states("sensor.date_time") }}'
title: Piscine Hors-Gel Seuil 1 Arret Ppe
- conditions:
- condition: trigger
id: hg_deval
sequence:
- service: input_select.select_option
target:
entity_id: input_select.mode_fonctionnement_piscine
data:
option: Hiver
- service: notify.telegram
data:
message: '{{states("sensor.date_time") }}'
title: Piscine Hors-Gel devalidé
default: []
mode: restart
max: 10
- id: '1634204887702'
alias: 3_2_3 Piscine-pH Notifications
description: Notifie Ph bas, haut, anormal, bidon bas
trigger:
- platform: numeric_state
entity_id: sensor.ph_stat_median
below: '6.8'
above: '0'
id: ph_bas
for:
hours: 0
minutes: 1
seconds: 0
- platform: numeric_state
entity_id: sensor.ph_stat_median
id: ph_haut
above: '7.8'
for:
hours: 0
minutes: 1
seconds: 0
- platform: numeric_state
entity_id: sensor.ph_stat_standard_deviation
id: ph_mauvais
above: '0.1'
for:
hours: 0
minutes: 1
seconds: 0
- platform: state
entity_id:
- binary_sensor.ph_niveau_bas_bidon
id: niv_bas_bidon
to: 'on'
for:
hours: 0
minutes: 1
seconds: 0
condition:
- condition: state
entity_id: switch.ppe_ph
state: 'on'
action:
- choose:
- conditions:
- condition: trigger
id: ph_bas
sequence:
- data:
message: Ph Bas = {{states('sensor.ph_stat_median') }}{{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Alerte pH !!!
action: notify.telegram
- conditions:
- condition: trigger
id: ph_haut
sequence:
- data:
message: Ph Haut = {{states('sensor.ph_stat_median') }}{{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Alerte pH !!!
action: notify.telegram
- conditions:
- condition: trigger
id: ph_mauvais
sequence:
- data:
message: pH Mauvais-sonde à calibrer??{{-"\n"-}} Median = {{states("sensor.ph_stat_median")}}{{-"\n"-}}
Deviation(S=0.01) = {{states("sensor.ph_stat_standard_deviation")}} {{-"\n"-}}{{states("sensor.date_time")
}}
title: Piscine Alerte pH !!!
action: notify.telegram
- conditions:
- condition: trigger
id: niv_bas_bidon
sequence:
- data:
message: Volume Restant = {{(states("sensor.ph_volume_restant_bidon"))|round(2)
}} l{{-"\n"-}}{{states("sensor.date_time") }}
title: Piscine Alerte niveau Bas Bidon pH !!!
action: notify.telegram
default: []
mode: single
- id: '1634222619535'
alias: 3_1_3 Piscine-Notifications filtration
description: Notification Debut, Fin filtration et mise à jour du fichier log "conso_piscine.csv"
trigger:
- platform: state
entity_id:
- binary_sensor.esp178_ppe_en_fonctionnement
from: 'off'
to: 'on'
id: ma_ppe
- platform: state
entity_id:
- binary_sensor.esp178_ppe_en_fonctionnement
id: at_ppe
from: 'on'
to: 'off'
- platform: time
at: '23:59'
id: minuit
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: ma_ppe
sequence:
- data:
message: '{{states("sensor.date_time") }}'
title: Piscine Début Filtration
action: notify.telegram
- conditions:
- condition: trigger
id: at_ppe
sequence:
- data:
message: '{{states("sensor.date_time") }}'
title: Piscine Fin de filtration
action: notify.telegram
- conditions:
- condition: trigger
id: minuit
sequence:
- data:
message: 'du {{states("sensor.date_time") }} {{-"\n"-}} Temps de filtration: {{states(''sensor.ma_ppe_piscine_jour'')}}{{-"\n"-}}Conso:
{{states(''sensor.compteur_energie_piscine_jour_hp_hc'')}} kWh {{-"\n"-}}
Tps Utilisation cart. Chlore: {{states(''input_number.temps_cartouche_chlore'')}}
h'
title: Piscine Rapport Fin de journée
action: notify.telegram
default: []
mode: single
- id: '1634389653339'
alias: 3_4_1 V0 Piscine-EV Appoint EAU
description: 'Appoint EAU uniquement si volet ouvert depuis 15 mn '
trigger:
- platform: state
entity_id:
- cover.volet_piscine
to: open
for:
hours: 0
minutes: 15
seconds: 0
id: vol_ouv
- platform: state
entity_id: input_boolean.ev_eau_piscine
to: 'on'
id: valid_ev
from: 'off'
- platform: state
entity_id: input_boolean.ev_eau_piscine
id: devalid_ev
to: 'off'
from: 'on'
- platform: state
entity_id: binary_sensor.tp_plein_lsh
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 20
id: lsh_off
- platform: time_pattern
minutes: /5
id: minute
condition: []
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- vol_ouv
- condition: state
entity_id: binary_sensor.tp_plein_lsh
state: 'on'
- condition: state
entity_id: switch.ev_eau
state: 'off'
sequence:
- target:
entity_id: switch.ev_eau
data: {}
action: switch.turn_on
- data:
message: Ouverture EV Eau {{-"\n"-}}{{states("sensor.date_time") }}
title: Piscine Appoint Eau!
action: notify.telegram
- conditions:
- condition: state
entity_id: switch.ev_eau
state: 'on'
- condition: or
conditions:
- condition: trigger
id: devalid_ev
- condition: trigger
id: lsh_off
sequence:
- target:
entity_id: switch.ev_eau
data: {}
action: switch.turn_off
- data:
message: Fermeture EV Eau {{-"\n"-}}{{states("sensor.date_time") }}
title: Piscine Appoint Eau!
action: notify.telegram
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- minute
- condition: state
entity_id: switch.ev_eau
state: 'off'
sequence:
- target:
entity_id: switch.ev_eau
data: {}
action: switch.turn_off
default: []
mode: single
trace:
stored_traces: 10
- id: '1634569261594'
alias: 02-01-04 Alarme Blueprints Notification Status PAC
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.alarme_status_pac
alert_state: 'off'
alert_action:
- service: notify.telegram
data:
message: PAC Off Line{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Reseau !!!
- service: notify.telegram
data:
message: PAC Off Line {{-"\n"-}}{{states("sensor.date_time") }}
resolved_action:
- service: notify.telegram
data:
message: PAC On Line{{-"\n"-}} {{states("sensor.date_time") }}
title: Etat RESEAU!!!
- service: notify.telegram
data:
message: PAC On Line{{-"\n"-}}{{states("sensor.date_time") }}
notify_message: Alerte {{ entity_name }}Déclenché
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 600
resolved_message: Alerte {{ entity_name }} Résolu
initial_delay: 300
max_alerts: 100
condition_entity: input_boolean.inhib_alarme_pac
- id: '1634569580188'
alias: 02-01-06 Alarme Blueprints Notification Porte Cellier Ouverte
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.alarme_porte_cellier
alert_state: 'on'
alert_action:
- service: notify.telegram
data:
message: Porte Cellier ouverte après le coucher du soleil{{-"\n"-}}{{states("sensor.date_time")
}}
title: Etat Portes !!!
- service: notify.telegram
data:
message: Porte Cellier ouverte après le coucher du soleil{{-"\n"-}}{{states("sensor.date_time")
}}
resolved_action:
- service: notify.telegram
data:
message: Porte Cellier OK{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Portes!!!
- service: notify.telegram
data:
message: Porte Cellier OK{{-"\n"-}}{{states("sensor.date_time") }}
notify_message: Alerte {{ entity_name }}Déclenché
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 600
resolved_message: Alerte {{ entity_name }} Résolu
max_alerts: 100
initial_delay: 300
- id: '1634569751638'
alias: 02-01-08 Alarme Blueprints Notification Porte Sous Sol Ouverte
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
sensor_entity: binary_sensor.alarme_porte_sous_sol
alert_state: 'on'
alert_action:
- service: notify.telegram
data:
message: Porte Sous Sol ouverte après le coucher du soleil{{-"\n"-}}{{states("sensor.date_time")
}}
title: Etat Portes !!!
resolved_action:
- service: notify.telegram
data:
message: Porte Sous Sol OK{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Portes!!!
notify_message: Porte Sous _Sol Ouverte
notify_device: 62cdce054a9d3448484b4df8e44cc499
resolved_message: Porte Sous Sol Ok
initial_delay: 300
condition_entity_state: 'off'
max_alerts: 100
repeat_delay: 600
- id: '1634569897913'
alias: 02-01-07 Alarme Blueprints Notification Porte Garage Ouverte
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.alarme_porte_garage
alert_state: 'on'
alert_action:
- service: notify.telegram
data:
message: Porte Garage ouverte après le coucher du soleil{{-"\n"-}}{{states("sensor.date_time")
}}
title: Etat Portes !!!
data:
inline_keyboard:
- Ferme Porte:/ferme_garage, Cancel:/cancel
- service: notify.telegram
data:
message: Porte Garage ouverte après le coucher du soleil{{-"\n"-}}{{states("sensor.date_time")
}}
resolved_action:
- service: notify.telegram
data:
message: Porte Garage OK{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Portes!!!
- service: notify.telegram
data:
message: Porte Garage OK{{-"\n"-}}{{states("sensor.date_time") }}
notify_message: Alerte {{ entity_name }}Déclenché
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 600
resolved_message: Alerte {{ entity_name }} Résolu
initial_delay: 300
max_alerts: 100
- id: '1634570304569'
alias: 02-01-09 Al Bp Notif Discordance PAC
description: ' Surveillance discordance PAC entre l''état du thermostat et l''état
du switch de commande '
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.alarme_discord_pac
alert_state: 'off'
alert_action:
- service: notify.telegram
data:
message: Discordance PAC=> PU= {{states("sensor.ecocompteur_pac")}} et Pilotage=
{{states("switch.altherma")}}{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat PAC !!!
- service: notify.telegram
data:
message: Discordance PAC=> PU= {{states("sensor.ecocompteur_pac")}} et Pilotage=
{{states("switch.altherma")}}{{-"\n"-}}{{states("sensor.date_time") }}
resolved_action:
- service: notify.telegram
data:
message: PAC OK=> PU= {{states("sensor.ecocompteur_pac")}} et Pilotage=
{{states("switch.altherma")}}{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat PAC !!!
- service: notify.telegram
data:
message: PAC OK=> PU= {{states("sensor.ecocompteur_pac")}} et Pilotage=
{{states("switch.altherma")}}{{-"\n"-}}{{states("sensor.date_time") }}
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 1200
max_alerts: 100
initial_delay: 1200
dismiss_entity: input_boolean.inhib_alarme_pac
resolved_message: Alerte {{ entity_name }} Résolu
notify_message: Alerte {{ entity_name }}Déclenché
- id: '1634571065075'
alias: 02-01-10 Al Bp Notif Porte frigo garage ouverte
description: '# Alarme porte frigo garage ouverte '
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.porte_frigo
alert_state: 'on'
alert_action:
- service: notify.telegram
data:
message: Porte Frigo Garage Ouverte {{-"\n"-}}{{states("sensor.date_time")
}}
title: Etat Portes !!!
- service: notify.telegram
data:
message: Porte Frigo Garage Ouverte {{-"\n"-}}{{states("sensor.date_time")
}}
resolved_action:
- service: notify.telegram
data:
message: Porte Frigo Garage Fermée {{-"\n"-}}{{states("sensor.date_time")
}}
title: Etat Portes !!!
- service: notify.telegram
data:
message: Porte Frigo Garage Fermée {{-"\n"-}}{{states("sensor.date_time")
}}
notify_message: Alerte {{ entity_name }}Déclenché
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 60
resolved_message: Alerte {{ entity_name }} Résolu
initial_delay: 60
max_alerts: 100
- id: '1634571983587'
alias: 02-01-11 Al Bp Notif Temp congelo haute
description: '# Surveillance de la temperature du congelateur '
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: binary_sensor.alarme_temp_congelo_haute
alert_state: 'on'
alert_action:
- service: notify.telegram
data:
message: T° Haute Congelo = {{states("sensor.temp_congelo_garage") }}°C
{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Congelo !!!
- service: notify.telegram
data:
message: T° Haute Congelo = {{states("sensor.temp_congelo_garage") }}°C
{{-"\n"-}}{{states("sensor.date_time") }}
resolved_action:
- service: notify.telegram
data:
message: T° Congelo normale = {{states("sensor.temp_congelo_garage") }}°C
{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Congelo !!!
- service: notify.telegram
data:
message: T° Congelo normale = {{states("sensor.temp_congelo_garage") }}°C
{{-"\n"-}}{{states("sensor.date_time") }}
notify_message: Alerte {{ entity_name }}Déclenché
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 300
resolved_message: Alerte {{ entity_name }} Résolu
initial_delay: 300
max_alerts: 100
- id: '1634621594490'
alias: 02-01-14 Al Bp Notif Def Com VP2
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: input_boolean.com_vp2
alert_state: 'Off'
alert_action:
- service: notify.telegram
data:
message: VP2 Off Line{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Reseau !!!
- service: switch.turn_on
data: {}
target:
entity_id: switch.rebootweeks
resolved_action:
- service: notify.telegram
data:
message: VP2 On Line{{-"\n"-}} {{states("sensor.date_time") }}
title: Etat RESEAU!!!
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 300
initial_delay: 120
max_alerts: 25
resolved_message: Alerte {{ entity_name }} Résolu
notify_message: Alerte {{ entity_name }}Déclenché
- id: '1634916685737'
alias: 01-01-03 Pusch gitub
description: pousse vers githtub
trigger:
- platform: time
at: 02:00
condition: []
action:
- service: shell_command.push_to_github
data: {}
mode: single
- id: '1637073026237'
alias: 04-02-02 Volet Balise ouverture sous sol
description: ''
trigger:
- platform: tag
tag_id: 6e75d49a-ec3d-4bfc-bd4f-2d1ab41b7cb1
condition: []
action:
- service: cover.open_cover
target:
entity_id: cover.garage_soussol
data: {}
mode: single
- id: '1637074521273'
alias: 04-02-01 Volet Balise ouverture garage
description: ''
trigger:
- platform: tag
tag_id: dca56861-8baf-4881-a5c8-4b99d90c3716
condition: []
action:
- service: cover.open_cover
target:
entity_id: cover.garage_rdc
data: {}
mode: single
- id: '1638119466260'
alias: 02-01-13 Al Bp Notif Def Com Linky
description: Blue Print
use_blueprint:
path: pavax/nagging_alert_notification.yaml
input:
condition_entity_state: 'on'
sensor_entity: input_boolean.com_linky
alert_state: 'off'
alert_action:
- service: notify.telegram
data:
message: Com Linky off Line{{-"\n"-}}{{states("sensor.date_time") }}
title: Etat Reseau !!!
resolved_action:
- service: notify.telegram
data:
message: Com Linky On Line{{-"\n"-}} {{states("sensor.date_time") }}
title: Etat RESEAU!!!
notify_device: 62cdce054a9d3448484b4df8e44cc499
repeat_delay: 300
initial_delay: 1
max_alerts: 100
resolved_message: Alerte {{ entity_name }} Résolu
notify_message: Alerte {{ entity_name }}Déclenché
- id: '1638433932226'
alias: 01-02-01 VMC Niv0 Automatismes
description: ' '
trigger: