homebridge-ring 11.7.0 → 11.7.1
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 +11 -0
- package/lib/base-accessory.js +2 -1
- package/lib/intercom.js +2 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# homebridge-ring
|
|
2
2
|
|
|
3
|
+
## 11.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`40559b8`](https://github.com/dgreif/ring/commit/40559b874740858cbb8bfd85125b7bf07680be2d) Thanks [@dgreif](https://github.com/dgreif)! - Update info (eg battery level) for intercom when viewed in Home app
|
|
8
|
+
|
|
9
|
+
- [`4d86e1d`](https://github.com/dgreif/ring/commit/4d86e1d8bbf7839becb127ebbeed37944ca27d3a) Thanks [@dgreif](https://github.com/dgreif)! - Update dependencies
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`4d86e1d`](https://github.com/dgreif/ring/commit/4d86e1d8bbf7839becb127ebbeed37944ca27d3a)]:
|
|
12
|
+
- ring-client-api@11.7.1
|
|
13
|
+
|
|
3
14
|
## 11.7.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/lib/base-accessory.js
CHANGED
|
@@ -25,7 +25,8 @@ class BaseAccessory {
|
|
|
25
25
|
}
|
|
26
26
|
const existingService = subType
|
|
27
27
|
? this.accessory.getServiceById(serviceType, subType)
|
|
28
|
-
: this.accessory.getService(serviceType), service = existingService ||
|
|
28
|
+
: this.accessory.getService(serviceType), service = existingService ||
|
|
29
|
+
this.accessory.addService(serviceType, name, subType);
|
|
29
30
|
if (config_1.debug &&
|
|
30
31
|
existingService &&
|
|
31
32
|
existingService.displayName &&
|
package/lib/intercom.js
CHANGED
|
@@ -40,6 +40,7 @@ class Intercom extends base_data_accessory_1.BaseDataAccessory {
|
|
|
40
40
|
characteristicType: LockCurrentState,
|
|
41
41
|
serviceType: lockService,
|
|
42
42
|
getValue: () => this.getLockState(),
|
|
43
|
+
requestUpdate: () => device.requestUpdate(),
|
|
43
44
|
});
|
|
44
45
|
this.registerCharacteristic({
|
|
45
46
|
characteristicType: LockTargetState,
|
|
@@ -93,6 +94,7 @@ class Intercom extends base_data_accessory_1.BaseDataAccessory {
|
|
|
93
94
|
onValue: device.onBatteryLevel.pipe((0, operators_1.map)((batteryLevel) => {
|
|
94
95
|
return batteryLevel === null ? 100 : batteryLevel;
|
|
95
96
|
})),
|
|
97
|
+
requestUpdate: () => device.requestUpdate(),
|
|
96
98
|
});
|
|
97
99
|
}
|
|
98
100
|
// Accessory Information Service
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-ring",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.1",
|
|
4
4
|
"description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@homebridge/camera-utils": "^2.2.0",
|
|
15
15
|
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
16
|
-
"ring-client-api": "11.7.
|
|
16
|
+
"ring-client-api": "11.7.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"concurrently": "^7.
|
|
19
|
+
"concurrently": "^7.6.0",
|
|
20
20
|
"eslint-config-shared": "0.0.0",
|
|
21
|
-
"homebridge": "1.
|
|
21
|
+
"homebridge": "1.6.0",
|
|
22
22
|
"homebridge-ui": "0.0.0",
|
|
23
23
|
"nodemon": "^2.0.20",
|
|
24
24
|
"tsconfig": "0.0.0",
|
|
25
|
-
"typescript": "4.
|
|
25
|
+
"typescript": "4.9.4"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": "^16 || ^18",
|