mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Minor edit: Service_template is obsolete (#14621)
Switching last service_template to just service.
This commit is contained in:
parent
25e7d6e21e
commit
af2765934d
@ -27,7 +27,7 @@ automation 2:
|
|||||||
platform: mqtt
|
platform: mqtt
|
||||||
topic: /notify/+
|
topic: /notify/+
|
||||||
action:
|
action:
|
||||||
service_template: >
|
service: >
|
||||||
notify.{{ trigger.topic.split('/')[-1] }}
|
notify.{{ trigger.topic.split('/')[-1] }}
|
||||||
data:
|
data:
|
||||||
message: '{{ trigger.payload }}'
|
message: '{{ trigger.payload }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user