Changing battery of zigbee devices need repairing?

Hi, I’m using cc2531+zigbee2mqtt and paired with some Aqara motion sensors. Recently I have just changed the battery for a motion sensor and after that, my zigbee2mqtt can’t detect it anymore. End up, I force removed the device and repair it.

Question: Do we have to repair the device actually after changing the battery? Sometime it takes few attempts to repair which is bit troublesome.

Thanks.