homebridge-melcloud-control 4.0.0-beta.532 → 4.0.0-beta.534
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 +1 -1
- package/package.json +1 -1
- package/src/deviceata.js +1 -1
- package/src/deviceatw.js +1 -1
- package/src/deviceerv.js +1 -1
package/index.js
CHANGED
|
@@ -199,7 +199,7 @@ class MelCloudPlatform {
|
|
|
199
199
|
if (logLevel.success) log.success(`${accountName}, ${deviceTypeText}, ${deviceName}, Published as external accessory.`);
|
|
200
200
|
|
|
201
201
|
//start impulse generators\
|
|
202
|
-
const timmers = accountType === 'melcloudhome' ? [{ name: 'connect', sampling:
|
|
202
|
+
const timmers = accountType === 'melcloudhome' ? [{ name: 'connect', sampling: 3300000 }, { name: 'checkDevicesList', sampling: deviceRefreshInterval }] : [{ name: 'checkDevicesList', sampling: refreshInterval }];
|
|
203
203
|
await melCloud.impulseGenerator.state(true, timmers, false);
|
|
204
204
|
await configuredDevice.startStopImpulseGenerator(true, [{ name: 'checkState', sampling: deviceRefreshInterval }]);
|
|
205
205
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.534",
|
|
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/deviceata.js
CHANGED
|
@@ -281,7 +281,7 @@ class DeviceAta extends EventEmitter {
|
|
|
281
281
|
return state;
|
|
282
282
|
})
|
|
283
283
|
.onSet(async (state) => {
|
|
284
|
-
if (!!state ===
|
|
284
|
+
if (!!state === this.accessory.power) return;
|
|
285
285
|
|
|
286
286
|
try {
|
|
287
287
|
deviceData.Device.Power = state ? true : false;
|
package/src/deviceatw.js
CHANGED
package/src/deviceerv.js
CHANGED
|
@@ -270,7 +270,7 @@ class DeviceErv extends EventEmitter {
|
|
|
270
270
|
return state;
|
|
271
271
|
})
|
|
272
272
|
.onSet(async (state) => {
|
|
273
|
-
if (!!state ===
|
|
273
|
+
if (!!state === this.accessory.power) return;
|
|
274
274
|
|
|
275
275
|
try {
|
|
276
276
|
deviceData.Device.Power = state ? true : false;
|