Remove unnecessary _template after service call (#14566)

Since 0.115 the simpler ```service``` can be used instead of ```service_template```.
This commit is contained in:
Abel Matser 2020-09-19 20:56:09 +02:00 committed by GitHub
parent ddd75760c3
commit 43d4d63749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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