homebridge-tasmota-control 1.4.1-beta.11 → 1.4.1-beta.12
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/package.json +1 -1
- package/src/sensors.js +2 -0
package/package.json
CHANGED
package/src/sensors.js
CHANGED
|
@@ -227,6 +227,7 @@ class Sensors extends EventEmitter {
|
|
|
227
227
|
const debug = this.enableDebugMode ? this.emit('debug', `Prepare Sensor Services`) : false;
|
|
228
228
|
|
|
229
229
|
//temperature
|
|
230
|
+
let i = 0;
|
|
230
231
|
for (const sensor of this.sensors) {
|
|
231
232
|
const sensorName = sensor.name;
|
|
232
233
|
if (sensor.temperature !== undefined) {
|
|
@@ -396,6 +397,7 @@ class Sensors extends EventEmitter {
|
|
|
396
397
|
});
|
|
397
398
|
this.sensorMotionServices.push(sensorMotionService);
|
|
398
399
|
}
|
|
400
|
+
i++;
|
|
399
401
|
}
|
|
400
402
|
}
|
|
401
403
|
|