I say that to make a point about magnitude of annoyances. Sure it’s annoying. So are potholes.
It does seem like a slightly smarter device could be built. The times it happens to me, and I wave my hands in the air to turn lights back on, it’s not that annoying. When I’m there for 3 more hours and I have to do it every 5-10 minutes. That’s more annoying. So the simple thing to do is to program the thing to incrementally increase its timer length. 5/10/20/30 minutes might be less annoying. Also if motion is detected a short time after the no motion timer triggers, that’s probably a sign there was someone present the entire time. Can adjust the logic with that in mind too. The current devices are fine it’s the logic that was lazy.