Bump version to 0.1.10

This commit is contained in:
vvzvlad 2023-10-03 16:39:56 +03:00
parent a7dc699637
commit e11f156961
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@vvzvlad/node-red-contrib-rn-combined-nodes", "name": "@vvzvlad/node-red-contrib-rn-combined-nodes",
"version": "0.1.9", "version": "0.1.10",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [

View File

@ -138,7 +138,9 @@ module.exports = function(RED) {
if (mqtt_control[1] === "window_mode_control" || mqtt_control[1] === "heat_mode_control") { if (mqtt_control[1] === "window_mode_control" || mqtt_control[1] === "heat_mode_control") {
topic = mqtt_control[1] topic = mqtt_control[1]
} }
else return
} }
else return
} }
if (topic === "window_mode_control" && (payload === "cool" || payload === "heat" || payload === "off")) { if (topic === "window_mode_control" && (payload === "cool" || payload === "heat" || payload === "off")) {