What brand door locks to evaluate?

I have a couple of kas locks. I have setup a scene for when the door is unlocked the light goes on. It works when I manually opened it via the app. But doesn?t when using the keypad, even if I set it to open via code input. Can anyone help?