node-red-contrib-boolean-logic-ultimate 1.1.7 → 1.1.8
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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
# CHANGELOG
|
|
5
5
|
|
|
6
|
+
<p>
|
|
7
|
+
<b>Version 1.1.7</b> Mai 2024<br/>
|
|
8
|
+
- FIX Comparator node: fixed wrong results using minor and major comparator.</br>
|
|
9
|
+
</p>
|
|
6
10
|
<p>
|
|
7
11
|
<b>Version 1.1.7</b> April 2024<br/>
|
|
8
12
|
- Math node: <b>BREAKING CHANGE</b>: in SUBTRACT mode, now you must set a msg.topic to start subtracting from.</br>
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
<select type="text" id="node-input-math" placeholder="">
|
|
61
61
|
<option value="===">=== (equals)</option>
|
|
62
62
|
<option value="!==">!== (not equals)</option>
|
|
63
|
-
<option value="
|
|
64
|
-
<option value="
|
|
63
|
+
<option value=">">></option>
|
|
64
|
+
<option value="<"><</option>
|
|
65
65
|
<option value=">=">>=</option>
|
|
66
66
|
<option value="<="><=</option>
|
|
67
67
|
</select>
|
|
@@ -66,7 +66,6 @@ module.exports = function (RED) {
|
|
|
66
66
|
if (ret !== undefined) {
|
|
67
67
|
ret = Number(ret);
|
|
68
68
|
|
|
69
|
-
// Sum
|
|
70
69
|
if (!isNaN(ret) && isFinite(ret)) {
|
|
71
70
|
if (msg.topic === node.config.topic1) node.topic1Value = ret;
|
|
72
71
|
if (msg.topic === node.config.topic2) node.topic2Value = ret;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|--|--|
|
|
75
75
|
| Input | It's the msg property to be evaluated. *By default, it is *payload*, but you can also specify other properties, for example "payload.value"* |
|
|
76
76
|
| Operation | Operation to be performed. |
|
|
77
|
-
| Subtract from | Only visible when the *operation* is **subtract**.
|
|
77
|
+
| Subtract from | Only visible when the *operation* is **subtract**. It's the *msg.topic* of the message containing the value from wich start subtracting. |
|
|
78
78
|
|
|
79
79
|
<br/>
|
|
80
80
|
<br/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-boolean-logic-ultimate",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.",
|
|
5
5
|
"author": "Supergiovane (https://github.com/Supergiovane)",
|
|
6
6
|
"dependencies": {
|