mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +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:
|
An example on how to use it in an automation:
|
||||||
|
|
||||||
|
{% raw %}
|
||||||
```yaml
|
```yaml
|
||||||
action:
|
action:
|
||||||
service: notify.NAME_OF_NOTIFIER_GROUP
|
service: notify.NAME_OF_NOTIFIER_GROUP
|
||||||
data:
|
data:
|
||||||
message: "The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!"
|
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