Central Scene: When Key Released is received after Key Held Down timeout, the node is using slowRefresh
See original GitHub issueChecklist:
- I am not using HomeAssistant. Or: a developer has told me to come here. (A developer referred me here from HomeAssistant, marcelveldt)
- I am not using ZWaveJS2MQTT. Or: a developer has told me to come here.
- I have checked the troubleshooting section and my problem is not described there.
- I have read the changelog problem was not mentioned there.
Describe the bug
When holding down and releasing the button on this switch, a “KeyHeldDown” event is produced and then an immediate “KeyReleased” event is produced, followed by a second “KeyReleased” event when I actually release the button. There seems to be an extra “KeyReleased” event produced which makes holding down the button pointless. This is different behaviour then the previous zwave 1.4 implementation from Home Assistant.
Device information
Which device(s) is/are affected (make/model)? - GoControl remote wireless switch WA00z-1 What are the node IDs? 6 and 10
Did you change anything?
- Yes: (please describe)
- No
Did this use to work before?
- Don’t know, this is a new device
- No, it never worked anywhere
- Yes, in: (specify application with versions) HomeAssistant using zwave 1.4 implementation
How are you using node-zwave-js
-
zwavejs2mqtt
(latest) docker image -
zwavejs2mqtt
(dev) docker image -
zwavejs2mqtt
Manual Docker buildnode-zwave-js
branch:zwavejs2mqtt
branch:
- ioBroker.zwave2 adapter
-
HomeAssistant
version 2021.2.3 - Pkg
- Manual Docker build
node-zwave-js
branch:zwavejs2mqtt
branch:
- Manually built (as described in the docs)
- Other:
To Reproduce
Steps to reproduce the behavior:
- Using the developer tool in Home Assistant, I first listen for zwave_js_event.
- Next, I hold down the button (top or bottom).
- I observe 2 events: initial “KeyHeldDown” event, then immediately a “KeyReleased” event before I release the button.
- When I release my finger, I observe another “KeyReleased” event.
Additional context
Add any other context about the problem here.
Logfile:
zwave_js_dump.jsonlIssue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
I just updated the zwave-js version in HA to 7.0.0, and I can report that this works great now. Thanks again for your effort on this!
Thanks for reporting back!