Make template visible
This commit is contained in:
parent
c87e55eec1
commit
819cb20c11
1 changed files with 1 additions and 1 deletions
|
@ -56,5 +56,5 @@ switch:
|
|||
is_on_template: '{% raw %}{{value_json.is_active}}{% endraw %}'
|
||||
```
|
||||
|
||||
`body_on` and `body_off` can also depend on the state of the system. For example, to enable a remote temperature sensor tracking on a radio thermostat, one has to send the current value of the remote temperature sensor. This can be achieved by using the template `'{"rem_temp":{{states.sensor.bedroom_temp.state}}}'`.
|
||||
`body_on` and `body_off` can also depend on the state of the system. For example, to enable a remote temperature sensor tracking on a radio thermostat, one has to send the current value of the remote temperature sensor. This can be achieved by using the template `{% raw %}'{"rem_temp":{{states.sensor.bedroom_temp.state}}}'{% endraw %}`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue