"Duplicate channels" error when adding a light switch ZWA4011/58433

I am trying to add a Jasco/GE ZWA4011 light switch to my OpenHAB 5.1.3 setup. The thing is discovered and appears in my inbox as “Z-Wave Node 015: Enbrighten ZWA4011, 58433 Enbrighten Z-Wave In-Wall Smart Light Switch, 700 Series, 58433”. (device type/id: 4952/3239). But when I try to add it I get an “Error during thing creation: Not Found” error and in the log it is logged as:

Thing zwave:device:df30c64e35:node15 unable to be approved: Duplicate channels zwave:device:df30c64e35:node15:scene_number.

If I look at device definition at zwave addon github: org.openhab.binding.zwave/src/main/resources/OH-INF/thing/ge/58433_0_0.xml at f3a9a5d184bfc93de9589c7cdaf8e7c69a399720 · openhab/org.openhab.binding.zwave · GitHub it indeed has multiple channels with scene_number name defined. However, it’s not the only file with this “issue”, so, I’m not sure it is the actual cause of what I see.

I tried to use “Thing type file provider” binding to provide local thing definition with only one channel with scene_number id, but it didn’t help and I’m not sure it actually overrides the definition provided by zwave binding and not sure how to test that.

I also recently upgraded OpenHAB 3.x to 5.1 skipping version 4, not sure if it may have contributed.

Is this a bug with thing definition? Should I check something else?

Try this . Device with duplicate channels (scene_number) - #5 by apella12 Also I fixed the DB for the next update

I updated the XML file in JAR, did bundle:update in console and I was able to add the switch successfully. Thank you!