homebridge-lib 6.3.2 → 6.3.3

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.
@@ -162,7 +162,7 @@ class PowerValue extends HistoryValue {
162
162
  constructor (parent, delegate) {
163
163
  super(parent, delegate)
164
164
  this._runningConsumption = 0 // 10-min-interval running value
165
- this._totalConsumption = parent.computedConsumptionDelegate.value
165
+ this._totalConsumption = parent.computedConsumptionDelegate.value * 100
166
166
  this._power = delegate.value // current power
167
167
  this._time = History.now() // start time of current power
168
168
  delegate.on('didSet', (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": "6.3.2",
6
+ "version": "6.3.3",
7
7
  "keywords": [
8
8
  "homekit",
9
9
  "homebridge"