homebridge-xbox-tv 2.13.21 → 2.13.23
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 +3 -3
- package/src/xboxdevice.js +1 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Xbox TV",
|
|
3
3
|
"name": "homebridge-xbox-tv",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.23",
|
|
5
5
|
"description": "Homebridge plugin to control Xbox game consoles.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"elliptic": "^6.5.5",
|
|
35
35
|
"hex-to-binary": "^1.0.1",
|
|
36
36
|
"jsrsasign": "^11.1.0",
|
|
37
|
-
"uuid": "^
|
|
37
|
+
"uuid": "^10.0.0",
|
|
38
38
|
"ping": "^0.4.4",
|
|
39
39
|
"express": "^4.19.2",
|
|
40
|
-
"axios": "^1.7.
|
|
40
|
+
"axios": "^1.7.2"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
43
43
|
"homebridge",
|
package/src/xboxdevice.js
CHANGED
|
@@ -811,8 +811,7 @@ class XboxDevice extends EventEmitter {
|
|
|
811
811
|
const volume = this.volume;
|
|
812
812
|
return volume;
|
|
813
813
|
})
|
|
814
|
-
.onSet(async (
|
|
815
|
-
volume = (value <= 0 || value >= 100) ? this.volume : value;
|
|
814
|
+
.onSet(async (volume) => {
|
|
816
815
|
const logInfo = this.disableLogInfo ? false : this.emit('message', `set Volume: ${volume}`);
|
|
817
816
|
});
|
|
818
817
|
|
|
@@ -1159,7 +1158,6 @@ class XboxDevice extends EventEmitter {
|
|
|
1159
1158
|
}
|
|
1160
1159
|
} catch (error) {
|
|
1161
1160
|
this.emit('error', `set Button error: ${error}`);
|
|
1162
|
-
button.state = false;
|
|
1163
1161
|
};
|
|
1164
1162
|
});
|
|
1165
1163
|
this.buttonsServices.push(buttonService);
|