From 29f5b7f94775345512aefd511658a079e0fc8aa7 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 10 May 2019 17:36:49 +0200 Subject: [PATCH] Update trigger.markdown --- source/_docs/automation/trigger.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 7fa85f880d7..b75ee3db9c5 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -133,7 +133,13 @@ automation: #### {% linkable_title Sunset / Sunrise trigger %} Triggers when the sun is setting or rising, i.e. when the sun elevation reaches 0°. -An optional time offset can be given to have it trigger a set time before or after the sun event (e.g. 45 minutes before sunset). Since the duration of twilight is different throughout the year, it is recommended to use sun elevation triggers instead of `sunset` or `sunrise` with a time offset to trigger automations at the start of dusk or dawn. +An optional time offset can be given to have it trigger a set time before or after the sun event (e.g. 45 minutes before sunset). + +

+Since the duration of twilight is different throughout the year, it is recommended to use [sun elevation triggers][sun_elevation_trigger] instead of `sunset` or `sunrise` with a time offset to trigger automations during dusk or dawn. +

+ +[sun_elevation_trigger]: /docs/automation/trigger/#sun-elevation-trigger ```yaml automation: