Toggle Night mode on the fly


I added the Tidbyt to my devices in google home and it act like a light : I can adjust the brightness but when I press the toggle button, it throws an error. Is it possible to change that button to toggle the night mode ?

Also, is there a way to add a widget to toggle the night mode (and/or control the brightness and go to next/prev app) ?