homebridge-tauron-elicznik 0.0.3-beta.2 → 0.0.3-beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -238,8 +238,8 @@ class eLicznikDevice {
238
238
  //Prepare service
239
239
  this.log.debug('prepareTauroneLicznikService');
240
240
  //power and energy
241
- this.tauroneLicznikService = new Service.tauroneLicznikEnergyService(`Meter ${this.meterId}`, 'tauroneLicznikEnergyService');
242
- this.tauroneLicznikService.getCharacteristic(Characteristic.tauroneLicznikEnergyImport)
241
+ this.tauroneLicznikEnergyService = new Service.tauroneLicznikEnergyService(`Meter ${this.meterId}`, 'tauroneLicznikEnergyService');
242
+ this.tauroneLicznikEnergyService.getCharacteristic(Characteristic.tauroneLicznikEnergyImport)
243
243
  .onGet(async () => {
244
244
  const value = this.energyImport;
245
245
  if (!this.disableLogInfo) {
@@ -247,7 +247,7 @@ class eLicznikDevice {
247
247
  }
248
248
  return value;
249
249
  });
250
- this.tauroneLicznikService.getCharacteristic(Characteristic.tauroneLicznikEnergyExport)
250
+ this.tauroneLicznikEnergyService.getCharacteristic(Characteristic.tauroneLicznikEnergyExport)
251
251
  .onGet(async () => {
252
252
  const value = this.energyExport;
253
253
  if (!this.disableLogInfo) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tauron eLicznik",
3
3
  "name": "homebridge-tauron-elicznik",
4
- "version": "0.0.3-beta.2",
4
+ "version": "0.0.3-beta.3",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",