From e11f15696147a3fcb15f4c6881cf113c575673d4 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Tue, 3 Oct 2023 16:39:56 +0300 Subject: [PATCH] Bump version to 0.1.10 --- package.json | 2 +- thermostat.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d92c6f3..a136436 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vvzvlad/node-red-contrib-rn-combined-nodes", - "version": "0.1.9", + "version": "0.1.10", "description": "", "main": "index.js", "keywords": [ diff --git a/thermostat.js b/thermostat.js index 4ca0c3d..0e51ade 100644 --- a/thermostat.js +++ b/thermostat.js @@ -138,7 +138,9 @@ module.exports = function(RED) { if (mqtt_control[1] === "window_mode_control" || mqtt_control[1] === "heat_mode_control") { topic = mqtt_control[1] } + else return } + else return } if (topic === "window_mode_control" && (payload === "cool" || payload === "heat" || payload === "off")) {