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.
- package/index.js +3 -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
|
|
101
|
+
const info = await deviceInfo.getInfo();
|
|
102
102
|
if (!info.serialNumber) {
|
|
103
|
-
|
|
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