Rules API for Z-wave Lock

I am using a Schlage Connect Z-wave lock with new beta edge driver.
When I unlock/lock it, the history shows who lock/unlock it.
I want to catch that in a rule so I can arm when that specific person lock the door during armed away.
Since I know the code, is that possible to match lockCodes to know who triggers the action?
This is the device capabilities

"capabilities": [
                        {
                            "id": "lock",
                            "version": 1
                        },
                        {
                            "id": "lockCodes",
                            "version": 1
                        },
                        {
                            "id": "battery",
                            "version": 1
                        },
                        {
                            "id": "refresh",
                            "version": 1
                        }
                    ]

There is a known issue with the Z-Wave lock driver and the codeNames getting set and read properly. You can see that discussion here. I linked to my own post because I was in a hurry, but there are relevant posts above and below that as well.

2 Likes

Thank you!