Moin zusammen,
die Antwort war am Ende einfach:
In die Datei (bei mir) "./root/node_modules/zigbee-herdsman-converters/devices.js"
die Zeilen als neues Gerät einfigen:
{
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_wzauvbcs'}],
fingerprint: [
{modelID: 'TS011F', manufacturerName: '_TZ3000_wzauvbcs'},
{modelID: 'TS011F', manufacturerName: '_TZ3000_1obwwnmq'},
],
model: 'TS011F_switch',
vendor: 'TuYa',
description: '3 gang switch, possibly with USB',
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3')],
extend: generic.switch,
meta: {configureKey: 1, multiEndpoint: true},
supports: 'on/off',
whiteLabel: [{vendor: 'SilverCrest', model: 'SPSZ 3 A1', description: '3 gang switch (16A) with 4 USB ports'}],
configure: async (device, coordinatorEndpoint) => {
for (const ID of [1, 2, 3]) {
await bind(device.getEndpoint(ID), coordinatorEndpoint, ['genOnOff']);
}
},
endpoint: (device) => {
return {'l1': 1, 'l2': 2, 'l3': 3};
},
},
Gefunden auf
https://github.com/Koenkk/zigbee-herdsman-converters/commit/855c28e092f5bda64bd97d947c49a13d0d4a6e78