mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Fix links.
This commit is contained in:
parent
147513b7c7
commit
60a7ead71a
@ -139,6 +139,7 @@ condition:
|
|||||||
#### {% linkable_title Sun elevation condition %}
|
#### {% linkable_title Sun elevation condition %}
|
||||||
The sun elevation can be used to test if the sun has set or risen, it is dusk, it is night etc. when a trigger occurs.
|
The sun elevation can be used to test if the sun has set or risen, it is dusk, it is night etc. when a trigger occurs.
|
||||||
For an in depth explanation of sun elevation see [sun elevation trigger][sun_elevation_trigger].
|
For an in depth explanation of sun elevation see [sun elevation trigger][sun_elevation_trigger].
|
||||||
|
|
||||||
[sun_elevation_trigger]: /docs/automation/trigger/#sun-elevation-trigger
|
[sun_elevation_trigger]: /docs/automation/trigger/#sun-elevation-trigger
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -159,6 +160,7 @@ condition:
|
|||||||
|
|
||||||
#### {% linkable_title Sunset/sunrise condition %}
|
#### {% linkable_title Sunset/sunrise condition %}
|
||||||
The sun condition can also 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].
|
The sun condition can also 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]: /docs/automation/trigger/#sun-trigger
|
[sun_trigger]: /docs/automation/trigger/#sun-trigger
|
||||||
|
|
||||||
<p class='note warning'>
|
<p class='note warning'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user