@evilbunny/node-red-contrib-zigbee2mqtt 3.2.9 → 3.2.11

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/api.html CHANGED
@@ -6,7 +6,7 @@
6
6
  // it exists only so the runtime side (api.js) can register its httpAdmin
7
7
  // routes as a normal, parseable node module.
8
8
  RED.nodes.registerType('zigbee2mqtt-eb-api', {
9
- category: '',
9
+ category: 'config',
10
10
  defaults: {},
11
11
  label: function () { return 'zigbee2mqtt-eb-api'; }
12
12
  });
package/api.js CHANGED
@@ -171,6 +171,6 @@ module.exports = function(RED) {
171
171
  RED.nodes.createNode(this, config);
172
172
  }
173
173
  RED.nodes.registerType('zigbee2mqtt-eb-api', Zigbee2mqttApiNode, {
174
- category: '' // empty category keeps it out of the palette
174
+ category: 'config' // config-type nodes are automatically excluded from the palette
175
175
  });
176
176
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "name": "@evilbunny/node-red-contrib-zigbee2mqtt",
7
7
  "description": "Fork of Zigbee2mqtt connectivity nodes for node-red",
8
- "version": "3.2.9",
8
+ "version": "3.2.11",
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
@@ -186,6 +186,7 @@ class Zigbee2MqttEditor {
186
186
  });
187
187
  }
188
188
  that.getDevicePropertyInput().multipleSelect('enable');
189
+ that.getDevicePropertyInput().multipleSelect('refresh'); // sync internal data model with the option elements just appended
189
190
 
190
191
  // restore previously-selected properties (supports legacy single-string values too)
191
192
  let selected = that.property;
@@ -201,8 +202,6 @@ class Zigbee2MqttEditor {
201
202
  });
202
203
  that.property = selected;
203
204
  that.getDevicePropertyInput().multipleSelect('setSelects', selected);
204
-
205
- that.getDevicePropertyInput().multipleSelect('refresh');
206
205
  }
207
206
 
208
207
  buildLabel(name, property, unit) {