Nice! That’s what I was trying to say earlier with testing various methods of unlocking the door to see what data is reported in each case and using the presence or absence of certain attributes for determining the unlock method.
In the case of one of my locks, I see something like…
Physical with the keypad
"data": {
"codeId": "1",
"method": "keypad"
},
Physical:
"data": {
"method": "manual"
},
Digital (app):
"data": {},