I have an aqara wireless mini switch model WXKG11LM, and I have a leviton dz15s light switch for my bedroom.
I am using Z2M to add the aqara WXKG11LM, and it’s not showing me all of the entities that this switch should have single, double, and hold actions.
I set up an automation for it to turn off the dz15s when the WXKG11LM is pressed (action). While this automation works, it drove me crazy last night. The action would only last 50 minutes. My light switch was off, and every 50 minutes the switch would toggle back to on. I would have to press the aqara button again to turn it off (and it would only last 50 minutes). I tested the automation while the light switch was on, and after 50 minutes it would toggle off.
I removed this automation. I am not sure why it is only lasting 50 minutes.
I have another dz15s light switch for my porch lights, and it has automations set to turn off/on for sunrise/sunset, and it works perfectly fine.
Adding pictures below: