@camstack/addon-provider-homematic 1.2.19 → 1.2.21
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 +44 -2
- package/dist/addon.mjs +44 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19477,7 +19477,31 @@ DeviceType.Camera, method(object({
|
|
|
19477
19477
|
lastCapturedAt: number().nullable(),
|
|
19478
19478
|
cacheAgeMs: number().nullable(),
|
|
19479
19479
|
etag: string().nullable()
|
|
19480
|
-
}))), systemMethod(object({
|
|
19480
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19481
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19482
|
+
battery: object({
|
|
19483
|
+
sleeping: boolean(),
|
|
19484
|
+
lastUpdated: number(),
|
|
19485
|
+
lastContactAt: number().optional()
|
|
19486
|
+
}).nullable(),
|
|
19487
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19488
|
+
state: object({
|
|
19489
|
+
isBattery: boolean(),
|
|
19490
|
+
reason: _enum([
|
|
19491
|
+
"disabled",
|
|
19492
|
+
"sleeping",
|
|
19493
|
+
"unreachable",
|
|
19494
|
+
"waking"
|
|
19495
|
+
]).nullable()
|
|
19496
|
+
}),
|
|
19497
|
+
/** The cached frame behind the next paint. */
|
|
19498
|
+
frame: object({
|
|
19499
|
+
capturedAt: number().nullable(),
|
|
19500
|
+
ageMs: number().nullable()
|
|
19501
|
+
}),
|
|
19502
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19503
|
+
waking: boolean()
|
|
19504
|
+
})), systemMethod(object({
|
|
19481
19505
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19482
19506
|
* width) the caller will paint — the width is snapped to the server's
|
|
19483
19507
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19516,7 +19540,14 @@ targets: array(object({
|
|
|
19516
19540
|
"sleeping",
|
|
19517
19541
|
"unreachable",
|
|
19518
19542
|
"waking"
|
|
19519
|
-
]).nullable()
|
|
19543
|
+
]).nullable(),
|
|
19544
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19545
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19546
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19547
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19548
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19549
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19550
|
+
battery: boolean()
|
|
19520
19551
|
})));
|
|
19521
19552
|
/**
|
|
19522
19553
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -34065,6 +34096,12 @@ Object.freeze({
|
|
|
34065
34096
|
addonId: null,
|
|
34066
34097
|
access: "view"
|
|
34067
34098
|
},
|
|
34099
|
+
"snapshot.getDebugState": {
|
|
34100
|
+
capName: "snapshot",
|
|
34101
|
+
capScope: "device",
|
|
34102
|
+
addonId: null,
|
|
34103
|
+
access: "view"
|
|
34104
|
+
},
|
|
34068
34105
|
"snapshot.getSnapshot": {
|
|
34069
34106
|
capName: "snapshot",
|
|
34070
34107
|
capScope: "device",
|
|
@@ -36662,6 +36699,11 @@ Object.freeze({
|
|
|
36662
36699
|
form: "single",
|
|
36663
36700
|
optional: false
|
|
36664
36701
|
}],
|
|
36702
|
+
"snapshot.getDebugState": [{
|
|
36703
|
+
name: "deviceId",
|
|
36704
|
+
form: "single",
|
|
36705
|
+
optional: false
|
|
36706
|
+
}],
|
|
36665
36707
|
"snapshot.getSnapshot": [{
|
|
36666
36708
|
name: "deviceId",
|
|
36667
36709
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19478,7 +19478,31 @@ DeviceType.Camera, method(object({
|
|
|
19478
19478
|
lastCapturedAt: number().nullable(),
|
|
19479
19479
|
cacheAgeMs: number().nullable(),
|
|
19480
19480
|
etag: string().nullable()
|
|
19481
|
-
}))), systemMethod(object({
|
|
19481
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19482
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19483
|
+
battery: object({
|
|
19484
|
+
sleeping: boolean(),
|
|
19485
|
+
lastUpdated: number(),
|
|
19486
|
+
lastContactAt: number().optional()
|
|
19487
|
+
}).nullable(),
|
|
19488
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19489
|
+
state: object({
|
|
19490
|
+
isBattery: boolean(),
|
|
19491
|
+
reason: _enum([
|
|
19492
|
+
"disabled",
|
|
19493
|
+
"sleeping",
|
|
19494
|
+
"unreachable",
|
|
19495
|
+
"waking"
|
|
19496
|
+
]).nullable()
|
|
19497
|
+
}),
|
|
19498
|
+
/** The cached frame behind the next paint. */
|
|
19499
|
+
frame: object({
|
|
19500
|
+
capturedAt: number().nullable(),
|
|
19501
|
+
ageMs: number().nullable()
|
|
19502
|
+
}),
|
|
19503
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19504
|
+
waking: boolean()
|
|
19505
|
+
})), systemMethod(object({
|
|
19482
19506
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19483
19507
|
* width) the caller will paint — the width is snapped to the server's
|
|
19484
19508
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19517,7 +19541,14 @@ targets: array(object({
|
|
|
19517
19541
|
"sleeping",
|
|
19518
19542
|
"unreachable",
|
|
19519
19543
|
"waking"
|
|
19520
|
-
]).nullable()
|
|
19544
|
+
]).nullable(),
|
|
19545
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19546
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19547
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19548
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19549
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19550
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19551
|
+
battery: boolean()
|
|
19521
19552
|
})));
|
|
19522
19553
|
/**
|
|
19523
19554
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -34066,6 +34097,12 @@ Object.freeze({
|
|
|
34066
34097
|
addonId: null,
|
|
34067
34098
|
access: "view"
|
|
34068
34099
|
},
|
|
34100
|
+
"snapshot.getDebugState": {
|
|
34101
|
+
capName: "snapshot",
|
|
34102
|
+
capScope: "device",
|
|
34103
|
+
addonId: null,
|
|
34104
|
+
access: "view"
|
|
34105
|
+
},
|
|
34069
34106
|
"snapshot.getSnapshot": {
|
|
34070
34107
|
capName: "snapshot",
|
|
34071
34108
|
capScope: "device",
|
|
@@ -36663,6 +36700,11 @@ Object.freeze({
|
|
|
36663
36700
|
form: "single",
|
|
36664
36701
|
optional: false
|
|
36665
36702
|
}],
|
|
36703
|
+
"snapshot.getDebugState": [{
|
|
36704
|
+
name: "deviceId",
|
|
36705
|
+
form: "single",
|
|
36706
|
+
optional: false
|
|
36707
|
+
}],
|
|
36666
36708
|
"snapshot.getSnapshot": [{
|
|
36667
36709
|
name: "deviceId",
|
|
36668
36710
|
form: "single",
|
package/package.json
CHANGED