I have a Homeseer HS-WS200+ wall switch. Unlike the dimmer in the same series, the switch only has one indicator LED. This LED has several configuration parameters associated with it, and I use a program to set those parameters based on time of day, a motion detector and a timer. That all works well. I have another program that controls those same parameters (but configured differently) based on the status of a handful of door/window sensors. That also works well. Both programs end with setting the parameters back to my default status.
I'm trying to figure out what to do when the conditions of both programs are met. I'd like to somehow define one program as primary and the other as secondary, and allow the primary to override the secondary. So if the primary program is triggered and active, ignore the secondary. And if the secondary is already active, and the primary is triggered, abort the secondary and enable the primary.
I think I can accomplish this with nested conditions, but I was hoping to keep the two programs independent and simply tell the ISY which one takes precedence.