HA triggering Shelly switches randomly and bricking them

Everything had been working properly with my HA set up until this morning when I realised that Shelly switches were turning themselves on/off out of nowhere. I isolated the issue to Home Assistant as when I unplugged my Raspberry Pi, the problem went away.

I’ve attached an example of what the log shows. Any idea? It ended up bricking my Shelly’s and I had to set them back up one by one so I’m thinking of stopping using HA until I can get to the bottom of this.

Thanks in advance for helping!

Probably wifi issue. If you have bad wifi coverage it can result in turning switches or appliances on for no apparent reason.

Definitely not that, I have a U7 Pro, and even the switch next to it has that issue.
It also worked fine for several days and only started this morning

ok, I had similar problems when I had problem with wifi.
Some wifi switches turned on for no reason or vacuum started to vacuuming although no one started it.