Skip to content

Commit

Permalink
fix setValue Node interface check (close #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Oct 28, 2018
1 parent 93bc22c commit 8e1fb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/ccu-set-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = function (RED) {
createQueue(msg) {
const queue = [];
Object.keys(this.ccu.metadata.devices).forEach(iface => {
if (this.iface && iface === this.iface) {
if (this.iface && iface !== this.iface) {
return;
}
Object.keys(this.ccu.metadata.devices[iface]).forEach(address => {
Expand Down

0 comments on commit 8e1fb89

Please sign in to comment.