@bldgblocks/node-red-contrib-control 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,7 +137,7 @@ module.exports = function(RED) {
137
137
  send(msg);
138
138
 
139
139
  // Start filter period if applicable
140
- if (period > 0) {
140
+ if (node.runtime.period > 0) {
141
141
  node.runtime.blockTimer = setTimeout(() => {
142
142
  node.runtime.blockTimer = null;
143
143
  if (node.runtime.pendingMsg) {
@@ -161,7 +161,7 @@ module.exports = function(RED) {
161
161
  } else {
162
162
  node.status({});
163
163
  }
164
- }, period);
164
+ }, node.runtime.period);
165
165
  }
166
166
  } else {
167
167
  node.status({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bldgblocks/node-red-contrib-control",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Sedona-inspired control nodes for Node-RED",
5
5
  "keywords": [ "node-red", "sedona", "control", "hvac" ],
6
6
  "files": ["nodes/*.js", "nodes/*.html"],