Aqara vibration sensor

I was hoping someone could help me out.

I got a aqara vibration sensor and I managed to set it up correctly, using a device handler that I found here. Everything seems to be working except the closed/opened status. I’m able to select on the app that the current status is closed but when I open the door the status is never changed, it’s like the sensor is not detacting movement at all. I thought this was supposed to work on doors? Am I mistaken?

Thank you for your help.