@camstack/addon-provider-homematic 1.2.113 → 1.2.114
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/dist/addon.js +27 -6
- package/dist/addon.mjs +27 -6
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5369,7 +5369,7 @@ var ZodIssueCode = {
|
|
|
5369
5369
|
var ZodFirstPartyTypeKind;
|
|
5370
5370
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5371
5371
|
//#endregion
|
|
5372
|
-
//#region ../types/dist/sleep-
|
|
5372
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5373
5373
|
/**
|
|
5374
5374
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5375
5375
|
* window to float samples (D455).
|
|
@@ -31104,6 +31104,26 @@ var PtzHomePresetSchema = object({
|
|
|
31104
31104
|
"none"
|
|
31105
31105
|
])
|
|
31106
31106
|
});
|
|
31107
|
+
/**
|
|
31108
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31109
|
+
* after how long.
|
|
31110
|
+
*
|
|
31111
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31112
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31113
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31114
|
+
* can disagree.
|
|
31115
|
+
*
|
|
31116
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31117
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31118
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31119
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31120
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31121
|
+
* return at all.
|
|
31122
|
+
*/
|
|
31123
|
+
var PtzHomeReturnSchema = object({
|
|
31124
|
+
enabled: boolean(),
|
|
31125
|
+
seconds: number().int()
|
|
31126
|
+
});
|
|
31107
31127
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31108
31128
|
deviceId: number(),
|
|
31109
31129
|
presetId: string()
|
|
@@ -31129,8 +31149,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31129
31149
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31130
31150
|
kind: "mutation",
|
|
31131
31151
|
auth: "admin"
|
|
31132
|
-
}), method(object({ deviceId: number() }),
|
|
31152
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31133
31153
|
deviceId: number(),
|
|
31154
|
+
enabled: boolean(),
|
|
31134
31155
|
seconds: number().int().min(0).max(3600)
|
|
31135
31156
|
}), _void(), {
|
|
31136
31157
|
kind: "mutation",
|
|
@@ -40401,7 +40422,7 @@ Object.freeze({
|
|
|
40401
40422
|
addonId: null,
|
|
40402
40423
|
access: "view"
|
|
40403
40424
|
},
|
|
40404
|
-
"ptz.
|
|
40425
|
+
"ptz.getHomeReturn": {
|
|
40405
40426
|
capName: "ptz",
|
|
40406
40427
|
capScope: "device",
|
|
40407
40428
|
addonId: null,
|
|
@@ -40461,7 +40482,7 @@ Object.freeze({
|
|
|
40461
40482
|
addonId: null,
|
|
40462
40483
|
access: "create"
|
|
40463
40484
|
},
|
|
40464
|
-
"ptz.
|
|
40485
|
+
"ptz.setHomeReturn": {
|
|
40465
40486
|
capName: "ptz",
|
|
40466
40487
|
capScope: "device",
|
|
40467
40488
|
addonId: null,
|
|
@@ -43650,7 +43671,7 @@ Object.freeze({
|
|
|
43650
43671
|
form: "single",
|
|
43651
43672
|
optional: false
|
|
43652
43673
|
}],
|
|
43653
|
-
"ptz.
|
|
43674
|
+
"ptz.getHomeReturn": [{
|
|
43654
43675
|
name: "deviceId",
|
|
43655
43676
|
form: "single",
|
|
43656
43677
|
optional: false
|
|
@@ -43700,7 +43721,7 @@ Object.freeze({
|
|
|
43700
43721
|
form: "single",
|
|
43701
43722
|
optional: false
|
|
43702
43723
|
}],
|
|
43703
|
-
"ptz.
|
|
43724
|
+
"ptz.setHomeReturn": [{
|
|
43704
43725
|
name: "deviceId",
|
|
43705
43726
|
form: "single",
|
|
43706
43727
|
optional: false
|
package/dist/addon.mjs
CHANGED
|
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
|
|
|
5370
5370
|
var ZodFirstPartyTypeKind;
|
|
5371
5371
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5372
5372
|
//#endregion
|
|
5373
|
-
//#region ../types/dist/sleep-
|
|
5373
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5374
5374
|
/**
|
|
5375
5375
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5376
5376
|
* window to float samples (D455).
|
|
@@ -31105,6 +31105,26 @@ var PtzHomePresetSchema = object({
|
|
|
31105
31105
|
"none"
|
|
31106
31106
|
])
|
|
31107
31107
|
});
|
|
31108
|
+
/**
|
|
31109
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31110
|
+
* after how long.
|
|
31111
|
+
*
|
|
31112
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31113
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31114
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31115
|
+
* can disagree.
|
|
31116
|
+
*
|
|
31117
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31118
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31119
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31120
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31121
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31122
|
+
* return at all.
|
|
31123
|
+
*/
|
|
31124
|
+
var PtzHomeReturnSchema = object({
|
|
31125
|
+
enabled: boolean(),
|
|
31126
|
+
seconds: number().int()
|
|
31127
|
+
});
|
|
31108
31128
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31109
31129
|
deviceId: number(),
|
|
31110
31130
|
presetId: string()
|
|
@@ -31130,8 +31150,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31130
31150
|
}), method(object({ deviceId: number() }), _void(), {
|
|
31131
31151
|
kind: "mutation",
|
|
31132
31152
|
auth: "admin"
|
|
31133
|
-
}), method(object({ deviceId: number() }),
|
|
31153
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31134
31154
|
deviceId: number(),
|
|
31155
|
+
enabled: boolean(),
|
|
31135
31156
|
seconds: number().int().min(0).max(3600)
|
|
31136
31157
|
}), _void(), {
|
|
31137
31158
|
kind: "mutation",
|
|
@@ -40402,7 +40423,7 @@ Object.freeze({
|
|
|
40402
40423
|
addonId: null,
|
|
40403
40424
|
access: "view"
|
|
40404
40425
|
},
|
|
40405
|
-
"ptz.
|
|
40426
|
+
"ptz.getHomeReturn": {
|
|
40406
40427
|
capName: "ptz",
|
|
40407
40428
|
capScope: "device",
|
|
40408
40429
|
addonId: null,
|
|
@@ -40462,7 +40483,7 @@ Object.freeze({
|
|
|
40462
40483
|
addonId: null,
|
|
40463
40484
|
access: "create"
|
|
40464
40485
|
},
|
|
40465
|
-
"ptz.
|
|
40486
|
+
"ptz.setHomeReturn": {
|
|
40466
40487
|
capName: "ptz",
|
|
40467
40488
|
capScope: "device",
|
|
40468
40489
|
addonId: null,
|
|
@@ -43651,7 +43672,7 @@ Object.freeze({
|
|
|
43651
43672
|
form: "single",
|
|
43652
43673
|
optional: false
|
|
43653
43674
|
}],
|
|
43654
|
-
"ptz.
|
|
43675
|
+
"ptz.getHomeReturn": [{
|
|
43655
43676
|
name: "deviceId",
|
|
43656
43677
|
form: "single",
|
|
43657
43678
|
optional: false
|
|
@@ -43701,7 +43722,7 @@ Object.freeze({
|
|
|
43701
43722
|
form: "single",
|
|
43702
43723
|
optional: false
|
|
43703
43724
|
}],
|
|
43704
|
-
"ptz.
|
|
43725
|
+
"ptz.setHomeReturn": [{
|
|
43705
43726
|
name: "deviceId",
|
|
43706
43727
|
form: "single",
|
|
43707
43728
|
optional: false
|
package/package.json
CHANGED