mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +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>
|
</p>
|
||||||
|
|
||||||
#### {% linkable_title Sun trigger %}
|
#### {% 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
|
```yaml
|
||||||
automation:
|
automation:
|
||||||
@ -152,7 +152,7 @@ automation:
|
|||||||
platform: sun
|
platform: sun
|
||||||
# Possible values: sunset, sunrise
|
# Possible values: sunset, sunrise
|
||||||
event: sunset
|
event: sunset
|
||||||
# Optional time offset
|
# Optional time offset for Dusk scenario
|
||||||
offset: -00:45:00
|
offset: -00:45:00
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user