Ashley’s Light Fader 2.01✨: fade lights and/or color temperature with your choice of easing (curves), including ease-in, ease-out, and ease-in-out

It wasn’t meant for that; it was meant for this:

It’s a map, not a formula, but easily implemented in Jinja2.

Literally the first search result: