homebridge-xbox-tv 2.10.1 → 2.10.2

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": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "2.10.1",
4
+ "version": "2.10.2",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/xboxdevice.js CHANGED
@@ -437,7 +437,7 @@ class XboxDevice extends EventEmitter {
437
437
  //Prepare television service
438
438
  const debug1 = !this.enableDebugMode ? false : this.emit('debug', `Prepare television service`);
439
439
  this.televisionService = new Service.Television(`${accessoryName} Television`, 'Television');
440
- this.televisionService.getCharacteristic(Characteristic.ConfiguredName, accessoryName)
440
+ this.televisionService.setCharacteristic(Characteristic.ConfiguredName, accessoryName)
441
441
  .setCharacteristic(Characteristic.SleepDiscoveryMode, 1);
442
442
 
443
443
  this.televisionService.getCharacteristic(Characteristic.Active)