homebridge-xbox-tv 3.9.2-beta.2 → 3.9.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/config.schema.json +9 -7
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -303,7 +303,10 @@
|
|
|
303
303
|
"title": "Name",
|
|
304
304
|
"type": "string",
|
|
305
305
|
"placeholder": "Button name",
|
|
306
|
-
"description": "Here set Your own name."
|
|
306
|
+
"description": "Here set Your own name.",
|
|
307
|
+
"condition": {
|
|
308
|
+
"functionBody": "return model.devices[arrayIndices[0]].buttons[arrayIndices[1]].displayType > 0;"
|
|
309
|
+
}
|
|
307
310
|
},
|
|
308
311
|
"mode": {
|
|
309
312
|
"title": "Mode",
|
|
@@ -350,6 +353,7 @@
|
|
|
350
353
|
"mediaCommand": {
|
|
351
354
|
"title": "Media Command",
|
|
352
355
|
"type": "string",
|
|
356
|
+
"description": "Here select the media command.",
|
|
353
357
|
"oneOf": [
|
|
354
358
|
{
|
|
355
359
|
"title": "Play",
|
|
@@ -442,7 +446,6 @@
|
|
|
442
446
|
]
|
|
443
447
|
}
|
|
444
448
|
],
|
|
445
|
-
"description": "Here select the media command.",
|
|
446
449
|
"condition": {
|
|
447
450
|
"functionBody": "return model.devices[arrayIndices[0]].buttons[arrayIndices[1]].displayType > 0 && model.devices[arrayIndices[0]].buttons[arrayIndices[1]].mode === 0;"
|
|
448
451
|
}
|
|
@@ -450,6 +453,7 @@
|
|
|
450
453
|
"gamePadCommand": {
|
|
451
454
|
"title": "Game Pad Command",
|
|
452
455
|
"type": "string",
|
|
456
|
+
"description": "Here select the controler command.",
|
|
453
457
|
"oneOf": [
|
|
454
458
|
{
|
|
455
459
|
"title": "Nexus",
|
|
@@ -518,7 +522,6 @@
|
|
|
518
522
|
]
|
|
519
523
|
}
|
|
520
524
|
],
|
|
521
|
-
"description": "Here select the controler command.",
|
|
522
525
|
"condition": {
|
|
523
526
|
"functionBody": "return model.devices[arrayIndices[0]].buttons[arrayIndices[1]].displayType > 0 && model.devices[arrayIndices[0]].buttons[arrayIndices[1]].mode === 1;"
|
|
524
527
|
}
|
|
@@ -526,6 +529,7 @@
|
|
|
526
529
|
"tvRemoteCommand": {
|
|
527
530
|
"title": "TV Remote Command",
|
|
528
531
|
"type": "string",
|
|
532
|
+
"description": "Here select the tv remote command.",
|
|
529
533
|
"oneOf": [
|
|
530
534
|
{
|
|
531
535
|
"title": "Volume Up",
|
|
@@ -546,7 +550,6 @@
|
|
|
546
550
|
]
|
|
547
551
|
}
|
|
548
552
|
],
|
|
549
|
-
"description": "Here select the tv remote command.",
|
|
550
553
|
"condition": {
|
|
551
554
|
"functionBody": "return model.devices[arrayIndices[0]].buttons[arrayIndices[1]].displayType > 0 && model.devices[arrayIndices[0]].buttons[arrayIndices[1]].mode === 2;"
|
|
552
555
|
}
|
|
@@ -554,6 +557,7 @@
|
|
|
554
557
|
"consoleControlCommand": {
|
|
555
558
|
"title": "Console Control Command",
|
|
556
559
|
"type": "string",
|
|
560
|
+
"description": "Here select the console control command.",
|
|
557
561
|
"oneOf": [
|
|
558
562
|
{
|
|
559
563
|
"title": "Reboot",
|
|
@@ -568,7 +572,6 @@
|
|
|
568
572
|
]
|
|
569
573
|
}
|
|
570
574
|
],
|
|
571
|
-
"description": "Here select the console control command.",
|
|
572
575
|
"condition": {
|
|
573
576
|
"functionBody": "return model.devices[arrayIndices[0]].buttons[arrayIndices[1]].displayType > 0 && model.devices[arrayIndices[0]].buttons[arrayIndices[1]].mode === 3;"
|
|
574
577
|
}
|
|
@@ -593,8 +596,7 @@
|
|
|
593
596
|
}
|
|
594
597
|
},
|
|
595
598
|
"required": [
|
|
596
|
-
"displayType"
|
|
597
|
-
"mode"
|
|
599
|
+
"displayType"
|
|
598
600
|
]
|
|
599
601
|
}
|
|
600
602
|
},
|