The ability to store device names in a variable, filtered by a condition (i.e. offline) would allow for notifications pertaining to devices that have a particular status. I’m presently doing this in webCore (soon to be deprecated in SmartThings) to check on a daily basis for offline devices and send a notification.
This is an example in webCore of what I’m looking to do in the Rule Engine,
I am looking to do exactly what Bry, Randal and Terry mentioned above. I am trying to replicate a rule in Webcore where if my thermostat moves from idle, and any contact sensors are open (doors and windows), the appropriate contact sensor name (s) are loaded into a variable and then I would be notified of the open contact sensors. Right now its partially working in SharpTools except for the notification; it only reports the triggering device name (the thermostat)