homebridge-xbox-tv 3.3.13-beta.3 → 3.4.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - After update to 2.x.x the plugin settings (xboxLiveId) need to be updated
11
11
  - After update to v3.0.0 RESTFull and MQTT config settings need to be updated
12
+ - After update to v3.4.0 all buttons in config need to be updated
13
+
14
+ ## [3.4.0] - (05.03.2025)
15
+
16
+ ## Changes
17
+
18
+ - after update to this version all buttons in config need to be updated
19
+ - refactor code of buttons
20
+ - bump dependencies
21
+ - config schema updated
22
+ - cleanup
12
23
 
13
24
  ## [3.3.11] - (20.02.2025)
14
25
 
@@ -471,7 +471,11 @@
471
471
  "title": "Product Id",
472
472
  "type": "string",
473
473
  "placeholder": "oneStoreProductId",
474
- "description": "Here set the *oneStoreProductId*. If web api enabled, switch app/games will be possible, all available in */var/lib/homebridge/xboxTv/inputs_xxxxxx* file."
474
+ "description": "Here set the *oneStoreProductId*. If web api enabled, switch app/games will be possible, all available in */var/lib/homebridge/xboxTv/inputs_xxxxxx* file.",
475
+ "condition": {
476
+ "functionBody": "return model.devices[arrayIndices].webApiControl === true;"
477
+ },
478
+ "required": false
475
479
  },
476
480
  "displayType": {
477
481
  "title": "Display Type",
@@ -1036,7 +1040,7 @@
1036
1040
  "devices[].buttons[].namePrefix"
1037
1041
  ],
1038
1042
  "condition": {
1039
- "functionBody": "return model.devices[arrayIndices].buttons[arrayIndices].mode === 4 && model.devices[arrayIndices].webApiControl === true;"
1043
+ "functionBody": "return model.devices[arrayIndices].buttons[arrayIndices].mode === 4;"
1040
1044
  }
1041
1045
  }
1042
1046
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "3.3.13-beta.3",
4
+ "version": "3.4.0",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",