mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Dawn / Dusk Clarification
Clarification for using Offset for Dawn/Dusk scenarios.
This commit is contained in:
parent
67b5d7cc7f
commit
c7ed58dbcf
@ -144,7 +144,7 @@ automation:
|
||||
</p>
|
||||
|
||||
#### {% linkable_title Sun trigger %}
|
||||
Triggers based on sunrise and sunset, both with an optional offset.
|
||||
Triggers based on sunrise and sunset, both with an optional offset to simulate Dawn/Dusk scenarios.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
@ -152,7 +152,7 @@ automation:
|
||||
platform: sun
|
||||
# Possible values: sunset, sunrise
|
||||
event: sunset
|
||||
# Optional time offset
|
||||
# Optional time offset for Dusk scenario
|
||||
offset: -00:45:00
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user