I have noticed some odd intermittent ghost switching with one of the Sonoff Zigbee Minis. My network has plenty of these switch on it and this is the only one with any issue. I have tried to repair the switch to my network a few times with no joy.
It’s difficult to replicate but seems to happen after manually switching the light on via the light switch. After that turning it off (via switch or HA) will be immediately followed by it being turned back on.
What’s strange is that when it’s an automation (Node Red), the light is turn off and on by light.turn_off service: