homebridge-august
Advanced tools
Comparing version 0.1.0-beta.25 to 0.1.0-beta.26
@@ -99,10 +99,10 @@ "use strict"; | ||
} | ||
if (this.config.options.logging) { | ||
if (this.config.options.logging && this.config.options.refreshRate) { | ||
platformConfig['refreshRate'] = this.config.options.refreshRate; | ||
} | ||
if (this.config.options.logging) { | ||
if (this.config.options.logging && this.config.options.pushRate) { | ||
platformConfig['pushRate'] = this.config.options.pushRate; | ||
} | ||
if (Object.entries(platformConfig).length !== 0) { | ||
this.warnLog(`Platform Config: ${(0, super_stringify_1.default)(platformConfig)}`); | ||
this.infoLog(`Platform Config: ${(0, super_stringify_1.default)(platformConfig)}`); | ||
} | ||
@@ -160,3 +160,6 @@ if (!this.config.options.refreshRate) { | ||
if (!this.config.options?.devices) { | ||
this.debugLog(`August Platform Config Not Set: ${(0, super_stringify_1.default)(this.config.options?.devices)}`); | ||
if (this.platformLogging.includes('debug')) { | ||
this.debugLog(`August Platform Config Not Set: ${(0, super_stringify_1.default)(this.config.options?.devices)}`); | ||
} | ||
this.errorLog(`COPY THIS LOG: ${deviceLists}`); | ||
const devices = deviceLists.map((v) => v); | ||
@@ -172,3 +175,5 @@ for (const device of devices) { | ||
else if (this.config.options.devices) { | ||
this.warnLog(`August Platform Config Set: ${(0, super_stringify_1.default)(this.config.options?.devices)}`); | ||
if (this.platformLogging.includes('debug')) { | ||
this.warnLog(`August Platform Config Set: ${(0, super_stringify_1.default)(this.config.options?.devices)}`); | ||
} | ||
const deviceConfigs = this.config.options?.devices; | ||
@@ -175,0 +180,0 @@ const mergeBylockId = (a1, a2) => a1.map((itm) => ({ |
{ | ||
"displayName": "Homebridge August", | ||
"name": "homebridge-august", | ||
"version": "0.1.0-beta.25", | ||
"version": "0.1.0-beta.26", | ||
"description": "The [Homebridge](https://homebridge.io) August plugin allows you to access your [August](https://august.com) & [Yale](https://shopyalehome.com) device(s) from HomeKit.", | ||
@@ -6,0 +6,0 @@ "author": "donavanbecker", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126655
1292