How could I set an attribute on a simulated device? I would like a SmartApp to set a simulated motionSensor to active or inactive so I could use that simulated motionSensor in the SHM app.
You might take a look at The code for Mike Maxwell’s zone manager. He takes multiple real sensors and associate them with a single virtual zone sensor and then turns that on or off as the other sensors trigger.