homebridge-lib 5.2.1 → 5.2.2

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.
@@ -75,14 +75,15 @@ class Motion extends History {
75
75
  const now = Math.round(new Date().valueOf() / 1000)
76
76
  lastActivationDelegate.value = now - this._h.initialTime
77
77
  this._entry.status = value
78
- if (this._entry.temp != null) {
79
- const temp = this._entry.temp
80
- this._entry.temp = null
81
- this._addEntry(now)
82
- this._entry.temp = temp
83
- } else {
84
- this._addEntry(now)
85
- }
78
+ // Eve v5.4.2 fills in missing temperature at 0.00°C.
79
+ // if (this._entry.temp != null) {
80
+ // const temp = this._entry.temp
81
+ // this._entry.temp = null
82
+ // this._addEntry(now)
83
+ // this._entry.temp = temp
84
+ // } else {
85
+ this._addEntry(now)
86
+ // }
86
87
  })
87
88
  if (temperatureDelegate != null) {
88
89
  this._entry.temp = temperatureDelegate.value
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Library for homebridge plugins",
4
4
  "author": "Erik Baauw",
5
5
  "license": "Apache-2.0",
6
- "version": "5.2.1",
6
+ "version": "5.2.2",
7
7
  "keywords": [
8
8
  "homekit",
9
9
  "homebridge"