From d2f3b4affd9219bd1d644bc1b9dcec383238dac8 Mon Sep 17 00:00:00 2001 From: Just Jam Date: Thu, 17 Jul 2025 23:20:00 +0100 Subject: [PATCH 1/2] Fixed default check value to false --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index b4fc3d0..0101679 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,9 +66,9 @@ class PluginUpdatePlatform implements DynamicPlatformPlugin { this.isDocker = fs.existsSync('/homebridge/package.json') this.sensorInfo = this.getSensorInfo(this.config.sensorType) - this.checkHB = this.config.checkHomebridge || true; - this.checkHBUI = this.config.checkHomebridgeUI || true; - this.checkPlugins = this.config.checkPlugins || true; + this.checkHB = this.config.checkHomebridge || false; + this.checkHBUI = this.config.checkHomebridgeUI || false; + this.checkPlugins = this.config.checkPlugins || false; api.on(APIEvent.DID_FINISH_LAUNCHING, this.addUpdateAccessory.bind(this)) } From f8e707cd588ed67748aa5e3abfae9a73f32a05b5 Mon Sep 17 00:00:00 2001 From: Just Jam Date: Thu, 17 Jul 2025 23:25:23 +0100 Subject: [PATCH 2/2] Fixed default check value --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0101679..6322e78 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,9 +66,9 @@ class PluginUpdatePlatform implements DynamicPlatformPlugin { this.isDocker = fs.existsSync('/homebridge/package.json') this.sensorInfo = this.getSensorInfo(this.config.sensorType) - this.checkHB = this.config.checkHomebridge || false; - this.checkHBUI = this.config.checkHomebridgeUI || false; - this.checkPlugins = this.config.checkPlugins || false; + this.checkHB = this.config.checkHomebridge ?? false; + this.checkHBUI = this.config.checkHomebridgeUI ?? false; + this.checkPlugins = this.config.checkPlugins ?? false; api.on(APIEvent.DID_FINISH_LAUNCHING, this.addUpdateAccessory.bind(this)) } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy