stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 98 forks source link

Xiaomi WXKG11LM - triple action #536

Closed elpaul closed 3 years ago

elpaul commented 3 years ago

Good morning. I noticed a problem with the Xiaomi WXKG11LM button. More specifically with the action "triple". After pressing the button three times in the domoticz logs the following will appear: (Zigbee) Unable to find selector switch level for value "triple" All other functions (single, double, quadruple, hold) work fine. Where to look for the cause? image

Additional information Zigbee2MQTT version: 1.16.2 Python version: 3.7.3 Domoticz version: 2020.2 Plugin version: last

Lokysek commented 3 years ago

Hi all, i have the same problem with

WXKG01LM | MiJia wireless switch

Single, double, quadruple, hold and release works fine, but tripple is not :-(

gurbyz commented 3 years ago

I couldn't get the triple click to work either. But I noticed that in the documentation here the action is spelled as tripple (with 2 p's). I didn't see triple nor tripple in my mqtt logs. single and double where fine and I could see them in the logs.

Maybe somewhere in the code the tripple and triple spelling gets mixed up and the action gets lost?

EDIT: I'm using Home Assistant zigbee2mqtt add-on and not Domoticz. So the bug is probably in the underlying code that both add-ons use. I'll make an issue report there.

stas-demydiuk commented 3 years ago

Can someone please test if the issue is still valid?

gurbyz commented 3 years ago

My part of the issue still is. Same as it was January 23th.

stas-demydiuk commented 3 years ago

Closing the ticket as it is zigbee2mqtt issue itself not the plugin one, hopefully will be fixed once