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 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tasmota Control",
3
3
  "name": "homebridge-tasmota-control",
4
- "version": "1.4.0-beta.25",
4
+ "version": "1.4.0-beta.26",
5
5
  "description": "Homebridge plugin to control Tasmota flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
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.info.sensorsCount}`);
369
+ this.emit('devInfo', `Sensors: ${this.sensorsCount}`);
370
370
  this.emit('devInfo', `----------------------------------`);
371
371
  }
372
372