-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRepeatableNotification-TimerManagement.yml
More file actions
64 lines (64 loc) · 1.74 KB
/
RepeatableNotification-TimerManagement.yml
File metadata and controls
64 lines (64 loc) · 1.74 KB
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
alias: Machine à laver - Gestion du timer
description: >-
Gère les relances de timer en fonction des actions faites en réponse aux notifications
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: REMIND_15_MAL
id: REMINDER_15_MAL
- platform: event
event_type: mobile_app_notification_action
event_data:
action: REMIND_30_MAL
id: REMINDER_30_MAL
- platform: event
event_type: mobile_app_notification_action
event_data:
action: REMIND_60_MAL
id: REMINDER_60_MAL
- platform: event
event_type: mobile_app_notification_action
event_data:
action: REMIND_OK_MAL
id: REMIND_OK_MAL
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: REMINDER_15_MAL
sequence:
- service: timer.start
data:
duration: "00:15:00"
target:
entity_id: timer.reminder_machine_a_laver
- conditions:
- condition: trigger
id: REMINDER_30_MAL
sequence:
- service: timer.start
data:
duration: "00:30:00"
target:
entity_id: timer.reminder_machine_a_laver
- conditions:
- condition: trigger
id: REMINDER_60_MAL
sequence:
- service: timer.start
data:
duration: "01:00:00"
target:
entity_id: timer.reminder_machine_a_laver
- conditions:
- condition: trigger
id: REMIND_OK_MAL
sequence:
- service: timer.cancel
target:
entity_id: timer.reminder_machine_a_laver
data: {}
default: []
mode: single