Dirnei / node-red-contrib-zigbee2mqtt-devices

Node-red nodes for controlling and managing zigbee devices managed by zigbee2mqtt
MIT License
29 stars 7 forks source link

Devices with Parentheses in their Friendly name can be setup, but do not register any button presses #125

Open flxs opened 2 years ago

flxs commented 2 years ago

Currently moving my setup from node-red-contrib-zigbee2mqtt to your nodes (and liking them very much! Great work!) and I've stumbled upon a litte issue. Switches with parentheses in their name can be selected and set up just fine, but will never register a button press. Since Z2M lets you name them like that without issue maybe at least a little warning or something would be useful (this has taken me quite a bit of time to get to the root of)

How to reproduce:

Andreas-Huber commented 2 years ago

Thanks for reporting the issue in such a detailed manner :-) I had a quick look, and from just looking at the code, I can't see anything obvious why parentheses would be a problem. However, I'm on vacation, and can't test this properly now without physical device access. But I assume it's not an urgent issue. I possibly can have a look in 2-3 weeks.

Possible things we should investigate: