Aqara wireless mini switch click speed problem

I have 2 mini switches connected via ZHA the first one behaves normally but the second one you have to click it really fast for it to work, if you do click it very fast it works fine but if you don’t you get nothing. Both are detected as lumi.remote.b1acn01 and I am using this blueprint SeanM/zha-aqara-wireless-mini-switch.yaml could it just be a random hardware problem?