Motion sensor randomly reports closed

I have a motion sensor on my garage door. It randomly reports ‘closed at…’ and sometimes ‘open at…’ but it actually never moved.
Anyone experienced this? How did ya fix it?
Replaced battery, no change.