This is actually why I went with the
I started with the list that you had perscribed but I found that I wanted an RGB value for my nightlights instead of a color temperature. I like the redder hue rather than the max 500 Kelvin.
With this, I had to created two automations: automation.circadian_day and automation.circadian_night that are the same except for the color_temp/rgb_color in the data of the light.turn_on service call.
edit: I’m now going back to this original template for a more condensed configuration.
Your suggestions so far have made my code exponentially better from where it started. And everything is working much snappier and more reliably than my original code. As you may recall that was basically having ~19 automations per entity. One for each time of day.
Also thank you for linking to the original discussion in case someone else is interested in the list-based template.