homebridge-melcloud-control 4.2.5-beta.7 → 4.2.5-beta.8
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 +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.2.5-beta.
|
|
4
|
+
"version": "4.2.5-beta.8",
|
|
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
|
@@ -192,7 +192,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
192
192
|
};
|
|
193
193
|
method = 'POST';
|
|
194
194
|
path = ApiUrlsHome.PostProtectionFrost;
|
|
195
|
-
this.headers.Referer = ApiUrlsHome.Referers.PostProtectionFrost.replace('deviceid', deviceData.DeviceID);
|
|
195
|
+
//this.headers.Referer = ApiUrlsHome.Referers.PostProtectionFrost.replace('deviceid', deviceData.DeviceID);
|
|
196
196
|
break;
|
|
197
197
|
case 'overheatprotection':
|
|
198
198
|
payload = {
|
|
@@ -203,7 +203,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
203
203
|
};
|
|
204
204
|
method = 'POST';
|
|
205
205
|
path = ApiUrlsHome.PostProtectionOverheat;
|
|
206
|
-
this.headers.Referer = ApiUrlsHome.Referers.PostProtectionOverheat.replace('deviceid', deviceData.DeviceID);
|
|
206
|
+
//this.headers.Referer = ApiUrlsHome.Referers.PostProtectionOverheat.replace('deviceid', deviceData.DeviceID);
|
|
207
207
|
break;
|
|
208
208
|
case 'holidaymode':
|
|
209
209
|
payload = {
|
|
@@ -214,13 +214,13 @@ class MelCloudAta extends EventEmitter {
|
|
|
214
214
|
};
|
|
215
215
|
method = 'POST';
|
|
216
216
|
path = ApiUrlsHome.PostHolidayMode;
|
|
217
|
-
this.headers.Referer = ApiUrlsHome.Referers.PostHolidayMode.replace('deviceid', deviceData.DeviceID);
|
|
217
|
+
//this.headers.Referer = ApiUrlsHome.Referers.PostHolidayMode.replace('deviceid', deviceData.DeviceID);
|
|
218
218
|
break;
|
|
219
219
|
case 'schedule':
|
|
220
220
|
payload = { enabled: deviceData.ScheduleEnabled };
|
|
221
221
|
method = 'PUT';
|
|
222
222
|
path = ApiUrlsHome.PutScheduleEnabled.replace('deviceid', deviceData.DeviceID);
|
|
223
|
-
this.headers.Referer = ApiUrlsHome.Referers.PutScheduleEnabled.replace('deviceid', deviceData.DeviceID);
|
|
223
|
+
//this.headers.Referer = ApiUrlsHome.Referers.PutScheduleEnabled.replace('deviceid', deviceData.DeviceID);
|
|
224
224
|
break;
|
|
225
225
|
case 'scene':
|
|
226
226
|
method = 'PUT';
|