homebridge-melcloud-control 4.2.3-beta.11 → 4.2.3-beta.13
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/deviceata.js +3 -0
- package/src/melcloudata.js +0 -5
- package/src/melcloudatw.js +0 -5
- package/src/melclouderv.js +0 -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.2.3-beta.
|
|
4
|
+
"version": "4.2.3-beta.13",
|
|
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
|
@@ -381,6 +381,9 @@ class DeviceAta extends EventEmitter {
|
|
|
381
381
|
};
|
|
382
382
|
});
|
|
383
383
|
this.melCloudService.getCharacteristic(Characteristic.CurrentTemperature)
|
|
384
|
+
.setProps({
|
|
385
|
+
minStep: this.accessory.temperatureStep
|
|
386
|
+
})
|
|
384
387
|
.onGet(async () => {
|
|
385
388
|
const value = this.accessory.roomTemperature;
|
|
386
389
|
return value;
|
package/src/melcloudata.js
CHANGED
|
@@ -112,11 +112,6 @@ class MelCloudAta extends EventEmitter {
|
|
|
112
112
|
this.emit('mqtt', 'State', deviceData.Device);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
//check state changes
|
|
116
|
-
const deviceDataHasNotChanged = JSON.stringify(deviceData) === JSON.stringify(this.deviceData);
|
|
117
|
-
if (deviceDataHasNotChanged) return;
|
|
118
|
-
this.deviceData = deviceData;
|
|
119
|
-
|
|
120
115
|
//emit info
|
|
121
116
|
this.emit('deviceInfo', manufacturer, indoor.model, outdoor.model, serialNumber, firmwareAppVersion);
|
|
122
117
|
|
package/src/melcloudatw.js
CHANGED
|
@@ -103,11 +103,6 @@ class MelCloudAtw extends EventEmitter {
|
|
|
103
103
|
this.emit('mqtt', 'State', deviceData.Device);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
//check state changes
|
|
107
|
-
const deviceDataHasNotChanged = JSON.stringify(devicesData) === JSON.stringify(this.devicesData);
|
|
108
|
-
if (deviceDataHasNotChanged) return;
|
|
109
|
-
this.devicesData = devicesData;
|
|
110
|
-
|
|
111
106
|
//emit info
|
|
112
107
|
this.emit('deviceInfo', manufacturer, indoor.model, outdoor.model, serialNumber, firmwareAppVersion, hasHotWaterTank, hasZone2);
|
|
113
108
|
|
package/src/melclouderv.js
CHANGED
|
@@ -106,11 +106,6 @@ class MelCloudErv extends EventEmitter {
|
|
|
106
106
|
this.emit('mqtt', 'State', deviceData.Device);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
//check state changes
|
|
110
|
-
const deviceDataHasNotChanged = JSON.stringify(devicesData) === JSON.stringify(this.devicesData);
|
|
111
|
-
if (deviceDataHasNotChanged) return;
|
|
112
|
-
this.devicesData = devicesData;
|
|
113
|
-
|
|
114
109
|
//emit info
|
|
115
110
|
this.emit('deviceInfo', manufacturer, indoor.model, outdoor.model, serialNumber, firmwareAppVersion);
|
|
116
111
|
|