diff --git a/package.json b/package.json
index eefbe5b..584e0fe 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,11 @@
{
"name": "@vvzvlad/node-red-contrib-rn-combined-nodes",
- "version": "0.0.1",
+ "version": "0.0.7",
"description": "",
"main": "index.js",
- "keywords": [ "node-red" ],
+ "keywords": [
+ "node-red"
+ ],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -11,11 +13,11 @@
"type": "git",
"url": "https://gitea.vvzvlad.xyz/vvzvlad/node-red-contrib-rn-combined-nodes"
},
- "node-red" : {
+ "node-red": {
"nodes": {
- "thermostat": "thermostat.js"
+ "thermostat": "thermostat.js"
}
-},
+ },
"author": "vvzvlad",
"license": "ISC"
}
diff --git a/thermostat.html b/thermostat.html
index 2bda315..9847afe 100644
--- a/thermostat.html
+++ b/thermostat.html
@@ -1,7 +1,8 @@
-
-
+
diff --git a/thermostat.js b/thermostat.js
index 7bea76c..bdae994 100644
--- a/thermostat.js
+++ b/thermostat.js
@@ -7,13 +7,5 @@ module.exports = function(RED) {
node.send(msg);
});
}
- RED.nodes.registerType("thermostat",{
- "category": "thermostat",
- "defaults": {
- name: {
- value: "C-Thermostat"
- }
- }
- },
- );
+ RED.nodes.registerType("c-thermostat", thermostat );
}