openhab-addons/bundles/org.openhab.transform.javas.../conf/transform/sum.js

3 lines
88 B
JavaScript

(function(i, a, b) {
return parseInt(i) + parseInt(a) + parseInt(b);
})(input, a, b)