homebridge-denon-tv 4.3.26 → 4.3.28

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.
@@ -3,7 +3,7 @@
3
3
  "pluginType": "platform",
4
4
  "singular": true,
5
5
  "fixArrays": true,
6
- "headerDisplay": "This plugin works with Denon/Marantz AV Receivers. Devices are exposed to HomeKit as separate accessories and each needs to be manually paired.\n\n1. Open the Home <img src='https://user-images.githubusercontent.com/3979615/78010622-4ea1d380-738e-11ea-8a17-e6a465eeec35.png' height='16.42px'> app on your device.\n2. Tap the <img src='https://user-images.githubusercontent.com/3979615/78010869-9aed1380-738e-11ea-9644-9f46b3633026.png' height='16.42px'>.\n3. Tap *Add Accessory*, and select *I Don't Have a Code or Cannot Scan* or *More Options*.\n4. Select Your accessory and press add anyway.\n5. Enter the PIN or scan the QR code, this can be found in Homebridge UI or Homebridge logs.\n6. Complete the accessory setup.",
6
+ "headerDisplay": "This plugin works with Denon/Marantz AV Receivers. Devices are exposed to HomeKit as separate accessories and each needs to be manually paired.",
7
7
  "footerDisplay": "For documentation please see [GitHub repository](https://github.com/grzegorz914/homebridge-denon-tv).",
8
8
  "schema": {
9
9
  "type": "object",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "displayName": "Denon TV",
3
3
  "name": "homebridge-denon-tv",
4
- "version": "4.3.26",
5
- "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control Denon/Marantz AV Receivers.",
4
+ "version": "4.3.28",
5
+ "description": "Homebridge plugin to control Denon/Marantz AV Receivers.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
8
8
  "homepage": "https://github.com/grzegorz914/homebridge-denon-tv#readme",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "async-mqtt": "^2.6.3",
32
- "axios": "^1.6.0",
32
+ "axios": "^1.6.2",
33
33
  "fast-xml-parser": "^4.3.2",
34
34
  "express": "^4.18.2"
35
35
  },
package/src/denon.js CHANGED
@@ -17,7 +17,7 @@ class DENON extends EventEmitter {
17
17
  const mqttEnabled = config.mqttEnabled;
18
18
  this.refreshInterval = config.refreshInterval;
19
19
 
20
- const baseUrl = (`http://${host}:${port}`);
20
+ const baseUrl = `http://${host}:${port}`;
21
21
  this.axiosInstance = axios.create({
22
22
  method: 'GET',
23
23
  baseURL: baseUrl,
@@ -1067,7 +1067,7 @@ class DenonDevice extends EventEmitter {
1067
1067
  this.sensorInputsDisplayType.push(sensorInputDisplayType);
1068
1068
  this.sensorInputsServices.push(sensorInputService);
1069
1069
  this.allServices.push(sensorInputService);
1070
- accessory.addService(this.sensorInputsServices[i]);
1070
+ accessory.addService(sensorInputService);
1071
1071
  } else {
1072
1072
  this.emit('message', `Sensor Name: ${sensorInputName ? sensorInputName : 'Missing'}, Reference: ${sensorInputReference ? sensorInputReference : 'Missing'}.`);
1073
1073
  };
@@ -1123,7 +1123,7 @@ class DenonDevice extends EventEmitter {
1123
1123
 
1124
1124
  this.buttonsServices.push(buttonService);
1125
1125
  this.allServices.push(buttonService);
1126
- accessory.addService(this.buttonsServices[i]);
1126
+ accessory.addService(buttonService);
1127
1127
  } else {
1128
1128
  this.emit('message', `Button Name: ${buttonName ? buttonName : 'Missing'}, Reference: ${buttonReference ? buttonReference : 'Missing'}.`);
1129
1129
  };