Erster Commit
This commit is contained in:
37
doc/HomeAssistant.md
Normal file
37
doc/HomeAssistant.md
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
```
|
||||
alias: Webhook Pluslife
|
||||
mode: single
|
||||
triggers:
|
||||
- trigger: webhook
|
||||
allowed_methods:
|
||||
- POST
|
||||
local_only: true
|
||||
webhook_id: plweb
|
||||
conditions: []
|
||||
actions:
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: "{% if trigger.json.url is defined %}true{% endif %}"
|
||||
then:
|
||||
- action: notify.familie
|
||||
metadata: {}
|
||||
data:
|
||||
message: |-
|
||||
{{ trigger.json.message }}
|
||||
Klicken, um den Test anzusehen.
|
||||
data:
|
||||
clickAction: "{{ trigger.json.url }}"
|
||||
group: plweb
|
||||
title: PlusLifeWeb
|
||||
else:
|
||||
- action: notify.familie
|
||||
metadata: {}
|
||||
data:
|
||||
message: "{{ trigger.json.message }}"
|
||||
title: PlusLifeWeb
|
||||
data:
|
||||
group: plweb
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user