Hi @tmichael ,
Take a look at the script in this post:
You can use the same script to toggle triggers or actions.