I was wondering if it was possible, at some point, that connected door locks or dead bolts could be used to trigger events, such as with rules, based on how the device was either locked or unlocked. If for example, I unlock my door with the keypad by entering my pin number I'd like it to turn off my door sensors in the house, but if it is opened manually using a key , I'd like the sensors to stay on until acknowledged otherwise, either by the app or lcd screen. Likewise with locking. If I lock it from outside, using the pinpad, activate door sensors and motion sensors. If I activate it from inside, by turning the knob, like when going to bed, activate just the door sensors no motion detectors. And if activated from any app or ui, leave all other devices / rules in their current state or as already set. Dunno if this is possible, or a pipe dream or not, but I think it would add great value to the automation side of the system AND really play well with the security aspects of the system. This could obviously work well for sensors other than door or window sensors for triggering certain lights or etc.