I ditched motion sensors for mmWave radar, and my lights never plunge into darkness anymore
Presence detection finally works in my house, and there isn't a motion sensor involved.
We haven't written up this one. XDA Developers has the full story — the link below goes straight to it.