Hi and thanks for reaching out. My name is William. I'm a Windows technical expert. I'll be happy to help you out today.
There is an article that outlines creating a scheduled task to automatically turn these on/off at specific times here: https://www.windowscentral.com/how-automaticall...
But from the sounds of it, you are looking to do this manually. The problem here is that there is no way to setup a trigger on number 1 if done manually. The change to enable or disable the night light is implemented in the registry (in this case, Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.bluelightreductionstate\windows.data.bluelightreduction.bluelightreductionstate).
That said, technically, this is possible, but is a bit convoluted to set up. What you would so is enable auditing on the registry key above, enable audit policy*, create a task that is triggered on the event generated by registry audit success Event ID 4657 in the Security log that will fire PowerShell commands to set-item property n step 14 in the linked article. I can walk you through the exact steps to try and get this working if that is an approach you want to take.
*If you are using Windows 10 Home, you cannot access group policy editor to enable registry key auditing. You would need to instead use auditpol command to turn it on (elevated command prompt): Set-Itemauditpol /set /subcategory:"registry" /success:enable