homebridge-melcloud-control 3.3.12-beta.3 → 3.3.12-beta.5
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/constants.json +0 -6
- package/src/deviceata.js +3 -3
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.5",
|
|
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/constants.json
CHANGED
package/src/deviceata.js
CHANGED
|
@@ -252,7 +252,7 @@ class DeviceAta extends EventEmitter {
|
|
|
252
252
|
const temperatureIncrement = deviceData.Device.TemperatureIncrement ?? 1;
|
|
253
253
|
const outdoorTemperature = deviceData.Device.OutdoorTemperature;
|
|
254
254
|
|
|
255
|
-
this.emit('message', `Target temp: ${
|
|
255
|
+
this.emit('message', `Target temp: ${setTemperature}`);
|
|
256
256
|
//accessory
|
|
257
257
|
this.accessory.presets = presetsOnServer;
|
|
258
258
|
this.accessory.hasAutomaticFanSpeed = hasAutomaticFanSpeed;
|
|
@@ -648,7 +648,7 @@ class DeviceAta extends EventEmitter {
|
|
|
648
648
|
const info4 = modelSupportsFanSpeed ? this.emit('message', `Current fan speed: ${CONSTANTS.AirConditioner.FanSpeed[actualFanSpeed]}`) : false;
|
|
649
649
|
const info5 = vaneHorizontalDirection !== null ? this.emit('message', `Vane horizontal: ${CONSTANTS.AirConditioner.HorizontalVane[vaneHorizontalDirection]}`) : false;
|
|
650
650
|
const info6 = vaneVerticalDirection !== null ? this.emit('message', `Vane vertical: ${CONSTANTS.AirConditioner.VerticalVane[vaneVerticalDirection]}`) : false;
|
|
651
|
-
const info7 = swingFunction ? this.emit('message', `Air direction: ${CONSTANTS.AirConditioner.AirDirection[this.accessory.swingMode
|
|
651
|
+
const info7 = swingFunction ? this.emit('message', `Air direction: ${CONSTANTS.AirConditioner.AirDirection[this.accessory.swingMode]}`) : false;
|
|
652
652
|
this.emit('message', `Temperature display unit: ${this.accessory.temperatureUnit}`);
|
|
653
653
|
this.emit('message', `Lock physical controls: ${this.accessory.lockPhysicalControl ? 'LOCKED' : 'UNLOCKED'}`);
|
|
654
654
|
};
|
|
@@ -922,7 +922,7 @@ class DeviceAta extends EventEmitter {
|
|
|
922
922
|
deviceData.Device.VaneVertical = value ? 7 : 0;
|
|
923
923
|
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.VaneHorizontal + CONSTANTS.AirConditioner.EffectiveFlags.VaneVertical;
|
|
924
924
|
await this.melCloudAta.send(deviceData);
|
|
925
|
-
const info = this.disableLogInfo ? false : this.emit('message', `Set air direction mode: ${CONSTANTS.AirConditioner.AirDirection[value
|
|
925
|
+
const info = this.disableLogInfo ? false : this.emit('message', `Set air direction mode: ${CONSTANTS.AirConditioner.AirDirection[value]}`);
|
|
926
926
|
} catch (error) {
|
|
927
927
|
this.emit('warn', `Set vane swing mode error: ${error}`);
|
|
928
928
|
};
|