Bump version to 0.2.5

This commit is contained in:
vvzvlad 2023-10-03 17:32:41 +03:00
parent 9fa8ffbe28
commit bc25c18a57
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -129,8 +129,8 @@ module.exports = function(RED) {
if (msg.payload.current_temp === null && typeof msg.payload.current_temp === "undefined") msg_current_temp = null
else msg_current_temp = { payload: get_current_temp(msg) }
let key = "fake"
let msg_mqtt_debug = { payload: analyzer(msg), topic: `debug/${msg.topic}/th/${key}`}
let stats = analyzer(msg)
let msg_mqtt_debug = { payload: JSON.stringify(stats), topic: `debug/${msg.topic}/th`}
node.send([msg_mqtt_debug, msg_state_text, msg_current_temp]);
});