16 lines
349 B
JavaScript
16 lines
349 B
JavaScript
module.exports = function(RED) {
|
|
|
|
function XiaomiConfiguratorNode(n) {
|
|
RED.nodes.createNode(this, n);
|
|
this.name = n.name;
|
|
this.deviceList = n.deviceList || [];
|
|
this.key = n.key;
|
|
this.ip = n.ip;
|
|
|
|
var node = this;
|
|
}
|
|
|
|
RED.nodes.registerType("xiaomi-configurator", XiaomiConfiguratorNode);
|
|
|
|
}
|