homebridge-tauron-elicznik 0.0.2-beta35 → 0.0.2-beta36

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const path = require('path');
4
4
  const fs = require('fs');
5
5
  const fsPromises = require('fs').promises;
6
- const PythonShell = require('python-shell');
6
+ const pyshell = require('python-shell');
7
7
 
8
8
  const PLUGIN_NAME = 'homebridge-tauron-elicznik';
9
9
  const PLATFORM_NAME = 'tauroneLicznik';
@@ -177,7 +177,7 @@ class eLicznikDevice {
177
177
  args: [this.user, this.passwd, this.meterId]
178
178
  };
179
179
 
180
- PythonShell.run('elicznik.py', options, function (err, results) {
180
+ pyshell.PythonShell.run('elicznik.py', options, function (err, results) {
181
181
  if (err) throw err;
182
182
  // results is an array consisting of messages collected during execution
183
183
  console.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-beta35",
4
+ "version": "0.0.2-beta36",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",