@camstack/addon-provider-homematic 1.2.65 → 1.2.66

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
@@ -13118,7 +13118,12 @@ var ConfigEntrySchema = object({
13118
13118
  value: unknown(),
13119
13119
  description: string().optional()
13120
13120
  });
13121
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
13121
+ /**
13122
+ * Only `manual` since D356: the operator picks, nothing links itself. The
13123
+ * field survives on the wire because a viewer already OTA'd parses it —
13124
+ * drop it once no shipped client reads `mode`.
13125
+ */
13126
+ var LinkedDevicesModeSchema = _enum(["manual"]);
13122
13127
  /** One resolved linked device — the compact projection consumers need. */
13123
13128
  var LinkedDeviceSchema = object({
13124
13129
  deviceId: number(),
@@ -64336,6 +64341,9 @@ var HmIntegrationManager = class {
64336
64341
  await facade.start();
64337
64342
  this.#deviceCount = facade.devices().length;
64338
64343
  this.#lastCheckedAt = Date.now();
64344
+ this.#status = "connected";
64345
+ this.#error = null;
64346
+ this.#onConnected(this.#id);
64339
64347
  this.#logger.info("HmIntegrationManager: facade started", {
64340
64348
  tags: { brokerId: this.#id },
64341
64349
  meta: {
package/dist/addon.mjs CHANGED
@@ -13119,7 +13119,12 @@ var ConfigEntrySchema = object({
13119
13119
  value: unknown(),
13120
13120
  description: string().optional()
13121
13121
  });
13122
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
13122
+ /**
13123
+ * Only `manual` since D356: the operator picks, nothing links itself. The
13124
+ * field survives on the wire because a viewer already OTA'd parses it —
13125
+ * drop it once no shipped client reads `mode`.
13126
+ */
13127
+ var LinkedDevicesModeSchema = _enum(["manual"]);
13123
13128
  /** One resolved linked device — the compact projection consumers need. */
13124
13129
  var LinkedDeviceSchema = object({
13125
13130
  deviceId: number(),
@@ -64337,6 +64342,9 @@ var HmIntegrationManager = class {
64337
64342
  await facade.start();
64338
64343
  this.#deviceCount = facade.devices().length;
64339
64344
  this.#lastCheckedAt = Date.now();
64345
+ this.#status = "connected";
64346
+ this.#error = null;
64347
+ this.#onConnected(this.#id);
64340
64348
  this.#logger.info("HmIntegrationManager: facade started", {
64341
64349
  tags: { brokerId: this.#id },
64342
64350
  meta: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.65",
3
+ "version": "1.2.66",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",