Sonoff D1 ghost switching

I have a D1 dimmer that keeps turning on by itself randomly. All other wifi switches (sonoff mini r2) are working perfectly fine. Any ideas as to what may cause this? Running OH3 on Raspberry PI3b+.
Thank you all for your help.