homebridge-melcloud-control 4.3.2-beta.15 → 4.3.2-beta.16
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 +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.3.2-beta.
|
|
4
|
+
"version": "4.3.2-beta.16",
|
|
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
|
@@ -127,8 +127,8 @@ class MelCloudAta extends EventEmitter {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
//check state changes
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
130
|
+
const deviceDataNotChanged = JSON.stringify(deviceData) === JSON.stringify(this.deviceData);
|
|
131
|
+
if (deviceDataNotChanged) return;
|
|
132
132
|
|
|
133
133
|
//emit info
|
|
134
134
|
this.emit('deviceInfo', indoor.model, outdoor.model, serialNumber, firmwareAppVersion);
|