I have a tradfri button connected via zigbee2mqtt. The button generates events I can see in zigbee2mqtt logs, but only every once in a while does the event make it through to homeassistant.
I verified via mosquitto_sub that the events actually all end up in mqtt, and are readable by the homeassistant mqtt user, so it's probably an mqtt integration problem, but since it involves zigbee2mqtt, I'm posting it here, maybe some people here have seen something like this. Any ideas?
-> MQTT -> Configure or actually write an automation