feat(gateway): allow to change the light color
Major fix on devices, set output only when no payload.sid is present
This commit is contained in:
@@ -6,6 +6,7 @@ module.exports = function(RED) {
|
||||
this.deviceList = n.deviceList || [];
|
||||
this.key = n.key;
|
||||
this.ip = n.ip;
|
||||
this.sid = this.sid || n.sid;
|
||||
|
||||
var node = this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user