homebridge-melcloud-control 4.1.3-beta.16 → 4.1.3-beta.18

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.
@@ -2139,7 +2139,7 @@
2139
2139
  "accounts[].ataDevices[].heatDryFanMode",
2140
2140
  "accounts[].ataDevices[].coolDryFanMode",
2141
2141
  "accounts[].ataDevices[].autoDryFanMode",
2142
- "accounts[].ataDevices[].frostProtectionSupportr",
2142
+ "accounts[].ataDevices[].frostProtectionSupport",
2143
2143
  "accounts[].ataDevices[].overheatProtectionSupport",
2144
2144
  "accounts[].ataDevices[].holidayModeSupport",
2145
2145
  "accounts[].ataDevices[].refreshInterval"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.1.3-beta.16",
4
+ "version": "4.1.3-beta.18",
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
@@ -729,7 +729,7 @@ class DeviceAta extends EventEmitter {
729
729
  if (this.holidayModeSupport && this.accessory.holidayModeEnabled !== null) {
730
730
  //control
731
731
  if (this.logDebug) this.emit('debug', `Prepare holiday mode control service`);
732
- this.holidayModeControlService = new Service.Switch(`${serviceName} Holiday Mode`, `Holiday Mode Control ${deviceId}`);
732
+ this.holidayModeControlService = new Service.Switch(`${serviceName} Holiday Mode`, `holidayModeControlService${deviceId}`);
733
733
  this.holidayModeControlService.addOptionalCharacteristic(Characteristic.ConfiguredName);
734
734
  this.holidayModeControlService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} Holiday Mode`);
735
735
  this.holidayModeControlService.getCharacteristic(Characteristic.On)
@@ -749,7 +749,7 @@ class DeviceAta extends EventEmitter {
749
749
  accessory.addService(this.holidayModeControlService);
750
750
 
751
751
  if (this.logDebug) this.emit('debug', `Prepare holiday mode control sensor service`);
752
- this.holidayModeControlSensorService = new Service.ContactSensor(`${serviceName} Holiday Mode Control`, `Holiday Mode Control Sensor ${deviceId}`);
752
+ this.holidayModeControlSensorService = new Service.ContactSensor(`${serviceName} Holiday Mode Control`, `holidayModeControlSensorService${deviceId}`);
753
753
  this.holidayModeControlSensorService.addOptionalCharacteristic(Characteristic.ConfiguredName);
754
754
  this.holidayModeControlSensorService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} Holiday Mode Control`);
755
755
  this.holidayModeControlSensorService.getCharacteristic(Characteristic.ContactSensorState)
@@ -761,7 +761,7 @@ class DeviceAta extends EventEmitter {
761
761
 
762
762
  //sensors
763
763
  if (this.logDebug) this.emit('debug', `Prepare holiday mode sensor service`);
764
- this.holidayModeSensorService = new Service.ContactSensor(`${serviceName} Holiday Mode`, `Holiday Mode Sensor ${deviceId}`);
764
+ this.holidayModeSensorService = new Service.ContactSensor(`${serviceName} Holiday Mode`, `holidayModeSensorService${deviceId}`);
765
765
  this.holidayModeSensorService.addOptionalCharacteristic(Characteristic.ConfiguredName);
766
766
  this.holidayModeSensorService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} Holiday Mode`);
767
767
  this.holidayModeSensorService.getCharacteristic(Characteristic.ContactSensorState)
@@ -844,7 +844,7 @@ class DeviceAta extends EventEmitter {
844
844
  if (i === 0) {
845
845
  if (this.logDebug) this.emit('debug', `Prepare schedule control service`);
846
846
  const serviceNameSchedule = namePrefix ? `${accessoryName} Schedule Control` : `Schedule Control`;
847
- this.schedulesControlService = new Service.Switch(serviceNameSchedule, `Schedule Control ${deviceId} ${i}`);
847
+ this.schedulesControlService = new Service.Switch(serviceNameSchedule, `schedulesControlService${deviceId} ${i}`);
848
848
  this.schedulesControlService.addOptionalCharacteristic(Characteristic.ConfiguredName);
849
849
  this.schedulesControlService.setCharacteristic(Characteristic.ConfiguredName, serviceNameSchedule);
850
850
  this.schedulesControlService.getCharacteristic(Characteristic.On)
@@ -864,7 +864,7 @@ class DeviceAta extends EventEmitter {
864
864
  accessory.addService(this.schedulesControlService);
865
865
 
866
866
  if (this.logDebug) this.emit('debug', `Prepare schedule control sensor service`);
867
- this.schedulesControlSensorService = new Service.ContactSensor(serviceNameSchedule, `Schedule Control Sensor ${deviceId}`);
867
+ this.schedulesControlSensorService = new Service.ContactSensor(serviceNameSchedule, `schedulesControlSensorService${deviceId}`);
868
868
  this.schedulesControlSensorService.addOptionalCharacteristic(Characteristic.ConfiguredName);
869
869
  this.schedulesControlSensorService.setCharacteristic(Characteristic.ConfiguredName, serviceNameSchedule);
870
870
  this.schedulesControlSensorService.getCharacteristic(Characteristic.ContactSensorState)
@@ -879,7 +879,7 @@ class DeviceAta extends EventEmitter {
879
879
  const serviceName = namePrefix ? `${accessoryName} ${name}` : name;
880
880
  const serviceType = schedule.serviceType;
881
881
  const characteristicType = schedule.characteristicType;
882
- const scheduleService = new serviceType(serviceName, `Schedule Sensor ${deviceId} ${i}`);
882
+ const scheduleService = new serviceType(serviceName, `scheduleService${deviceId} ${i}`);
883
883
  scheduleService.addOptionalCharacteristic(Characteristic.ConfiguredName);
884
884
  scheduleService.setCharacteristic(Characteristic.ConfiguredName, serviceName);
885
885
  scheduleService.getCharacteristic(characteristicType)
@@ -1441,7 +1441,7 @@ class DeviceAta extends EventEmitter {
1441
1441
  //overheat protection
1442
1442
  if (this.overheatProtectionSupport && overheatProtectionEnabled !== null) {
1443
1443
  this.overheatProtectionControlService?.updateCharacteristic(Characteristic.On, overheatProtectionEnabled);
1444
- this.overheatProtectionControlSensorService.updateCharacteristic(Characteristic.ContactSensorState, overheatProtectionEnabled);
1444
+ this.overheatProtectionControlSensorService?.updateCharacteristic(Characteristic.ContactSensorState, overheatProtectionEnabled);
1445
1445
  this.overheatProtectionSensorService?.updateCharacteristic(Characteristic.ContactSensorState, overheatProtectionActive);
1446
1446
  }
1447
1447