It should work, according to the Aqara topic. Maybe you bought a Chinese Mainland version? Because that won’t work!
The sensor should have this model description:
lumi.sensor_occupy.agl1.
Otherwise please use the the app topic for Aqara related issues: