Skip to content

Commit 9d3965d

Browse files
committed
Convert probing activate flag to deactivate flag (#308)
1 parent 0b77406 commit 9d3965d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"allowAMASerial": false,
2323
"showAging": false,
2424
"debug": "",
25-
"probing": true
25+
"deactivateProbing": false
2626
},
2727
"schema": {
2828
"type": "object",
@@ -52,9 +52,9 @@
5252
"title": "Show Aging",
5353
"description": "experimental - Creates an additional 'Last seen' property to show when each device was last active on the Zigbee network"
5454
},
55-
"probing": {
55+
"deactivateProbing": {
5656
"type": "boolean",
57-
"title": "Automatic probing of the serial ports"
57+
"title": "Deactivate automatic probing of the serial ports"
5858
},
5959
"sticks": {
6060
"type": "array",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ async function loadZigbeeAdapters(addonManager, _, errorCallback) {
260260
}
261261
}
262262

263-
if (config.probing) {
263+
if (!config.deactivateProbing) {
264264
console.log('Probing serial ports');
265265

266266
const { DEBUG_serialProber } = require('./zb-debug').default;

0 commit comments

Comments
 (0)