homebridge-enphase-envoy 10.3.9-beta.2 → 10.3.9-beta.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Enphase Envoy",
4
4
  "name": "homebridge-enphase-envoy",
5
- "version": "10.3.9-beta.2",
5
+ "version": "10.3.9-beta.3",
6
6
  "description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
7
7
  "license": "MIT",
8
8
  "author": "grzegorz914",
@@ -2291,7 +2291,7 @@ export default (api) => {
2291
2291
  format: Formats.FLOAT,
2292
2292
  unit: 'W',
2293
2293
  maxValue: 1000000,
2294
- minValue: -1000000,
2294
+ minValue: 0,
2295
2295
  minStep: 0.001,
2296
2296
  perms: [Perms.PAIRED_READ, Perms.NOTIFY]
2297
2297
  });
@@ -3053,7 +3053,7 @@ class EnvoyDevice extends EventEmitter {
3053
3053
 
3054
3054
  // Create characteristics
3055
3055
  const characteristics = [
3056
- { type: Characteristic.EvePower, label: 'power', value: source.power, unit: 'W' },
3056
+ { type: Characteristic.EvePower, label: 'power', value: power, unit: 'W' },
3057
3057
  { type: Characteristic.EveEnergyLifetime, label: 'energy lifetime', value: source.energyLifetimeWithOffset, unit: 'kWh' },
3058
3058
  ];
3059
3059