Some method of having an internal variable or even a virtual switch. This would allow the software to store a state such as “armed”/”disarmed”, or “occupied”/”empty”. This variable would be used as either a condition or trigger in wizards. I’m using the Pi server.