Added xiaomi plug, changed xiaomi gateway into configurator
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
module.exports = function(RED) {
|
||||
|
||||
function XiaomiConfiguratorNode(n) {
|
||||
RED.nodes.createNode(this, n);
|
||||
this.name = n.name;
|
||||
this.deviceList = n.deviceList || [];
|
||||
|
||||
var node = this;
|
||||
}
|
||||
|
||||
RED.nodes.registerType("xiaomi-configurator", XiaomiConfiguratorNode);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user