homebridge-melcloud-control 4.1.3-beta.4 → 4.1.3-beta.5
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/melcloudata.js +1 -5
- package/src/melcloudatw.js +1 -5
- package/src/melclouderv.js +1 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.1.3-beta.
|
|
4
|
+
"version": "4.1.3-beta.5",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/melcloudata.js
CHANGED
|
@@ -237,11 +237,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
239
|
} catch (error) {
|
|
240
|
-
// Return 500 for schedule hovewer working correct
|
|
241
|
-
if (error?.response?.status === 500) {
|
|
242
|
-
return true;
|
|
243
|
-
}
|
|
244
|
-
|
|
240
|
+
if (error.response?.status === 500) return true; // Return 500 for schedule hovewer working correct
|
|
245
241
|
throw new Error(`Send data error: ${error.message}`);
|
|
246
242
|
}
|
|
247
243
|
}
|
package/src/melcloudatw.js
CHANGED
|
@@ -236,11 +236,7 @@ class MelCloudAtw extends EventEmitter {
|
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
238
|
} catch (error) {
|
|
239
|
-
// Return 500 for schedule hovewer working correct
|
|
240
|
-
if (error?.response?.status === 500) {
|
|
241
|
-
return true;
|
|
242
|
-
}
|
|
243
|
-
|
|
239
|
+
if (error.response?.status === 500) return true; // Return 500 for schedule hovewer working correct
|
|
244
240
|
throw new Error(`Send data error: ${error.message}`);
|
|
245
241
|
}
|
|
246
242
|
}
|
package/src/melclouderv.js
CHANGED
|
@@ -244,11 +244,7 @@ class MelCloudErv extends EventEmitter {
|
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
} catch (error) {
|
|
247
|
-
// Return 500 for schedule hovewer working correct
|
|
248
|
-
if (error?.response?.status === 500) {
|
|
249
|
-
return true;
|
|
250
|
-
}
|
|
251
|
-
|
|
247
|
+
if (error.response?.status === 500) return true; // Return 500 for schedule hovewer working correct
|
|
252
248
|
throw new Error(`Send data error: ${error.message}`);
|
|
253
249
|
}
|
|
254
250
|
}
|