Conexis L1 Notify which user Unlocked/Locked

Hey,
I’ve managed to get my Conexis L1 smart lock configured up with the Z-Wave module and currently have an automation set up for Locked/Unlocked states which works fine, so I know when the door is locked/unlocked. Am I able to somehow get the ID of the user unlocking/locking it, and set it to a user so I know who has unlocked/locked the door?
My automation currently looks like this;

- id: '123'
  alias: 'Notify: Front Door Locked'
  description: ''
  trigger:
  - platform: device
    device_id: 123
    domain: lock
    entity_id: lock.yale_front_door_lock
    type: locked
  condition: []
  action:
  - service: notify.slack
    data:
      message: Front Door is LOCKED
      title: Front Door is LOCKED
  mode: single

Try listening for the zwave event or the state change event of the lock in developer tools and see what the “context” is.
There usually is an id that is or can be linked to a specific user.

Thanks, I created an event listener for zwave_js_notification which brought up the events I needed when I unlocked/Locked.
It does in fact bring back a userID. But how do I map the userIDs to names, and how do I then add the name of the id unlocking to the automation action to add to the notifier?

Event 11 fired 21:36:
{
    "event_type": "zwave_js_notification",
    "data": {
        "domain": "zwave_js",
        "node_id": 2,
        "home_id": xxx,
        "device_id": "xxx",
        "command_class": 113,
        "command_class_name": "Notification",
        "label": "Access Control",
        "type": 6,
        "event": 6,
        "event_label": "Keypad unlock operation",
        "parameters": {
            "userId": 2
        }
    },
    "origin": "LOCAL",
    "time_fired": "2022-06-27T20:36:18.842750+00:00",
    "context": {
        "id": "xxx",
        "parent_id": null,
        "user_id": null
    }
}

I’ve managed to work it out, and now gives me the name of who’s unlocked :slight_smile:
This video gave me all the answers;

Have a look here I posted some templates a while ago