Turn Off True Tone While Photography Apps Are Running

I'd like to use True Tone on my MacBook Pro but I do photo editing and I need it disabled when I'm using apps like Photoshop or Lightroom.

Was thinking of using an Application trigger that turns off True Tone when the apps are activated and turns it back on when they deactivate.

I can't find a True Tone action though. Anyone have a script for activating and deactivating it? Thanks!

I found this AppleScript but don't have any way to test it for you.