node-red-contrib-boolean-logic-ultimate 1.1.22 → 1.1.23
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
|
@@ -72,10 +72,8 @@ module.exports = function (RED) {
|
|
|
72
72
|
|
|
73
73
|
let moltiplicazione = 1;
|
|
74
74
|
node.topics.forEach((item) => {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
++quantita;
|
|
78
|
-
}
|
|
75
|
+
moltiplicazione *= item.val;
|
|
76
|
+
++quantita;
|
|
79
77
|
});
|
|
80
78
|
msg.payload = moltiplicazione; // Sum
|
|
81
79
|
msg.average = moltiplicazione / quantita; // Average
|
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.23",
|
|
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": {
|