thanks! just found this thread again, because I was finally able to use the conbee and setup this sensor.
Seems a bit odd though with enormously long golden hours and nadir (which should be only a short period) taking almost all night. Astral has got those lighting scenes in a more natural way I feel.
fyi, Ive made this customization, and had a bit of a struggle with the available mdi icons. If you could see an improvement, please let me know:
sensor.daylight:
templates:
icon: >
var icon = {'Night start':'theme-light-dark',
'Nadir':'weather-night',
'Night end':'theme-light-dark',
'Nautical dawn':'white-balance-sunny',
'Dawn':'weather-sunset-up',
'Sunrise start':'weather-sunset-up',
'Sunrise end':'weather-sunset-up',
'Golden hour 1':'brightness-7',
'Solar noon':'weather-sunny',
'Golden hour 2':'brightness-5',
'Sunset start':'weather-sunset-down',
'Sunset end':'weather-sunset-down',
'Dusk':'weather-sunset-down',
'Nautical dusk':'weather-sunset-down'}
return icon[state] ? 'mdi:' + icon[state] : 'mdi:weather-sunny-alert';