mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
parent
f655d192d9
commit
185be375c5
@ -50,7 +50,7 @@ The automation equivalent would be:
|
|||||||
```yaml
|
```yaml
|
||||||
action:
|
action:
|
||||||
service: notify.notify
|
service: notify.notify
|
||||||
data:
|
data_template:
|
||||||
message: "The sun is {% raw %}{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}{% endraw %}!"
|
message: "The sun is {% raw %}{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}{% endraw %}!"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user