Help needed with how to automate a dusk to dawn colour temperature and intensity change

and one more, allowing full control over transition over time: