Event 'data' Property (for Locks)

Again me :slight_smile:

Had an automation with a schlage lock

When locking, was looking at the arguments method, to see if we lock manually (from the inside) or with a code (from the outside), to be able to trigger to right mode

Saw some event variable, but none are sending me : manual
Is this a missing event variable ?

Are you referring to the data property that was attached to some events in Groovy?

The data property isn’t documented in next generation SmartThings event subscription API. :frowning:

Is the Schlage lock still connected with a Groovy DTH or an Edge Driver?

Custom device handler right now

Was using a listener of event on my lock (to avoid multiple piston)
Was looking at ‘manual’ in the args.method to see if the lock happen with an automation or manually. So I could trigger different scene based on that

Thanks for the additional details.

I’m aware of the feature from Groovy, but it doesn’t seem to be documented in the next-gen API. I took a look through the Z-wave Lock Edge Driver and it still has some references to event.data, so I just put in an order for a lock known to report those values and will try it out to see if it exists in the new API and just isn’t documented.

1 Like

Thanks
Will wait for your reply :slight_smile: