homebridge-xbox-tv 2.12.21 → 2.12.22

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.
Files changed (2) hide show
  1. package/config.schema.json +13 -10
  2. package/package.json +1 -1
@@ -423,19 +423,19 @@
423
423
  {
424
424
  "title": "None/Disabled",
425
425
  "enum": [
426
- -1
426
+ 0
427
427
  ]
428
428
  },
429
429
  {
430
430
  "title": "Outlet",
431
431
  "enum": [
432
- 0
432
+ 1
433
433
  ]
434
434
  },
435
435
  {
436
436
  "title": "Switch",
437
437
  "enum": [
438
- 1
438
+ 2
439
439
  ]
440
440
  }
441
441
  ],
@@ -500,25 +500,25 @@
500
500
  {
501
501
  "title": "None/Disabled",
502
502
  "enum": [
503
- -1
503
+ 0
504
504
  ]
505
505
  },
506
506
  {
507
507
  "title": "Motion Sensor",
508
508
  "enum": [
509
- 0
509
+ 1
510
510
  ]
511
511
  },
512
512
  {
513
513
  "title": "Occupancy Sensor",
514
514
  "enum": [
515
- 1
515
+ 2
516
516
  ]
517
517
  },
518
518
  {
519
519
  "title": "Contact Sensor",
520
520
  "enum": [
521
- 2
521
+ 3
522
522
  ]
523
523
  }
524
524
  ],
@@ -668,24 +668,27 @@
668
668
  "volumeControl": {
669
669
  "title": "Volume Control",
670
670
  "type": "integer",
671
+ "minimum": 0,
672
+ "maximum": 2,
673
+ "default": 0,
671
674
  "description": "Here select what a volume control mode You want to use. If select *None/Disabled* only hardware buttons in RC app can be used to control volume.",
672
675
  "oneOf": [
673
676
  {
674
677
  "title": "None/Disabled",
675
678
  "enum": [
676
- -1
679
+ 0
677
680
  ]
678
681
  },
679
682
  {
680
683
  "title": "Slider",
681
684
  "enum": [
682
- 0
685
+ 1
683
686
  ]
684
687
  },
685
688
  {
686
689
  "title": "Fan",
687
690
  "enum": [
688
- 1
691
+ 2
689
692
  ]
690
693
  }
691
694
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "2.12.21",
4
+ "version": "2.12.22",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",