Bump version to 0.2.3

This commit is contained in:
vvzvlad 2023-10-03 17:23:54 +03:00
parent 96282ea333
commit efa187466d
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.2.2", "version": "0.2.3",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [

View File

@ -120,6 +120,8 @@ module.exports = function(RED) {
} }
node.on('input', function(msg) { node.on('input', function(msg) {
let msg_current_temp
let msg_state_text
if (msg.payload.heater_status === null && typeof msg.payload.heater_status === "undefined") msg_state_text = null if (msg.payload.heater_status === null && typeof msg.payload.heater_status === "undefined") msg_state_text = null
else msg_state_text = { payload: status_reason(msg) } else msg_state_text = { payload: status_reason(msg) }