Enhanced Sun component

Hi Phil,

today in the WTH thread ‘golden hour’ was mentioned. No core support for that (yet), while it would be a valuable state for the automations concerning light (and motion for that matter).

Though it can be quite easily made into a binary sensor template as I’ve posted there, would this be something you might be willing to consider adding to your enhanced sun integration?

If so, it would be even fancier, if that sensor had an additional attribute for the fixed golden-hour time (eg like 17:00 pm to 20:30 pm) , and a next golden_hour attribute (next golden hour: in 3 hours (or a plain timestamp).

Golden hour would be a great moment to soften the tones in a theme automatically, and for the photographers amongst us, the ‘next’ would be a nice tool to gear up and go for a walk…

Guess a ‘past’ wouldn’t be that useful
Well, you probably understand what I mean.