homebridge-tauron-elicznik 0.0.2-beta40 → 0.0.2-beta41

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/index.js CHANGED
@@ -176,7 +176,7 @@ class eLicznikDevice {
176
176
  args: [this.user, this.passwd, this.meterId]
177
177
  };
178
178
 
179
- pyshell.PythonShell.run('elicznik.py', options, function (err, results) {
179
+ pyshell.PythonShell.run(__dirname + '/src/elicznik.py', options, function (err, results) {
180
180
  if (err) throw err;
181
181
  // results is an array consisting of messages collected during execution
182
182
  this.log('results: %j', results.toString());
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-beta40",
4
+ "version": "0.0.2-beta41",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -19,13 +19,13 @@
19
19
  },
20
20
  "main": "index.js",
21
21
  "files": [
22
+ "src",
22
23
  "index.js",
23
24
  "config.schema.json",
24
25
  "package.json",
25
26
  "CHANGELOG.md",
26
27
  "README.md",
27
- "LICENSE",
28
- "elicznik.py"
28
+ "LICENSE"
29
29
  ],
30
30
  "engines": {
31
31
  "node": ">=12.0.0",
File without changes