Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellRanda committed Aug 18, 2024
1 parent 199c75f commit cb34305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gulen/NodeRed/dehumidifierControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ let msg1 = {};
let msg2 = {};
msg1.payload = {"operation":"GET","schema":true};
if (humid > HIGH ) {
node.log("Humidity in basement high. Turning dedumidifier on")
node.log("Humidity in basement high. Turning dehumidifier on.")
msg2.payload = {"operation": "SET", "dps": 1, "set": true};
}
else if (humid < LOW) {
node.log("Humidity in basement low. Turning dedumidifier off")
node.log("Humidity in basement low. Turning dehumidifier off.")
msg2.payload = {"operation": "SET", "dps": 1, "set": false};
} else {
node.log("Humidity in basement within limits")
node.log("Humidity in basement within limits.")
return msg1;
}
return [msg1,msg2];

0 comments on commit cb34305

Please sign in to comment.