sun trigger - Link fix, wording tweak (#4937)
Fixed the link to the actual sun trigger. Tried to add some clarity to the wording over offsets, but I think that needs expansion.
This commit is contained in:
parent
698b8e2aa0
commit
d1510bdfb8
1 changed files with 2 additions and 2 deletions
|
@ -119,13 +119,13 @@ condition:
|
|||
|
||||
The sun condition can test if the sun has already set or risen when a trigger occurs. The `before` and `after` keys can only be set to `sunset` or `sunrise`. They have a corresponding optional offset value (`before_offset`, `after_offset`) that can be added, similar to the [sun trigger][sun_trigger].
|
||||
|
||||
[sun_trigger]: /getting-started/automation-trigger/#sun-trigger
|
||||
[sun_trigger]: /docs/automation/trigger/#sun-trigger
|
||||
|
||||
```yaml
|
||||
condition:
|
||||
condition: sun
|
||||
after: sunset
|
||||
# Optional offset value
|
||||
# Optional offset value - in this case it must from -1 hours relative to sunset, or after
|
||||
after_offset: "-1:00:00"
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue