forked from grinstantin/todoist-card
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtodoist_demo.yaml
106 lines (105 loc) · 3.14 KB
/
todoist_demo.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
type: custom:swipe-card
start_card: 1
parameters:
#try these other effects: coverflow cube cards
effect: cube
rewind: true
grabCursor: true
centeredSlides: true
slidesPerView: auto
pagination: null
type: bullets
cards:
# -----------------------------------------------
- type: custom:powertodoist-card
entity: sensor.todoist_project_demo
filter_section_id: "126441621"
filter_labels:
- "!Charcoal"
- "*"
actions_close:
- prompt_texts: "Title here!|post-%content%"
- update:
- content: "Now is %input%"
- description: "Input: %input% content: %content%"
actions_content:
- prompt_texts: "Insert new content:|%content%"
- update:
- content: "%input%"
- description: "Input: %input% content: %content%"
actions_dbl_content:
- label:
- "!*"
- "Green"
- move
- update:
- content: "User was %user%"
- description: |
%input% %user% ✅ %date% labels will be %str_labels%%line%%was%
- priority: 3
actions_label:
- label:
- "!Green"
- service: automation.action_notify_sim
actions_dbl_label:
- toast: "Toasted! 🍞"
- label:
- "!*"
actions_delete:
- confirm: "You really wanna delete it?"
- label:
- "Charcoal"
- delete
actions_dbl_delete:
- allow: ["user1", "user2"]
- match:
- ["labels", "Blue", "matched_bluesy"]
- ["content", "Clear backlog", "matched_somecontent"]
- label:
- "!%user%"
- add:
- "Created from Action #myProject @%user%"
actions_matched_somecontent:
- toast: "‼ Matched content ‼"
actions_matched_bluesy:
- toast: "‼ Matched label ‼"
show_item_add: true
show_item_delete: true
show_completed: 5
use_quick_add: true
icons: ["checkbox-marked-circle-outline", "circle-medium", "undo", "trash-can-outline"]
#icons: ["numeric-1-box", "numeric-2-box", "numeric-3-box", "numeric-4-box"]
# -----------------------------------------------
- type: custom:powertodoist-card
entity: sensor.todoist_project_demo
filter_section_id: "126441679"
filter_labels:
- "Blue"
actions_close:
- label:
- "Blue"
- "!Green"
- move
show_item_add: true
show_item_delete: false
use_quick_add: true
# -----------------------------------------------
- type: custom:powertodoist-card
entity: sensor.todoist_project_demo
#filter_section_id: "126441680"
filter_section: "Done"
actions_close:
- label:
- "Blue"
- "!Green"
- move
show_item_add: true
show_item_delete: false
use_quick_add: true
# -----------------------------------------------
- type: markdown
content: >
<h1><ha-alert alert-type="info">Some Instructions...</ha-alert></h1>
{{ state_attr('sensor.todoist_project_demo','project_notes')[0].content }}
... and remember to remember things!
<p><img style="display: block; margin-left: auto; margin-right: auto; width: 70%;" src="https://media.giphy.com/media/lELRD773cY7Sg/giphy.gif"></p>