Update service-calls.markdown

This commit is contained in:
Paulus Schoutsen 2017-08-06 22:26:16 -07:00 committed by GitHub
parent 2e132f95f8
commit 75a829676a

View File

@ -47,7 +47,7 @@ You can use [templating] support to dynamically choose which service to call. Fo
```yaml
service_template: >
{% raw %}{% if states.sensor.temperature | float > 15 %}
{% raw %}{% if states.sensor.temperature.state | float > 15 %}
switch.turn_on
{% else %}
switch.turn_off