node-red-contrib-knx-ultimate 2.4.14 → 2.4.15

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
@@ -6,7 +6,7 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
- **Version 2.4.14** - April 2024<br/>
9
+ **Version 2.4.15** - April 2024<br/>
10
10
  - Warning: this version uses the Node-Red plugin system; the Node-Red version must be **equals or major than 3.1.1**<br/>
11
11
  - NEW: Home Assistant translator node: translates the HA input msg, to a KNX value. Comes with a built-in translation table, that's user editable.<br/>
12
12
  - NEW: HUE Contact Sensor node.<br/>
@@ -63,24 +63,6 @@
63
63
  return i == aSearchWords.length;
64
64
  }
65
65
 
66
- // Backward compatibility
67
- if (node.outputRBE === true) {
68
- node.outputRBE = 'true';
69
- $("#node-input-outputRBE").val("true")
70
- }
71
- if (node.outputRBE === false) {
72
- node.outputRBE = 'false';
73
- $("#node-input-outputRBE").val("false")
74
- }
75
- if (node.inputRBE === true) {
76
- node.inputRBE = 'true';
77
- $("#node-input-inputRBE").val("true")
78
- }
79
- if (node.inputRBE === false) {
80
- node.inputRBE = 'false';
81
- $("#node-input-inputRBE").val("false")
82
- }
83
-
84
66
 
85
67
  // 15/09/2020 Supergiovane, set the help sample based on Datapoint
86
68
  function knxUltimateDptsGetHelp(_dpt, _forceClose) {
@@ -117,6 +99,24 @@
117
99
  }
118
100
 
119
101
  function checkUI() {
102
+ // Backward compatibility
103
+ if (node.outputRBE === true) {
104
+ node.outputRBE = 'true';
105
+ $("#node-input-outputRBE").val("true")
106
+ }
107
+ if (node.outputRBE === false) {
108
+ node.outputRBE = 'false';
109
+ $("#node-input-outputRBE").val("false")
110
+ }
111
+ if (node.inputRBE === true) {
112
+ node.inputRBE = 'true';
113
+ $("#node-input-inputRBE").val("true")
114
+ }
115
+ if (node.inputRBE === false) {
116
+ node.inputRBE = 'false';
117
+ $("#node-input-inputRBE").val("false")
118
+ }
119
+
120
120
  oNodeServer = RED.nodes.node($("#node-input-server").val());
121
121
  if (oNodeServer === undefined) {
122
122
  // Show the DEPLOY FIRST message
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=16.0.0"
5
5
  },
6
- "version": "2.4.14",
6
+ "version": "2.4.15",
7
7
  "description": "Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer. Easy to use and highly configurable.",
8
8
  "dependencies": {
9
9
  "binary-parser": "2.2.1",