From d1510bdfb8d0c348db4467c73db6894687bcb615 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Fri, 16 Mar 2018 18:05:04 +0000 Subject: [PATCH] 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. --- source/_docs/scripts/conditions.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index a9e0b8c5647..5ca5b9c756f 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -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" ```