My motion sensors group gets stuck

I have a group of two motion sensors. One is an aqara FP2, and the other one is a sonoff bullet like one (milliwave version too).
Today the group was permanently stuck at detecting motion. To make things worse, turning off the lights was turning them on again immediately via the great lights control blueprint. This was bery frustrating because, after seeing where the problem was, I had no idea of what to do.
Restarting home assistant didn’t made a difference.
After that, it was the sensor which were stuck at detecting motion, and of course the group.
I had to make a reset (tur off and on) of all two sensors physically.
Why can be the case ? Is a software failure? Hardware or a combination of both?