Automatic sunrise and sunset color / colour temperature control (with LIFX)

Those variables are equivalent to the variables Sunrise_Time and Sunset_Time from the opening post. In my setup they were already present by these other names, that’s why I changed my example.