Text notify can now send actionable notifications, close #78
This commit is contained in:
@ -724,6 +724,12 @@ script:
|
||||
required: false
|
||||
selector:
|
||||
text:
|
||||
actions:
|
||||
name: Actions
|
||||
description: Dictionary describing actions for an actionable notification
|
||||
required: false
|
||||
selector:
|
||||
object:
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
@ -749,6 +755,7 @@ script:
|
||||
message: "{{ message }}"
|
||||
data:
|
||||
tag: '{{ tag if tag is defined else "{}" }}'
|
||||
actions: '{{ actions if actions is defined else "{}" }}'
|
||||
entity_id: '{{ entity if entity is defined else "{}" }}'
|
||||
push:
|
||||
sound:
|
||||
@ -777,6 +784,7 @@ script:
|
||||
message: '{{ message }}'
|
||||
data:
|
||||
tag: '{{ tag if tag is defined else "{}" }}'
|
||||
actions: '{{ actions if actions is defined else "{}" }}'
|
||||
entity_id: '{{ entity if entity is defined else "{}" }}'
|
||||
push:
|
||||
sound:
|
||||
@ -833,6 +841,7 @@ script:
|
||||
message: '{{ message }}'
|
||||
data:
|
||||
tag: '{{ tag if tag is defined else "{}" }}'
|
||||
actions: '{{ actions if actions is defined else "{}" }}'
|
||||
entity_id: '{{ entity if entity is defined else "{}" }}'
|
||||
push:
|
||||
sound:
|
||||
|
Reference in New Issue
Block a user