node-red-contrib-eztimer
Advanced tools
Comparing version 1.1.4 to 1.1.5
16
index.js
@@ -122,3 +122,3 @@ const util = require('util'); | ||
}() | ||
} | ||
}; | ||
if (config.timerType == '1') { | ||
@@ -128,3 +128,3 @@ // on/off timer | ||
property: 'msg.' + events.on.property, | ||
value: events.on.value | "<none>", | ||
value: events.on.value || "<none>", | ||
nextEvent: function() { | ||
@@ -136,6 +136,6 @@ if (isSuspended()) return 'suspended'; | ||
}() | ||
} | ||
}; | ||
ret.off = { | ||
property: 'msg.' + events.on.property, | ||
value: events.on.value | "<none>", | ||
property: 'msg.' + events.off.property, | ||
value: events.off.value || "<none>", | ||
nextEvent: function() { | ||
@@ -147,3 +147,3 @@ if (config.timerType == '2') return undefined; // Trigger | ||
}() | ||
} | ||
}; | ||
} else { | ||
@@ -153,3 +153,3 @@ // trigger | ||
property: 'msg.' + events.on.property, | ||
value: events.on.value | "<none>", | ||
value: events.on.value || "<none>", | ||
nextEvent: function() { | ||
@@ -161,3 +161,3 @@ if (isSuspended()) return 'suspended'; | ||
}() | ||
} | ||
}; | ||
} | ||
@@ -164,0 +164,0 @@ node.send({ |
{ | ||
"name": "node-red-contrib-eztimer", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "A simple-yet-flexible timer/scheduler for node-red", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -118,2 +118,5 @@ # eztimer | ||
# Change Log | ||
## 1.1.5 | ||
* Fixed some bugs introduced in the `info` message (displaying `on` and `off` values) [credit @Export33](https://github.com/mrgadget/node-red-contrib-eztimer/issues/18). | ||
## 1.1.4 | ||
@@ -120,0 +123,0 @@ * Added some rudimentary validation to lat/long and made the fields only visible when required (as suggested in [issue #15](https://github.com/mrgadget/node-red-contrib-eztimer/issues/13) by jhelmink). |
82433
183