It's a template! (#10245)

The example isn't valid, oops
This commit is contained in:
Dubh Ad 2019-08-27 20:54:13 +01:00 committed by Franck Nijhof
parent f655d192d9
commit 185be375c5

View File

@ -50,7 +50,7 @@ The automation equivalent would be:
```yaml
action:
service: notify.notify
data:
data_template:
message: "The sun is {% raw %}{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}{% endraw %}!"
```