Fix link to sun triggers, add link to sun conditions (#7268)

This commit is contained in:
emontnemery 2018-10-30 19:16:43 +01:00 committed by Fabian Affolter
parent fe852b9e93
commit b4cc0b361a

View File

@ -14,7 +14,10 @@ ha_qa_scale: internal
The sun component will use your current location to track if the sun is above or
below the horizon. The sun can be used within automation as
[a trigger with an optional offset to simulate dawn/dusk](/getting-started/automation-trigger/#sun-trigger).
[a trigger with an optional offset to simulate dawn/dusk][sun_trigger] or as [a condition with an optional offset to test if the sun has already set or risen][sun_condition].
[sun_trigger]: /docs/automation/trigger/#sun-trigger
[sun_condition]: /docs/scripts/conditions/#sun-condition
```yaml
# Example configuration.yaml entry