Is there a way one program can stop/cancel another program that is already running?
Example: I have some lights turn on at sunset, then wait for 30 minutes, and then some others turn on. Sometimes I would like to not have the other lights go on. Ideally, I would set this up as an Alexa command that I could say sometime in that 30 minute window.
I know I could probably do a similar thing by setting a variable with the "cancel" program and checking the value once the 30 minutes times out to see whether or not the other lights should go on.
It just seems cleaner to me to be able to cancel the running program.