Shelly button 1 stops functioning couple of minutes after restart

Hello, I am hoping to get some help about Shelly button 1 acting funny, I spent the entire day with troubleshooting, but it seems this is beyond my capabilities.
Long story short, 2 days ago both my shelly buttons 1 quit working. I thought something break integration, I started to restore some backups and the buttons were working inconsistently.
In the end I figured out that after a restart the shelly.click event is reported in for 1-2 min, which fires the automation I have set up for years now, but after that the event is no longer fired. I think some process is stopped by the system, but I cannot figure out what is stopped and how to fix it.

Does any of you has or had the same issue? Can you guide me what is happening and how to fix it. I should mention that I am rather somewhat an enthusiast without much IT knowledge, but I am happy to learn.

I only got my two buttons maybe a year ago and set them up via the BT Home integration (so there may be other integrations/methods that you used), but mine still work fine. I’m using the button entity that the integration creates to trigger my automations.

I have the wifi version and I am using them with the official Shelly integration. I both them before the Shelly blu appeared.