mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
template correction
This one and only is working for me on HA 0.36.1
This commit is contained in:
parent
606a4e216b
commit
dd44c1b1df
@ -81,7 +81,7 @@ With a template:
|
|||||||
```yaml
|
```yaml
|
||||||
service: tts.google_say
|
service: tts.google_say
|
||||||
data_template:
|
data_template:
|
||||||
message: 'Temperature is {% raw %}{{ sensor.temperature }}{% endraw %}.'
|
message: "Temperature is {% raw %}{{states('sensor.temperature')}}{% endraw %}."
|
||||||
cache: false
|
cache: false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user