The simplest way is to use a virtual switch as a timer.
Create a virtual switch, and apply all of your rules that would turn the switch off to that virtual switch.
Set up the physical lights to follow the virtual switch, so that they turn on when it turns on, and turn off when it turns off.
That way, if you control the physical light through any other means, such as Echo, a minimote, or another SmartApp, The timer won’t turn it off. It’s only when you reference the virtual switch that you will get the automatic shut off.
There’s a how to article in the community – create a wiki that gives the steps for doing this.
Thanks. I’m using a virtual switch now to control the wemo switches within Smartthings and IFTTT. Will think about having them all use a VS for a timer. I have different durations and triggers but can simplify it I guess. Will check out Core as well. If it can due multiple “thens” off of one “if” it would some some ordering problems for me as well… ie. Turn on the wemo switch
I’m going to one thing first and see how it works tonight. Created a new mode called “Keep On” and had all of my Power Allocations and Timers only work in the mode is set to one of the other three. Theory is then during a party switch the mode to Keep On. Using Lights Off turns all lights off, turns a virtual switch on for IFTTT to fire and turn off all Wemos and switch mode to Night. Still struggling to get my z-wave switches to work outside despite doing multiple zwave repair. Annoying…