Open flxs opened 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:
<option>
tags.
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: