Yale Wrong PIN Entered

Hi everybody,
I have a Yale Deadbolt YL-YRD220ZW and trying to implement a simple code that if i receive 5 intent of open the door, then the Siren will be on for few seconds.
But the problem is that the triggers for Bad PIN Code Entered is not working. Is never triggered.
I put a log in the luup code to see if it is triggered, but never see in the logs when I go to the door and introduce a bad code.

The code is not the problem because it never runs, but is here:
luup.log(“++++++++++++++++++++ BadPINCount:” … badPINcount)

if (badPINcount >= 3) then
return true
end

badPINcount = badPINcount + 1

return false

Best Regards,

On my Schlage locks you have to enter a bad pin 3 times at the lock before it reports a bad pin to Vera. It flashes the lights on the keypad at the same time.

It makes sense… I don’t remember if I tried 3 times, I just tested and see logs, but maybe I didn’t try more than 3 times.