homebridge-rtl 0.0.32 → 0.0.33

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sensor.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-rtl",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "RTL_433 based sensor for Homebridge",
5
5
  "main": "sensor.js",
6
6
  "scripts": {
package/sensor.js CHANGED
@@ -294,7 +294,8 @@ Rtl433Accessory.prototype = {
294
294
  this.sensorService.log = this.log;
295
295
  this.loggingService = new FakeGatoHistoryService("weather", this.sensorService, {
296
296
  storage: this.storage,
297
- minutes: this.refresh * 10 / 60
297
+ minutes: this.refresh * 10 / 60,
298
+ disableRepeatLastData: true
298
299
  });
299
300
  if (this.alarm !== undefined) {
300
301
  this.alarmService = new Service.ContactSensor(this.name + " Alarm");
@@ -321,7 +322,8 @@ Rtl433Accessory.prototype = {
321
322
  this.sensorService.log = this.log;
322
323
  this.loggingService = new FakeGatoHistoryService("weather", this.sensorService, {
323
324
  storage: this.storage,
324
- minutes: this.refresh * 10 / 60
325
+ minutes: this.refresh * 10 / 60,
326
+ disableRepeatLastData: true
325
327
  });
326
328
  if (this.alarm !== undefined) {
327
329
  this.alarmService = new Service.ContactSensor(this.name + " Alarm");