From cb3430529cf4d68ec90a259afc7d100c87d0496e Mon Sep 17 00:00:00 2001 From: Kjell Randa Date: Sun, 18 Aug 2024 23:51:32 +0200 Subject: [PATCH] Fix spelling errors --- Gulen/NodeRed/dehumidifierControl.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gulen/NodeRed/dehumidifierControl.js b/Gulen/NodeRed/dehumidifierControl.js index c2b4c2e..6121fb5 100644 --- a/Gulen/NodeRed/dehumidifierControl.js +++ b/Gulen/NodeRed/dehumidifierControl.js @@ -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]; \ No newline at end of file