homebridge-tasmota-control 1.4.0-beta.30 → 1.4.0-beta.32

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 +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -98,12 +98,13 @@ class tasmotaPlatform {
98
98
  const emitLog = disableLogError ? false : log.error(`Device: ${host} ${deviceName}, ${error}.`);
99
99
  });
100
100
 
101
- const info = await info.getInfo();
101
+ const info = await deviceInfo.getInfo();
102
102
  if (!info.serialNumber) {
103
- this.emit('warn', `Serial number not found`);
103
+ log.warn(`Serial number not found`);
104
104
  return;
105
105
  }
106
106
 
107
+ log.warn(info.deviceType);
107
108
  let device;
108
109
  switch (info.deviceType) {
109
110
  case 0://mielhvac
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tasmota Control",
3
3
  "name": "homebridge-tasmota-control",
4
- "version": "1.4.0-beta.30",
4
+ "version": "1.4.0-beta.32",
5
5
  "description": "Homebridge plugin to control Tasmota flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",