Shutter Configuration: Using Sun and sunset/sunrise as Trigger

I used the wrong words. You can specify an elevation. Typically though an elevation is similar to an offset except expressed in how high the sun is relative to the event. So if you check the elevation at a 3600 second offset and then use that in hte sensor, you get really close. If you really wanted the offset, you could create a template based on the sun2 attributes easily as well. You know when it will happen, you just add your offset.

Another thing to be careful of, the normal ‘sun’ sensor will always display the NEXT dawn. So if you use sun in a template and expect the current DAWN after it has happened, then you’re not getting it. You’re getting tomorrows.

The sun2 will give you what today’s was queried anytime between midnight to midnight instead. So the use case for both of these really need to be considered.

Here’s a good writeup for sun2.