Some Aqara door sensors show on/off instead of open/closed

The door sensors that show up correctly are detected as lumi.sensor_magnet.aq2 in ZHA.
The wrong ones are lumi.magnet.acn001 in ZHA.
Some of them also lack battery info.

They are both regular ol’ Aqara door sensors, they look exactly the same and the functionality is there.
How do I go about fixing this?