A very similar function was just added to Microsoft PowerToys 0.95 recently, called Light Switch[1]. It doesn't have all the bells and whistles, but basically does the same task, including switching modes automatically based on sunrise and sunset times.
[1] https://learn.microsoft.com/en-us/windows/powertoys/light-sw...