Delays in response to occupancy recently

I’ve been using SONOFF occupancy sensors via ZHA integration for a few months, they turn on some lights depending on the occupancy. In recent weeks I’ve noticed a huge delay in response times (like seconds after walking into the room, when it used to be instant - no changes in sensor position etc). I’ve also noticed I’m now seeing weird behaviour - I had two automations one for occupancy set (light on) and one for occupancy cleared (light off) but recently I’ve seen lights turned on from occupancy cleared, lights on all night. It suggests I’m mis-using the components somehow or that something changed in an update that I’m not aware of. Can anyone shed light (not literally, I have too much of it)?

That reply read very much like it was the output of ChatGPT - please don’t do that if that’s the case.