mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
Update automation-templating.markdown
This commit is contained in:
parent
0777750978
commit
8a9e983745
@ -32,7 +32,7 @@ automation 2:
|
|||||||
topic: /notify/+
|
topic: /notify/+
|
||||||
action:
|
action:
|
||||||
service_template: >{% raw %}
|
service_template: >{% raw %}
|
||||||
notify.{{ trigger.topic.split('/')[-1] }}
|
notify.{{ trigger.topic.split('/')[-1] }}{% endraw %}
|
||||||
data_template:
|
data_template:
|
||||||
message: {% raw %}{{ trigger.payload }}{% endraw %}
|
message: {% raw %}{{ trigger.payload }}{% endraw %}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user