homebridge-melcloud-control 4.1.2-beta.17 → 4.1.2-beta.18
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/melcloud.js +3 -3
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.2-beta.
|
|
4
|
+
"version": "4.1.2-beta.18",
|
|
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/melcloud.js
CHANGED
|
@@ -289,17 +289,17 @@ class MelCloud extends EventEmitter {
|
|
|
289
289
|
const capitalizedRest = { ...rest };
|
|
290
290
|
|
|
291
291
|
if (capitalizedRest.frostProtection) {
|
|
292
|
-
capitalizedRest.FrostProtection =
|
|
292
|
+
capitalizedRest.FrostProtection = { ...capitalizeKeys(device.frostProtection || {}) };
|
|
293
293
|
delete capitalizedRest.frostProtection;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
if (capitalizedRest.overheatProtection) {
|
|
297
|
-
capitalizedRest.OverheatProtection =
|
|
297
|
+
capitalizedRest.OverheatProtection = { ...capitalizeKeys(device.overheatProtection || {}) };
|
|
298
298
|
delete capitalizedRest.overheatProtection;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
if (capitalizedRest.holidayMode) {
|
|
302
|
-
capitalizedRest.HolidayMode =
|
|
302
|
+
capitalizedRest.HolidayMode = { ...capitalizeKeys(device.HolidayMode || {}) };
|
|
303
303
|
delete capitalizedRest.holidayMode;
|
|
304
304
|
}
|
|
305
305
|
|