Zigbee switches (IKEA and Hue) button mapping keeps resetting in HomeKit

I’m using a couple IKEA TRADFRI on/off switches and one Hue dimmer switch in my setup. It’s connected using a Sonoff Zigbee Dongle-E controller flashed to 7.4.3, Zigbee2MQTT, and the HomeKit Bridge integration.

I managed to finally assign actions to some of the 19 buttons exposed to HomeKit for the buttons, but anytime I update Home Assistant or restart my Raspberry Pi, the Home app on iOS loses all the configurations I made. I’m able to restart Zigbee2MQTT, MQTT, and the HomeKit Bridge add ons without any issue; the only time the button configurations reset it when Home Assistant itself is restarted.

I’m at a loss for what to do and would appreciate any help.

Why use homekit ? If they are zigbee you should be able to pair them directly to HA ?