Sonoff ZigBee window sensor not working (unavailable)

I have about 10 Sonoff Zigbee window/door sensor around my house and a Sonoff ZigBee bridge; all is setup in home assistant and has worked for 1-2 years.
Now some of the sensors are showing as unavailable


I’ve tried changing the battery on one but it didn’t work until I removed and readded the device

It worked for a few hours or so and then it became unavailable again
Is there anything wrong with what I’m doing or is it just a crap product? I also have one that never managed to connect from the beginning