Handling Duplicate CodePins in the SmartThings Lock Codes API

Hi, @gjanes
I remember this issue was reported a while ago and was solved, this is the post where this was discussed: Correct Z-Wave Lock API Command - #12 by Jake_Mohl

So, I’m curious, do you have access to the device that has this behavior? It would be interesting how that command it’s handled by its driver.
That can be done by opening the listener for driver logs using the CLI’s command smartthings edge:drivers:logcat

@Yaroslav_Mudryi did you test any of the suggestions?

  1. Mine: use the commands “reloadAllCodes” and “requestCode”
  2. From @h0ckeysk8er: Look at the capability status for the lockCodes which will include an array of the current codeSlots