Hello all,
Posting here hoping someone can help me with my Aqara double rocker with neutral (lumi.switch.b2naus01). Unfortunately, my bathroom lights and fan are tied together due to cheaping out on the installation so I installed this Aqara double rocker. My bathroom fan is automatic based on humidity so it’s fine to always be powered, so my idea is to use this switch in decoupled mode to control the lights. It works fine, but I’m lacking some control and I’d like to do more with it. So onto the issue:
The switch is a double rocker. Both click events register just fine, but if I hold the top button or the bottom button it is the same zigbee event, with no way to differentiate which button was held. Also the power monitoring shows as 0 always. Not sure if that’s fixable since only the mains is connected and not the actual wires for each rocker (since decoupled anyway). I would think it would still show because there isn’t separate power stats per switch, just power stats for the whole switch.
Now some more weirdness.
Every time I re pair the device it grabs one of 4 different quirks from here: zha-device-handlers/zhaquirks/xiaomi/aqara/opple_switch.py at 928268cca5d22a048e72d45ae1c24a1b6dd92a9c · zigpy/zha-device-handlers · GitHub
XiaomiOpple2ButtonSwitch1, XiaomiOpple2ButtonSwitch2, 3 and 4, which all show model: (lumi.switch.b2naus01)
I don’t know python or how zigbee works under the hood but I found a custom quirk on GitHub for a similar switch and changed the model in the custom quirk to (lumi.switch.b2naus01). I also banged my head against the wall with AI for days trying to fix this to no avail. I can get it to load quirks without errors but it still seems to always grab one of those 4 quirks and not the custom one. (I have a custom quirk for a different device that does load with my config so I know my zha custom_quirk_dir is working).
Any ideas? Am I simply barking up the wrong tree? Is there a tree to bark up at all or am I SOL? Is it not possible to override the quirk in use?