Some issues trying to get Busch-Jaeger to work

I am in some need with a Pull Request I am working on: https://github.com/Koenkk/zigbee-herdsman-converters/pull/879

So far I have been making steady progress, but ended up in a weird situation. When the switch joins the network, everything seems fine and I can change the state via MQTT. However, once I restart zigbee2mqtt, the switch stops responding to the on & off messages. Here’s some log output:

2020-01-10T15:51:49.846Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {“dstaddr”:26630,“destendpoint”:10,“srcendpoint”:1,“clusterid”:6,“transid”:12,“options”:0,“radius”:30,“len”:3,“data”:{“type”:“Buffer”,“data”:[1,13,0]}}
2020-01-10T15:51:49.847Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,13,36,1,6,104,10,1,6,0,12,0,30,3,1,13,0,86]
2020-01-10T15:51:49.859Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2020-01-10T15:51:49.860Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,1,100,1,0,100]
2020-01-10T15:51:49.860Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2020-01-10T15:51:49.860Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {“status”:0}
2020-01-10T15:51:49.860Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext []
2020-01-10T15:51:49.868Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,12,202]
2020-01-10T15:51:49.868Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,3,68,128,0,1,12,202]
2020-01-10T15:51:49.868Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,12] - 202
2020-01-10T15:51:49.868Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {“status”:0,“endpoint”:1,“transid”:12}
2020-01-10T15:51:49.868Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext []
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,25,68,129,0,0,6,0]
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,25,68,129,0,0,6,0]
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [6,104,10,1,0,90,0,220]
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,25,68,129,0,0,6,0,6,104,10,1,0,90,0,220]
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [61,14,0,0,5,24,13,11]
2020-01-10T15:51:49.897Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,25,68,129,0,0,6,0,6,104,10,1,0,90,0,220,61,14,0,0,5,24,13,11]
2020-01-10T15:51:49.898Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [0,129,6,104,29,227]
2020-01-10T15:51:49.898Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext [254,25,68,129,0,0,6,0,6,104,10,1,0,90,0,220,61,14,0,0,5,24,13,11,0,129,6,104,29,227]
2020-01-10T15:51:49.898Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 25 - 2 - 4 - 129 - [0,0,6,0,6,104,10,1,0,90,0,220,61,14,0,0,5,24,13,11,0,129,6,104,29] - 227
2020-01-10T15:51:49.899Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {“groupid”:0,“clusterid”:6,“srcaddr”:26630,“srcendpoint”:10,“dstendpoint”:1,“wasbroadcast”:0,“linkquality”:90,“securityuse”:0,“timestamp”:933340,“transseqnumber”:0,“len”:5,“data”:{“type”:“Buffer”,“data”:[24,13,11,0,129]}}
2020-01-10T15:51:49.899Z zigbee-herdsman:controller:log Received ‘zcl’ data ‘{“frame”:{“Header”:{“frameControl”:{“frameType”:0,“manufacturerSpecific”:false,“direction”:1,“disableDefaultResponse”:true},“transactionSequenceNumber”:13,“manufacturerCode”:null,“commandIdentifier”:11},“Payload”:{“cmdId”:0,“statusCode”:129},“Cluster”:{“ID”:6,“attributes”:{“onOff”:{“ID”:0,“type”:16,“name”:“onOff”},“globalSceneCtrl”:{“ID”:16384,“type”:16,“name”:“globalSceneCtrl”},“onTime”:{“ID”:16385,“type”:33,“name”:“onTime”},“offWaitTime”:{“ID”:16386,“type”:33,“name”:“offWaitTime”}},“name”:“genOnOff”,“commands”:{“off”:{“ID”:0,“parameters”:[],“name”:“off”},“on”:{“ID”:1,“parameters”:[],“name”:“on”},“toggle”:{“ID”:2,“parameters”:[],“name”:“toggle”},“offWithEffect”:{“ID”:64,“parameters”:[{“name”:“effectid”,“type”:32},{“name”:“effectvariant”,“type”:32}],“name”:“offWithEffect”},“onWithRecallGlobalScene”:{“ID”:65,“parameters”:[],“name”:“onWithRecallGlobalScene”},“onWithTimedOff”:{“ID”:66,“parameters”:[{“name”:“ctrlbits”,“type”:32},{“name”:“ontime”,“type”:33},{“name”:“offwaittime”,“type”:33}],“name”:“onWithTimedOff”}},“commandsResponse”:{}}},“address”:26630,“endpoint”:10,“linkquality”:90,“groupID”:0}’
2020-01-10T15:51:49.899Z zigbee-herdsman:adapter:zStack:unpi:parser — parseNext []

Some idea would be greatly appreciated.

Okay, problem solved. After restarting, the command was being sent to endpoint 10 instead of 18.