From af2765934df56fb17a8d6b07c5d3d754ed1a7b76 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Sun, 27 Sep 2020 07:41:36 -0400 Subject: [PATCH] Minor edit: Service_template is obsolete (#14621) Switching last service_template to just service. --- source/_docs/automation/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index ede399f862e..58d0aee93cf 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -27,7 +27,7 @@ automation 2: platform: mqtt topic: /notify/+ action: - service_template: > + service: > notify.{{ trigger.topic.split('/')[-1] }} data: message: '{{ trigger.payload }}'