It follows what's in front
Pick the apps, and the websites in Safari or Chrome, that need true colour. While one is in front, Night Shift stays off. Switch away and it comes back, and your schedule carries on as before.
Overrule it anytime
Turn Night Shift on while a rule holds it off, from the menu, Control Center or a script, and Nightcap goes along with you. It snoozes that rule until the schedule's next change instead of fighting you.
Made to be scripted
Everything in the menu is also a nightcap command. Bind it to a key with skhd, Raycast or Karabiner, run it from a script, or read the status as JSON.
Rules can also live in a plain config file, next to the rest of your setup.
Set it up before sunset.
Free and open source, for macOS 15 or later on Apple silicon.