Tried your workaround, but didn't work for me. Also tried to remove the rule and re-create it. I even removed all my rules (even the ones that work) but no luck.
So unfortunately, none of my automations work that used Xiaomi mini switch or aquara 2way switch. Very frustrating.