Yeelight brightness adjust to sunrise/sunset during day and night

Have you considered something like this? It does what you want very nicely. You can use it to change brightness, colour temp or both.