Minor edit: Service_template is obsolete (#14621)

Switching last service_template to just service.
This commit is contained in:
Carlo Costanzo 2020-09-27 07:41:36 -04:00 committed by GitHub
parent 25e7d6e21e
commit af2765934d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}'