homebridge-melcloud-control 4.2.2-beta.12 → 4.2.2-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.2.2-beta.12",
4
+ "version": "4.2.2-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
@@ -665,7 +665,7 @@ class DeviceAta extends EventEmitter {
665
665
  this.inStandbyService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} In Standby`);
666
666
  this.inStandbyService.getCharacteristic(Characteristic.ContactSensorState)
667
667
  .onGet(async () => {
668
- const state = this.accessory.isConnected;
668
+ const state = this.accessory.inStandbyMode;
669
669
  return state;
670
670
  })
671
671
  accessory.addService(this.inStandbyService);
@@ -1290,7 +1290,7 @@ class DeviceAta extends EventEmitter {
1290
1290
 
1291
1291
  //device state
1292
1292
  const power = deviceData.Device.Power ?? false;
1293
- const inStandbyMode = !deviceData.Device.InStandbyMode;
1293
+ const inStandbyMode = deviceData.Device.InStandbyMode;
1294
1294
  const roomTemperature = deviceData.Device.RoomTemperature;
1295
1295
  const setTemperature = deviceData.Device.SetTemperature;
1296
1296
  const defaultHeatingSetTemperature = deviceData.Device.DefaultHeatingSetTemperature;
package/src/deviceatw.js CHANGED
@@ -1077,7 +1077,7 @@ class DeviceAtw extends EventEmitter {
1077
1077
  this.inStandbyService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} In Standby`);
1078
1078
  this.inStandbyService.getCharacteristic(Characteristic.ContactSensorState)
1079
1079
  .onGet(async () => {
1080
- const state = this.accessory.isConnected;
1080
+ const state = this.accessory.inStandbyMode;
1081
1081
  return state;
1082
1082
  })
1083
1083
  accessory.addService(this.inStandbyService);
@@ -1546,7 +1546,7 @@ class DeviceAtw extends EventEmitter {
1546
1546
  //heat pump
1547
1547
  const heatPumpName = 'Heat Pump';
1548
1548
  const power = deviceData.Device.Power ?? false;
1549
- const inStandbyMode = !deviceData.Device.InStandbyMode;
1549
+ const inStandbyMode = deviceData.Device.InStandbyMode;
1550
1550
  const unitStatus = deviceData.Device.UnitStatus ?? 0;
1551
1551
  const operationMode = deviceData.Device.OperationMode;
1552
1552
  const outdoorTemperature = deviceData.Device.OutdoorTemperature;
package/src/deviceerv.js CHANGED
@@ -699,7 +699,7 @@ class DeviceErv extends EventEmitter {
699
699
  this.inStandbyService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} In Standby`);
700
700
  this.inStandbyService.getCharacteristic(Characteristic.ContactSensorState)
701
701
  .onGet(async () => {
702
- const state = this.accessory.isConnected;
702
+ const state = this.accessory.inStandbyMode;
703
703
  return state;
704
704
  })
705
705
  accessory.addService(this.inStandbyService);
@@ -1097,7 +1097,7 @@ class DeviceErv extends EventEmitter {
1097
1097
 
1098
1098
  //device state
1099
1099
  const power = deviceData.Device.Power;
1100
- const inStandbyMode = !deviceData.Device.InStandbyMode;
1100
+ const inStandbyMode = deviceData.Device.InStandbyMode;
1101
1101
  const roomTemperature = deviceData.Device.RoomTemperature;
1102
1102
  const supplyTemperature = deviceData.Device.SupplyTemperature;
1103
1103
  const outdoorTemperature = deviceData.Device.OutdoorTemperature;