homebridge-tasmota-control 1.6.15-beta.11 → 1.6.15-beta.12
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/package.json +1 -1
- package/src/mielhvac.js +1 -1
package/package.json
CHANGED
package/src/mielhvac.js
CHANGED
|
@@ -1233,7 +1233,7 @@ class MiElHvac extends EventEmitter {
|
|
|
1233
1233
|
try {
|
|
1234
1234
|
//check device state
|
|
1235
1235
|
const checkState = await this.checkDeviceState();
|
|
1236
|
-
if(!checkState) return;
|
|
1236
|
+
if(!checkState) return null;
|
|
1237
1237
|
|
|
1238
1238
|
//connect to deice success
|
|
1239
1239
|
this.emit('success', `Connect Success`)
|