This entity is no longer being provided by the xiaomi_aqara integration

My aqara motion sensors have stopped working all of a sudden. And when I click on them it says

This entity is no longer being provided by the xiaomi_aqara integration

I am not sure how to resolve this issue. Would appreciate if someone could kindly guide me in the right direction. The xiaomi gateway is working fine as I am able to switch its light on & off from the home assistant and that part works fine. It is something wrong with the motion sensors. I had two working properly, and now both have stopped working suddenly.