mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 23:36:50 +00:00
🚑 Fixes Liquid warning (#8210)
This commit is contained in:
parent
e19443b969
commit
210dcf13a2
@ -53,9 +53,11 @@ services:
|
||||
|
||||
An example on how to use it in an automation:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
action:
|
||||
service: notify.NAME_OF_NOTIFIER_GROUP
|
||||
data:
|
||||
message: "The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!"
|
||||
```
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user