@camstack/addon-provider-homeassistant 1.2.643 → 1.2.644

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.
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
  //#endregion
27
- const require_ha_broker_source = require("../ha-broker-source-zbaephU5.js");
27
+ const require_ha_broker_source = require("../ha-broker-source-tDtT7Zi-.js");
28
28
  let node_crypto = require("node:crypto");
29
29
  require("node:zlib");
30
30
  let node_fs = require("node:fs");
@@ -261,7 +261,7 @@ var DEVICE_KEY_PREFIX = "camstack-";
261
261
  * The rationale that used to sit here — "numeric ids are reallocated by a
262
262
  * re-sync, so a captured number would address whichever camera inherited
263
263
  * it" — was FALSE and is deleted rather than softened.
264
- * `allocateNextDeviceId` (`@camstack/system`,
264
+ * `allocateNextDeviceId` (`@camstack/server/system`,
265
265
  * `device-meta-store.ts`) is a monotonic counter: it reads
266
266
  * `nextDeviceId ?? 1` and writes `current + 1`. A freed id is never
267
267
  * re-issued. The worst case after a re-adoption is an ORPHANED entity —
@@ -1,4 +1,4 @@
1
- import { $t as array, B as consumableKindOf, Et as sendToExportedTarget, Gt as baseUnitOf, K as deviceExportCapability, Ut as BaseAddon, Xt as isReadingQuantity, Zt as nodePin, _ as PLUG_APPLIANCE_TYPES, bt as runExportedAction, c as COCO_TO_MACRO, cn as unknown, d as ConsumableItemSchema, f as ConsumableStatusSchema, g as MediaPlayerRepeatSchema, gt as pruneDeletedEntities, h as HvacModeSchema, i as AlarmArmModeSchema, in as object, j as buildAddonRouteProvider, l as CameraSwitchIdSchema, m as FanDirectionSchema, on as string, r as listHomeAssistantBrokers, s as CAMERA_SWITCH_ORDER, u as ConsumableFormSchema, un as EventCategory, ut as oauthIntegrationCapability, x as addonRoutesCapability, z as consumableFormOf } from "../ha-broker-source-DxSvfCed.mjs";
1
+ import { B as consumableKindOf, Et as sendToExportedTarget, K as deviceExportCapability, Kt as isReadingQuantity, Vt as baseUnitOf, Yt as array, _ as PLUG_APPLIANCE_TYPES, bt as runExportedAction, c as COCO_TO_MACRO, d as ConsumableItemSchema, en as object, f as ConsumableStatusSchema, g as MediaPlayerRepeatSchema, gt as pruneDeletedEntities, h as HvacModeSchema, i as AlarmArmModeSchema, in as unknown, j as buildAddonRouteProvider, l as CameraSwitchIdSchema, m as FanDirectionSchema, nn as string, qt as nodePin, r as listHomeAssistantBrokers, s as CAMERA_SWITCH_ORDER, u as ConsumableFormSchema, un as EventCategory, ut as oauthIntegrationCapability, x as addonRoutesCapability, z as consumableFormOf, zt as BaseAddon } from "../ha-broker-source-DmHRCdW2.mjs";
2
2
  import { createHmac, timingSafeEqual } from "node:crypto";
3
3
  import "node:zlib";
4
4
  import "node:fs";
@@ -233,7 +233,7 @@ var DEVICE_KEY_PREFIX = "camstack-";
233
233
  * The rationale that used to sit here — "numeric ids are reallocated by a
234
234
  * re-sync, so a captured number would address whichever camera inherited
235
235
  * it" — was FALSE and is deleted rather than softened.
236
- * `allocateNextDeviceId` (`@camstack/system`,
236
+ * `allocateNextDeviceId` (`@camstack/server/system`,
237
237
  * `device-meta-store.ts`) is a monotonic counter: it reads
238
238
  * `nextDeviceId ?? 1` and writes `current + 1`. A freed id is never
239
239
  * re-issued. The worst case after a re-adoption is an ORPHANED entity —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homeassistant",
3
- "version": "1.2.643",
3
+ "version": "1.2.644",
4
4
  "description": "Home Assistant device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",
@@ -125,6 +125,9 @@
125
125
  "bundle": {
126
126
  "displayName": "Home Assistant",
127
127
  "description": "Device provider (import) + native entity export (push). Two addons, one bundle, separate processes."
128
+ },
129
+ "requires": {
130
+ "server": ">=1.2.719"
128
131
  }
129
132
  },
130
133
  "files": [