@camstack/addon-provider-tuya 0.2.80 → 0.2.81

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
@@ -21336,8 +21336,25 @@ var occupancyRecheckFramesField = {
21336
21336
  * (analyzer attaches detected `regions[]`; onboard does not — the
21337
21337
  * camera typically only reports a binary signal plus an optional
21338
21338
  * channel/AI class which lives in dedicated event channels).
21339
- */
21340
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
21339
+ *
21340
+ * - `onboard` — the camera's firmware said something moved.
21341
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
21342
+ * - `device-activity` — the DEVICE said it is doing its job: the
21343
+ * `recording-signal` LEVEL the same device raises for the recorder
21344
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
21345
+ * republished as a motion source. It attaches **nothing** — no regions, no
21346
+ * class: the only fact it carries is that the device is active, and a robot
21347
+ * vacuum that is itself the moving object has no region worth sending. It is
21348
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
21349
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
21350
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
21351
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
21352
+ */
21353
+ var MotionSourceEnum = _enum([
21354
+ "onboard",
21355
+ "analyzer",
21356
+ "device-activity"
21357
+ ]);
21341
21358
  /**
21342
21359
  * List of motion sources active on a camera. Empty array is valid:
21343
21360
  * "no source" — happens for battery cams without firmware motion when
package/dist/addon.mjs CHANGED
@@ -21335,8 +21335,25 @@ var occupancyRecheckFramesField = {
21335
21335
  * (analyzer attaches detected `regions[]`; onboard does not — the
21336
21336
  * camera typically only reports a binary signal plus an optional
21337
21337
  * channel/AI class which lives in dedicated event channels).
21338
- */
21339
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
21338
+ *
21339
+ * - `onboard` — the camera's firmware said something moved.
21340
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
21341
+ * - `device-activity` — the DEVICE said it is doing its job: the
21342
+ * `recording-signal` LEVEL the same device raises for the recorder
21343
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
21344
+ * republished as a motion source. It attaches **nothing** — no regions, no
21345
+ * class: the only fact it carries is that the device is active, and a robot
21346
+ * vacuum that is itself the moving object has no region worth sending. It is
21347
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
21348
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
21349
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
21350
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
21351
+ */
21352
+ var MotionSourceEnum = _enum([
21353
+ "onboard",
21354
+ "analyzer",
21355
+ "device-activity"
21356
+ ]);
21340
21357
  /**
21341
21358
  * List of motion sources active on a camera. Empty array is valid:
21342
21359
  * "no source" — happens for battery cams without firmware motion when
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
5
5
  "keywords": [
6
6
  "camstack",