Sun2 - high latitude issue with dawn and dusk sensors

The sun2 integration is quite useful, but basically ‘errors out’ on computing the dawn and dusk times in high northern latitudes during the time of year when the sun does not get below -6 degrees from the horizon for days or weeks on end. The dawn and dusk sensors get set to “Unkown”, which is basically a catchall “error” state. I suggest that this integration should actually compute the next time the sun does get to -6 degrees, which may be weeks into the future - if feasible…or possibly “Not Applicable”…

Sun2 is a custom integration, if you have Feature Requests for it you should submit them on the integration’s repository.

ok. thanks for educating me.