Automations losing connection to Tradfri button

I am using a number of Tradfri switches (I/O, no dimmer) in my setup.

Whenever I reboot Home Assistant (local installation on RPi) and/or my separate Phoscon RPi, which holds the connection to the switches, the corresponding triggers in my automations don’t trigger anymore. The logs still show the events being fired.

Creating the exact same trigger again within the automation (so that the same trigger is there, twice) makes it work again and the original trigger continues to work after I delete the new one.

Is this a known issue or is there something I’m overlooking?

I haven’t found anything in the forum about this but I’m not 100% confident, I’m looking for the right terms.

Can you post the YAML for one of your automations?