all WXKG01LM switch malfunctions after update
Bug Report
What happened
i updated to the latest zigbee2mqtt and all my WXKG01LM behave unexpectedly.
When pressing the switch once, "hold" instead of "single click" is send
Zigbee2MQTT:debug 2021-09-09 21:34:35: Received Zigbee message from 'zBedSwitchParents1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,5,69,196,209,245,1,45,52,184] +5ms
zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 5 - 2 - 5 - 196 - [209,245,1,45,52] - 184 +0ms
zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":62929,"relaycount":1,"relaylist":[13357]} +5ms
zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +1ms
Zigbee2MQTT:info 2021-09-09 21:34:35: MQTT publish: topic 'zigbee2mqtt/zBedSwitchParents1', payload '{"battery":100,"last_seen":1631216075180,"linkquality":48,"voltage":3042}'
Zigbee2MQTT:info 2021-09-09 21:34:37: MQTT publish: topic 'zigbee2mqtt/zBedSwitchParents1', payload '{"action":"hold","battery":100,"last_seen":1631216075180,"linkquality":48,"voltage":3042}'
What did you expect to happen
I expect "single click" is send since the zigbee message comes instantly
I have set hold_timeout to 2000ms and from the log you can see that the hold payload is send exactly after 2000ms automatically. The question here why do we timeout even though a message was received instantly.
How to reproduce it (minimal and precise)
press the switch once
Debug Info
Zigbee2MQTT version 1.21.1-dev commit: cadcdc35 Coordinator type zStack3x0 Coordinator revision 20210120
Any help will be highly appreciated.
Thanks and best regards!
my issue is related to https://github.com/Koenkk/zigbee2mqtt/issues/8663 i updated my kernel to 5.10.63 and now everything is working again.