@camstack/addon-provider-homematic 1.2.83 → 1.2.84

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
@@ -29269,8 +29269,27 @@ var PrivacyMaskRegionSchema = object({
29269
29269
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29270
29270
  var PrivacyMaskStatusSchema = object({
29271
29271
  enabled: boolean(),
29272
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29273
- regions: array(PrivacyMaskRegionSchema),
29272
+ /**
29273
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29274
+ *
29275
+ * `null` means "no answer" — the provider has never reached this camera
29276
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29277
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29278
+ * has no zones": those two look identical to an operator right up to the
29279
+ * moment one of them is acted on, and acting on them differs completely.
29280
+ * The switch group turned an unanswered read into *"nothing is set up for
29281
+ * it to act on"* — an instruction to go and draw a zone that already
29282
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29283
+ * from deleting the mask it could not read.
29284
+ *
29285
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29286
+ * has no zones. The distinction is the same one {@link
29287
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29288
+ * microphone, on the very same payload — both planes come from ONE refresh,
29289
+ * so it was never coherent for one of them to be able to say "unknown"
29290
+ * while the other could not.
29291
+ */
29292
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29274
29293
  /**
29275
29294
  * Is the camera capturing sound right now? Read from the camera, never from
29276
29295
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -29270,8 +29270,27 @@ var PrivacyMaskRegionSchema = object({
29270
29270
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29271
29271
  var PrivacyMaskStatusSchema = object({
29272
29272
  enabled: boolean(),
29273
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29274
- regions: array(PrivacyMaskRegionSchema),
29273
+ /**
29274
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29275
+ *
29276
+ * `null` means "no answer" — the provider has never reached this camera
29277
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29278
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29279
+ * has no zones": those two look identical to an operator right up to the
29280
+ * moment one of them is acted on, and acting on them differs completely.
29281
+ * The switch group turned an unanswered read into *"nothing is set up for
29282
+ * it to act on"* — an instruction to go and draw a zone that already
29283
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29284
+ * from deleting the mask it could not read.
29285
+ *
29286
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29287
+ * has no zones. The distinction is the same one {@link
29288
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29289
+ * microphone, on the very same payload — both planes come from ONE refresh,
29290
+ * so it was never coherent for one of them to be able to say "unknown"
29291
+ * while the other could not.
29292
+ */
29293
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29275
29294
  /**
29276
29295
  * Is the camera capturing sound right now? Read from the camera, never from
29277
29296
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.83",
3
+ "version": "1.2.84",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",