Skip to content

Commit 70a2b43

Browse files
committed
set connections to 0 at boot
1 parent 7630959 commit 70a2b43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/accessories/Accessory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default class Accessory {
3333
this.logPath = path.join(this.projectDir, device.blid + '.log');
3434
this.cachePath = path.join(this.projectDir, device.blid + '.cache.json');
3535
this.generalLogPath = path.join(this.projectDir, 'General.log');
36+
accessory.context.connections = 0;
3637

3738
if (!fs.existsSync(this.projectDir)) {
3839
fs.mkdirSync(this.projectDir);

0 commit comments

Comments
 (0)