Z wave locks ... make a key code sensor into a binary_sensor?

Hi Bartem,

Ive had to re visit this and Im lost as this was memory holed a long time ago, does this still work with updated HA? Where do I find the alarm level data again ?

I must ahve used your info in another way as Ive never used templates, but it was working great, then it wasnt and Im back at it years later.

Sorry I missed that there was a reply to me… not on the forum nearly as much as I used to be… I still have alarmlevel entities for my locks in the Z-wave integration (Not Z-Wave JS, but the Z-Wave Integration itself generated the entity…)

But after a quick look, it seems the key sensors may not work anymore… but I still get alerts for when each person unlocks the door with their key… I’m going to get on my computer and see if I changed something or if it still functions as it used to.

– So it looks like I’m no longer using the “Alarm Level” as I used to… it now uses a zwave_js event notification… which sounds vaguely familiar from a couple years ago… here is the trigger for my notifications… obviously, one for each userId, and an automation for each separate lock.

  - platform: event
    event_type: zwave_js_notification
    event_data:
      device_id: "6b6131fb06bc23651da0de5a26aa0a3a"
      event_label: "Keypad unlock operation"
      parameters: {
            "userId": 5
        }
1 Like

Thnak very much ! Its working again ! Appreciate you taking the time to help