@camstack/addon-provider-homematic 1.2.19 → 1.2.20

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 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. */
@@ -34065,6 +34089,12 @@ Object.freeze({
34065
34089
  addonId: null,
34066
34090
  access: "view"
34067
34091
  },
34092
+ "snapshot.getDebugState": {
34093
+ capName: "snapshot",
34094
+ capScope: "device",
34095
+ addonId: null,
34096
+ access: "view"
34097
+ },
34068
34098
  "snapshot.getSnapshot": {
34069
34099
  capName: "snapshot",
34070
34100
  capScope: "device",
@@ -36662,6 +36692,11 @@ Object.freeze({
36662
36692
  form: "single",
36663
36693
  optional: false
36664
36694
  }],
36695
+ "snapshot.getDebugState": [{
36696
+ name: "deviceId",
36697
+ form: "single",
36698
+ optional: false
36699
+ }],
36665
36700
  "snapshot.getSnapshot": [{
36666
36701
  name: "deviceId",
36667
36702
  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. */
@@ -34066,6 +34090,12 @@ Object.freeze({
34066
34090
  addonId: null,
34067
34091
  access: "view"
34068
34092
  },
34093
+ "snapshot.getDebugState": {
34094
+ capName: "snapshot",
34095
+ capScope: "device",
34096
+ addonId: null,
34097
+ access: "view"
34098
+ },
34069
34099
  "snapshot.getSnapshot": {
34070
34100
  capName: "snapshot",
34071
34101
  capScope: "device",
@@ -36663,6 +36693,11 @@ Object.freeze({
36663
36693
  form: "single",
36664
36694
  optional: false
36665
36695
  }],
36696
+ "snapshot.getDebugState": [{
36697
+ name: "deviceId",
36698
+ form: "single",
36699
+ optional: false
36700
+ }],
36666
36701
  "snapshot.getSnapshot": [{
36667
36702
  name: "deviceId",
36668
36703
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",