homebridge-melcloud-control 4.6.7-beta.8 → 4.6.7-beta.9
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/deviceatw.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": "4.6.7-beta.
|
|
4
|
+
"version": "4.6.7-beta.9",
|
|
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/deviceatw.js
CHANGED
|
@@ -1807,7 +1807,7 @@ class DeviceAtw extends EventEmitter {
|
|
|
1807
1807
|
let currentOperationMode = 0;
|
|
1808
1808
|
let targetOperationMode = 0;
|
|
1809
1809
|
let roomTemperature = null;
|
|
1810
|
-
let setTemperature =
|
|
1810
|
+
let setTemperature = null;
|
|
1811
1811
|
let lockPhysicalControl = 0;
|
|
1812
1812
|
let operationModeSetPropsMinValue = 0;
|
|
1813
1813
|
let operationModeSetPropsMaxValue = 0;
|
|
@@ -1925,7 +1925,8 @@ class DeviceAtw extends EventEmitter {
|
|
|
1925
1925
|
{ type: Characteristic.TemperatureDisplayUnits, value: obj.useFahrenheit }
|
|
1926
1926
|
);
|
|
1927
1927
|
|
|
1928
|
-
if (heatCoolModes === 0 || heatCoolModes ===
|
|
1928
|
+
if (heatCoolModes === 0 || heatCoolModes === 1) characteristics.push({ type: Characteristic.HeatingThresholdTemperature, value: setTemperature });
|
|
1929
|
+
if ((heatCoolModes === 0 || heatCoolModes === 2) && i !== caseHotWater) characteristics.push({ type: Characteristic.CoolingThresholdTemperature, value: setTemperature });
|
|
1929
1930
|
break;
|
|
1930
1931
|
case 2: //Thermostat
|
|
1931
1932
|
switch (i) {
|
|
@@ -2152,7 +2153,6 @@ class DeviceAtw extends EventEmitter {
|
|
|
2152
2153
|
break;
|
|
2153
2154
|
}
|
|
2154
2155
|
|
|
2155
|
-
|
|
2156
2156
|
//add every sensor to array
|
|
2157
2157
|
const sensor = {
|
|
2158
2158
|
name: name,
|