homebridge-melcloud-control 3.3.12-beta.0 → 3.3.12-beta.1
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 +4 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.3.12-beta.
|
|
4
|
+
"version": "3.3.12-beta.1",
|
|
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
|
@@ -242,10 +242,12 @@ class DeviceAta extends EventEmitter {
|
|
|
242
242
|
const automaticFanSpeed = deviceData.Device.AutomaticFanSpeed;
|
|
243
243
|
const fanSpeed = deviceData.Device.FanSpeed;
|
|
244
244
|
const operationMode = deviceData.Device.OperationMode;
|
|
245
|
-
const vaneVerticalDirection = deviceData.Device.
|
|
246
|
-
const vaneVerticalSwing = deviceData.Device.
|
|
245
|
+
const vaneVerticalDirection = deviceData.Device.VaneVerticalDirection;
|
|
246
|
+
const vaneVerticalSwing = deviceData.Device.vaneVerticalSwing;
|
|
247
|
+
this.emit('message', `swing v: ${vaneVerticalSwing}`);
|
|
247
248
|
const vaneHorizontalDirection = deviceData.Device.VaneHorizontalDirection;
|
|
248
249
|
const vaneHorizontalSwing = deviceData.Device.VaneHorizontalSwing;
|
|
250
|
+
this.emit('message', `swing h: ${vaneHorizontalSwing}`);
|
|
249
251
|
const prohibitSetTemperature = deviceData.Device.ProhibitSetTemperature ?? false;
|
|
250
252
|
const prohibitOperationMode = deviceData.Device.ProhibitOperationMode ?? false;
|
|
251
253
|
const prohibitPower = deviceData.Device.ProhibitPower ?? false;
|