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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|