From 43d4d63749e469f81441d39e42ed0daf4c568d53 Mon Sep 17 00:00:00 2001 From: Abel Matser <33466359+abelmatser@users.noreply.github.com> Date: Sat, 19 Sep 2020 20:56:09 +0200 Subject: [PATCH] Remove unnecessary _template after service call (#14566) Since 0.115 the simpler ```service``` can be used instead of ```service_template```. --- source/_docs/scripts/service-calls.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/scripts/service-calls.markdown b/source/_docs/scripts/service-calls.markdown index 2062b050aca..c8081054081 100644 --- a/source/_docs/scripts/service-calls.markdown +++ b/source/_docs/scripts/service-calls.markdown @@ -42,7 +42,7 @@ A full list of the parameters for a service can be found on the documentation pa You can use [templating] support to dynamically choose which service to call. For example, you can call a certain service based on if a light is on. ```yaml -service_template: > +service: > {% raw %}{% if states('sensor.temperature') | float > 15 %} switch.turn_on {% else %}