From b4cc0b361a9073355bc1cee0923191815d789376 Mon Sep 17 00:00:00 2001 From: emontnemery Date: Tue, 30 Oct 2018 19:16:43 +0100 Subject: [PATCH] Fix link to sun triggers, add link to sun conditions (#7268) --- source/_components/sun.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_components/sun.markdown b/source/_components/sun.markdown index d56854b01b2..cc2f933d70b 100644 --- a/source/_components/sun.markdown +++ b/source/_components/sun.markdown @@ -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