node-red-contrib-homekit-bridged 1.7.1 → 1.7.2
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/build/nodes/nrchkb.html +5 -5
- package/package.json +1 -1
package/build/nodes/nrchkb.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
dataType: 'json',
|
|
24
24
|
async: false,
|
|
25
25
|
success: function (data) {
|
|
26
|
-
|
|
26
|
+
nrchkbConfig = data
|
|
27
27
|
},
|
|
28
28
|
})
|
|
29
29
|
|
|
@@ -279,8 +279,8 @@
|
|
|
279
279
|
sortable: true
|
|
280
280
|
})
|
|
281
281
|
|
|
282
|
-
for (let i = 0; i <
|
|
283
|
-
const customCharacteristic =
|
|
282
|
+
for (let i = 0; i < nrchkbConfig.customCharacteristics.length; i++) {
|
|
283
|
+
const customCharacteristic = nrchkbConfig.customCharacteristics[i]
|
|
284
284
|
$('#node-input-customCharacteristics-container').editableList('addItem', customCharacteristic)
|
|
285
285
|
}
|
|
286
286
|
},
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
let accessoryCategories
|
|
313
313
|
let nrchkbVersion = '0.0.0'
|
|
314
314
|
let nrchkbExperimental = false
|
|
315
|
-
let
|
|
315
|
+
let nrchkbConfig = {}
|
|
316
316
|
|
|
317
317
|
//HomeKit Service Types
|
|
318
318
|
$.getJSON('nrchkb/service/types', function (data) {
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
})
|
|
394
394
|
})
|
|
395
395
|
|
|
396
|
-
|
|
396
|
+
nrchkbConfig.customCharacteristics = customCharacteristics
|
|
397
397
|
|
|
398
398
|
$.ajax({
|
|
399
399
|
type: 'POST',
|