@camstack/addon-provider-gree 0.2.81 → 0.2.82

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
@@ -29197,8 +29197,27 @@ var PrivacyMaskRegionSchema = object({
29197
29197
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29198
29198
  var PrivacyMaskStatusSchema = object({
29199
29199
  enabled: boolean(),
29200
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29201
- regions: array(PrivacyMaskRegionSchema),
29200
+ /**
29201
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29202
+ *
29203
+ * `null` means "no answer" — the provider has never reached this camera
29204
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29205
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29206
+ * has no zones": those two look identical to an operator right up to the
29207
+ * moment one of them is acted on, and acting on them differs completely.
29208
+ * The switch group turned an unanswered read into *"nothing is set up for
29209
+ * it to act on"* — an instruction to go and draw a zone that already
29210
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29211
+ * from deleting the mask it could not read.
29212
+ *
29213
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29214
+ * has no zones. The distinction is the same one {@link
29215
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29216
+ * microphone, on the very same payload — both planes come from ONE refresh,
29217
+ * so it was never coherent for one of them to be able to say "unknown"
29218
+ * while the other could not.
29219
+ */
29220
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29202
29221
  /**
29203
29222
  * Is the camera capturing sound right now? Read from the camera, never from
29204
29223
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -29196,8 +29196,27 @@ var PrivacyMaskRegionSchema = object({
29196
29196
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29197
29197
  var PrivacyMaskStatusSchema = object({
29198
29198
  enabled: boolean(),
29199
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29200
- regions: array(PrivacyMaskRegionSchema),
29199
+ /**
29200
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29201
+ *
29202
+ * `null` means "no answer" — the provider has never reached this camera
29203
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29204
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29205
+ * has no zones": those two look identical to an operator right up to the
29206
+ * moment one of them is acted on, and acting on them differs completely.
29207
+ * The switch group turned an unanswered read into *"nothing is set up for
29208
+ * it to act on"* — an instruction to go and draw a zone that already
29209
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29210
+ * from deleting the mask it could not read.
29211
+ *
29212
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29213
+ * has no zones. The distinction is the same one {@link
29214
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29215
+ * microphone, on the very same payload — both planes come from ONE refresh,
29216
+ * so it was never coherent for one of them to be able to say "unknown"
29217
+ * while the other could not.
29218
+ */
29219
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29201
29220
  /**
29202
29221
  * Is the camera capturing sound right now? Read from the camera, never from
29203
29222
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",