const {deviceEndpoints, onOff} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['UIOT-LNSwitch2[02,02]'],
model: 'UIOT-LNSwitch2[02,02]',
vendor: 'UIOT',
description: 'Automatically generated definition',
extend: [deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5}}), deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5}}), onOff({"powerOnBehavior":false,"endpointNames":["1","2","3","4","5"]})],
meta: {"multiEndpoint":true},
};
module.exports = definition;
这种该如何写配置表啊?
|