homebridge-tasmota-control 1.4.0-beta.25 → 1.4.0-beta.26
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/index.js +1 -0
- package/package.json +1 -1
- package/src/lights.js +1 -1
package/index.js
CHANGED
|
@@ -51,6 +51,7 @@ class tasmotaPlatform {
|
|
|
51
51
|
const passwd = deviceConfig.passwd || '';
|
|
52
52
|
const refreshInterval = deviceConfig.refreshInterval * 1000 || 5000;
|
|
53
53
|
const enableDebugMode = deviceConfig.enableDebugMode || false;
|
|
54
|
+
this.enableDebugMode = enableDebugMode;
|
|
54
55
|
const disableLogDeviceInfo = deviceConfig.disableLogDeviceInfo || false;
|
|
55
56
|
const disableLogInfo = deviceConfig.disableLogInfo || false;
|
|
56
57
|
const disableLogSuccess = deviceConfig.disableLogSuccess || false;
|
package/package.json
CHANGED
package/src/lights.js
CHANGED
|
@@ -366,7 +366,7 @@ class TasmotaDevice extends EventEmitter {
|
|
|
366
366
|
this.emit('devInfo', `Serialnr: ${this.info.serialNumber}`)
|
|
367
367
|
this.emit('devInfo', `Firmware: ${this.info.firmwareRevision}`);
|
|
368
368
|
this.emit('devInfo', `Relays: ${this.info.relaysCount}`);
|
|
369
|
-
this.emit('devInfo', `Sensors: ${this.
|
|
369
|
+
this.emit('devInfo', `Sensors: ${this.sensorsCount}`);
|
|
370
370
|
this.emit('devInfo', `----------------------------------`);
|
|
371
371
|
}
|
|
372
372
|
|