homebridge-tauron-elicznik 0.0.2-beta73 → 0.0.2-beta74

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.
Files changed (2) hide show
  1. package/index.js +1 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -193,11 +193,7 @@ class eLicznikDevice {
193
193
  try {
194
194
  const url = CHARTS_URL + '?dane[chartYear]=2021&dane[paramType]=year&dane[checkOZE]=on&dane[smartNr]=' + this.meterId;
195
195
 
196
- const options = {
197
- method: 'POST',
198
- url: url
199
- };
200
- const response = await this.tauronAuth.request(options);
196
+ const response = await this.tauronAuth.request(url);
201
197
 
202
198
  this.log('11112222', response.data);
203
199
  const energyImport = 0;
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.2-beta73",
4
+ "version": "0.0.2-beta74",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",