@camstack/addon-provider-homematic 1.2.179 → 1.2.181

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/.bundle-modules.json +1 -510
  3. package/dist/_stub.js +3689 -41910
  4. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-dXxSAeGu.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-UqgGIdfI.mjs} +4 -4
  5. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DINQBJ6Y.mjs +26 -0
  6. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-iX7UoD9E.mjs +26 -0
  7. package/dist/{_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-D_jZoh_U.mjs → _virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-15LkOsGv.mjs} +8 -8
  8. package/dist/addon-provider-homematic.css +1 -1
  9. package/dist/addon.js +525 -52
  10. package/dist/addon.mjs +525 -52
  11. package/dist/{hostInit-CopEQciR.mjs → hostInit-_DiBGHlp.mjs} +3 -3
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-C3238YNy.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-B89pkD2D.mjs} +1 -1
  14. package/package.json +5 -2
  15. package/dist/MaskShapeCanvas-CDl4Fjwd.mjs +0 -13807
  16. package/dist/MotionZonesSettings-iV0V-bGv.mjs +0 -309
  17. package/dist/PrivacyMaskSettings-BRWe3BS0.mjs +0 -368
  18. package/dist/SceneMonitorEditor-1TgXp_Us.mjs +0 -845
  19. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-CPcqOaRO.mjs +0 -25
  20. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-epfwWFvs.mjs +0 -26
  21. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BoWMuzy9.mjs +0 -25
  22. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-4mAmVpjj.mjs +0 -25
  23. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BFwxPZri.mjs +0 -26
  24. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-Dh5aq0TM.mjs +0 -70
  25. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_2_dom__loadShare__.js-CTw4odxf.mjs +0 -26
  26. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CthMbXtY.mjs +0 -25
  27. package/dist/player-overlays-CDL5sMuN.mjs +0 -51
  28. package/dist/responsive-ClNdgBUK.mjs +0 -129
  29. package/dist/rolldown-runtime-HEgqtunE.mjs +0 -20
  30. package/dist/scene-monitor-copy-CUSQphuV.mjs +0 -243
  31. package/dist/square-HWTnxi8E.mjs +0 -45
  32. package/dist/trash-2-BUFcf4hK.mjs +0 -25
  33. package/dist/ui-text-2ABkGEt_.mjs +0 -34
package/dist/addon.js CHANGED
@@ -794,7 +794,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
794
794
  return EventCategory;
795
795
  }({});
796
796
  //#endregion
797
- //#region ../types/dist/device-type-BOWLtoOt.mjs
797
+ //#region ../types/dist/device-type-CfHw_quR.mjs
798
798
  /**
799
799
  import { errMsg } from '@camstack/types'
800
800
  * Extract a human-readable message from an unknown error value.
@@ -983,6 +983,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
983
983
  DeviceFeature["CoverPositionable"] = "cover-positionable";
984
984
  /** Cover exposes slat-tilt control. Gates the tilt slider UI. */
985
985
  DeviceFeature["CoverTilt"] = "cover-tilt";
986
+ /** Cover has a real stop: `stop` halts the travel in place. Gates the stop
987
+ * control in exporters; a provider whose `stop` is a no-op never declares it. */
988
+ DeviceFeature["CoverStoppable"] = "cover-stoppable";
986
989
  /** Valve exposes intermediate position control (0..100). Gates the
987
990
  * position slider / drag surface UI. */
988
991
  DeviceFeature["ValvePositionable"] = "valve-positionable";
@@ -5848,7 +5851,7 @@ var ZodIssueCode = {
5848
5851
  var ZodFirstPartyTypeKind;
5849
5852
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5850
5853
  //#endregion
5851
- //#region ../types/dist/sleep-_4vKNWxb.mjs
5854
+ //#region ../types/dist/sleep-QsoHs66J.mjs
5852
5855
  /**
5853
5856
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5854
5857
  * window to float samples (D455).
@@ -5965,7 +5968,7 @@ function isKeychainStoredField(field) {
5965
5968
  var SECRET_CLEAR = { $secretClear: true };
5966
5969
  /** The `'***'` token D634 redaction writes for non-admins. */
5967
5970
  var LEGACY_DEVICE_REDACTION = "***";
5968
- function isRecord$6(value) {
5971
+ function isRecord$7(value) {
5969
5972
  return typeof value === "object" && value !== null && !Array.isArray(value);
5970
5973
  }
5971
5974
  function makeSecretMarker(ref) {
@@ -5976,12 +5979,12 @@ function makeSecretMarker(ref) {
5976
5979
  }
5977
5980
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5978
5981
  function isSecretMarker(value) {
5979
- if (!isRecord$6(value)) return false;
5982
+ if (!isRecord$7(value)) return false;
5980
5983
  const ref = value["$secret"];
5981
5984
  return typeof ref === "string" && ref.length > 0;
5982
5985
  }
5983
5986
  function isSecretClear(value) {
5984
- return isRecord$6(value) && value["$secretClear"] === true;
5987
+ return isRecord$7(value) && value["$secretClear"] === true;
5985
5988
  }
5986
5989
  /**
5987
5990
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6687,7 +6690,7 @@ var KeychainWriteRefusedError = class extends Error {
6687
6690
  }
6688
6691
  };
6689
6692
  var KEEP = { kind: "keep" };
6690
- function isRecord$5(value) {
6693
+ function isRecord$6(value) {
6691
6694
  return typeof value === "object" && value !== null && !Array.isArray(value);
6692
6695
  }
6693
6696
  function defaultMintId() {
@@ -6700,7 +6703,7 @@ function collectSecretMarkerRefs(value, out = []) {
6700
6703
  return out;
6701
6704
  }
6702
6705
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6703
- else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6706
+ else if (isRecord$6(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6704
6707
  return out;
6705
6708
  }
6706
6709
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6755,7 +6758,7 @@ function rowId(row, idKey) {
6755
6758
  return null;
6756
6759
  }
6757
6760
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6758
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6761
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$6) : [];
6759
6762
  if (!Array.isArray(incoming)) {
6760
6763
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6761
6764
  return {
@@ -6771,7 +6774,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6771
6774
  const kept = /* @__PURE__ */ new Set();
6772
6775
  const rows = [];
6773
6776
  for (const row of incoming) {
6774
- if (!isRecord$5(row)) {
6777
+ if (!isRecord$6(row)) {
6775
6778
  rows.push(row);
6776
6779
  continue;
6777
6780
  }
@@ -6796,7 +6799,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6796
6799
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6797
6800
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6798
6801
  case "object": {
6799
- if (!isRecord$5(incoming)) {
6802
+ if (!isRecord$6(incoming)) {
6800
6803
  if (incoming === void 0) return KEEP;
6801
6804
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6802
6805
  return {
@@ -6804,7 +6807,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6804
6807
  value: incoming
6805
6808
  };
6806
6809
  }
6807
- const storedObj = isRecord$5(stored) ? stored : {};
6810
+ const storedObj = isRecord$6(stored) ? stored : {};
6808
6811
  return {
6809
6812
  kind: "value",
6810
6813
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6927,7 +6930,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6927
6930
  value: items
6928
6931
  };
6929
6932
  }
6930
- if (isRecord$5(v)) {
6933
+ if (isRecord$6(v)) {
6931
6934
  const out = {};
6932
6935
  for (const [k, child] of Object.entries(v)) {
6933
6936
  const s = substitute(child);
@@ -6959,7 +6962,7 @@ var SecretOverwriteRefusedError = class extends Error {
6959
6962
  this.name = "SecretOverwriteRefusedError";
6960
6963
  }
6961
6964
  };
6962
- function isRecord$4(value) {
6965
+ function isRecord$5(value) {
6963
6966
  return typeof value === "object" && value !== null && !Array.isArray(value);
6964
6967
  }
6965
6968
  function resolvedValue(pass, marker) {
@@ -6988,7 +6991,7 @@ function inArray(pass, incoming, stored) {
6988
6991
  return incoming.map((item, index) => {
6989
6992
  const twin = stored[index];
6990
6993
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6991
- if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6994
+ if (isRecord$5(item) && isRecord$5(twin)) return inArrayRow(pass, item, twin);
6992
6995
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6993
6996
  return item;
6994
6997
  });
@@ -6999,7 +7002,7 @@ function inArrayRow(pass, incoming, stored) {
6999
7002
  const twin = stored[key];
7000
7003
  if (isSecretMarker(twin)) {
7001
7004
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
7002
- } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
7005
+ } else if (isRecord$5(value) && isRecord$5(twin)) out[key] = inArrayRow(pass, value, twin);
7003
7006
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
7004
7007
  }
7005
7008
  return out;
@@ -7007,7 +7010,7 @@ function inArrayRow(pass, incoming, stored) {
7007
7010
  async function walk(pass, incoming, stored) {
7008
7011
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
7009
7012
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
7010
- if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
7013
+ if (!isRecord$5(incoming) || !isRecord$5(stored)) return incoming;
7011
7014
  const out = { ...incoming };
7012
7015
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
7013
7016
  return out;
@@ -7038,7 +7041,7 @@ async function restoreUnchangedSecrets(input) {
7038
7041
  function isJsonEqual(a, b) {
7039
7042
  if (Object.is(a, b)) return true;
7040
7043
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
7041
- if (isRecord$4(a) && isRecord$4(b)) {
7044
+ if (isRecord$5(a) && isRecord$5(b)) {
7042
7045
  const keys = Object.keys(a);
7043
7046
  if (keys.length !== Object.keys(b).length) return false;
7044
7047
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -7062,7 +7065,7 @@ function markerKeysOf(blob, owner) {
7062
7065
  }
7063
7066
  function nodeFromStored(value, owner) {
7064
7067
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
7065
- if (!isRecord$4(value)) return null;
7068
+ if (!isRecord$5(value)) return null;
7066
7069
  const children = /* @__PURE__ */ new Map();
7067
7070
  for (const [key, child] of Object.entries(value)) {
7068
7071
  const node = nodeFromStored(child, owner);
@@ -7681,6 +7684,44 @@ var BaseAddon = class {
7681
7684
  return null;
7682
7685
  }
7683
7686
  /**
7687
+ * D986 scoped settings: the form shape of the CLUSTER-wide settings one capability this addon
7688
+ * provides owns, or `null` when it has none. `cap` is a capability name the addon's manifest
7689
+ * declares. Stored as `addon-settings` rows `<addonId>.<field>`. The keys of this schema, of
7690
+ * {@link nodeSettingsSchema} and of {@link deviceDefaultsSchema} are disjoint, and a key never
7691
+ * contains `@` (guard `check-scoped-settings-declared`). SHAPE only: values are read by scope.
7692
+ */
7693
+ async clusterSettingsSchema(_cap) {
7694
+ return null;
7695
+ }
7696
+ /**
7697
+ * D986: the form shape of the settings one capability owns PER NODE, or `null`. Stored as
7698
+ * `addon-settings` rows `<addonId>.<field>@<nodeId>` carrying `nodeId` in the row data, so a
7699
+ * forgotten node's rows go in one central delete.
7700
+ */
7701
+ async nodeSettingsSchema(_cap) {
7702
+ return null;
7703
+ }
7704
+ /**
7705
+ * D986: the form shape of the FLEET DEFAULTS of the per-device settings one capability owns,
7706
+ * or `null`. Stored as `addon-settings` rows `<addonId>.<field>`; a device resolves its value
7707
+ * as device row, then this default, then the schema default (`resolveDeviceSettings`).
7708
+ */
7709
+ async deviceDefaultsSchema(_cap) {
7710
+ return null;
7711
+ }
7712
+ /**
7713
+ * The host's read of the scoped declarations: the schema one capability declares for `scope`,
7714
+ * or `null`. Beside {@link getIntegrationFormSchema}, the same shape: the hook is protected, the
7715
+ * host asks this method.
7716
+ */
7717
+ async getScopedSettingsSchema(scope, cap) {
7718
+ switch (scope) {
7719
+ case "cluster": return this.clusterSettingsSchema(cap);
7720
+ case "node": return this.nodeSettingsSchema(cap);
7721
+ case "device-defaults": return this.deviceDefaultsSchema(cap);
7722
+ }
7723
+ }
7724
+ /**
7684
7725
  * What the create wizard and the integration edit page render for one instance: the addon's
7685
7726
  * per-instance schema when it declares one, else its global schema (what they always showed).
7686
7727
  */
@@ -8474,6 +8515,21 @@ function normalizeAddonInitResult(result) {
8474
8515
  if (Array.isArray(result)) return { providers: result };
8475
8516
  return result;
8476
8517
  }
8518
+ /** Limits and names of `ctx.records` (D881). One authority; the engine and the facade read it. */
8519
+ /** The files a kind may live in. `history` is device-history's (D850), never records. */
8520
+ var RECORD_DATABASES = ["settings", "events"];
8521
+ /** The classes of a kind: the `@durable` vocabulary, one authority (replaces the annotation). */
8522
+ var RECORD_CLASSES = [
8523
+ "config",
8524
+ "ledger",
8525
+ "audit",
8526
+ "mirror",
8527
+ "ephemeral"
8528
+ ];
8529
+ var RECORD_DEFAULT_MAX_DATA_BYTES = 64 * 1024;
8530
+ var RECORD_MAX_DATA_BYTES = 1024 * 1024;
8531
+ var RECORD_BATCH_MAX = 1e3;
8532
+ var RECORD_QUERY_MAX = 1e3;
8477
8533
  /**
8478
8534
  * The share-view scope kinds a share-link token can carry. The hub mints
8479
8535
  * and validates them (`ShareViewGrantSchema` builds its
@@ -8498,21 +8554,6 @@ var PeerBytesTicketSchema = object({
8498
8554
  */
8499
8555
  declaredBytes: number().int().nonnegative().nullable()
8500
8556
  });
8501
- /** Limits and names of `ctx.records` (D881). One authority; the engine and the facade read it. */
8502
- /** The files a kind may live in. `history` is device-history's (D850), never records. */
8503
- var RECORD_DATABASES = ["settings", "events"];
8504
- /** The classes of a kind: the `@durable` vocabulary, one authority (replaces the annotation). */
8505
- var RECORD_CLASSES = [
8506
- "config",
8507
- "ledger",
8508
- "audit",
8509
- "mirror",
8510
- "ephemeral"
8511
- ];
8512
- var RECORD_DEFAULT_MAX_DATA_BYTES = 64 * 1024;
8513
- var RECORD_MAX_DATA_BYTES = 1024 * 1024;
8514
- var RECORD_BATCH_MAX = 1e3;
8515
- var RECORD_QUERY_MAX = 1e3;
8516
8557
  function defOf(schema) {
8517
8558
  const zodBag = Reflect.get(schema, "_zod");
8518
8559
  if (typeof zodBag !== "object" || zodBag === null) return {};
@@ -9383,6 +9424,7 @@ var CAP_NAMES = Object.freeze([
9383
9424
  "device-status",
9384
9425
  "dishwasher",
9385
9426
  "display-palette",
9427
+ "do-not-disturb",
9386
9428
  "doorbell",
9387
9429
  "embedding-encoder",
9388
9430
  "enum-sensor",
@@ -9403,6 +9445,7 @@ var CAP_NAMES = Object.freeze([
9403
9445
  "humidity-sensor",
9404
9446
  "image",
9405
9447
  "image-settings",
9448
+ "integration-instances",
9406
9449
  "integrations",
9407
9450
  "intercom",
9408
9451
  "ir-transmitter",
@@ -10142,6 +10185,10 @@ Object.freeze({
10142
10185
  "valueType": "string"
10143
10186
  }
10144
10187
  ],
10188
+ "do-not-disturb": [{
10189
+ "path": "enabled",
10190
+ "valueType": "boolean"
10191
+ }],
10145
10192
  "doorbell": [{
10146
10193
  "path": "lastPressedAt",
10147
10194
  "valueType": "number"
@@ -11332,7 +11379,7 @@ object({
11332
11379
  params: record(string(), union([string(), number()])).optional()
11333
11380
  });
11334
11381
  //#endregion
11335
- //#region ../types/dist/composition-kKKOdFIG.mjs
11382
+ //#region ../types/dist/composition-Dh3RfMx5.mjs
11336
11383
  /**
11337
11384
  * The ffmpeg build every CamStack node downloads, per platform and arch.
11338
11385
  *
@@ -15588,8 +15635,18 @@ var LogChannelDescriptorSchema = object({
15588
15635
  * the operator narrows to one camera, sees nothing, and concludes the code
15589
15636
  * path was never taken.
15590
15637
  */
15591
- perDevice: boolean()
15592
- });
15638
+ perDevice: boolean(),
15639
+ /**
15640
+ * What the channel is FOR, so the UI can list the channels an addon offers.
15641
+ *
15642
+ * - `diagnostic` (the default): a per-component diagnostic armed from the
15643
+ * Levels page, emitted at its declared level.
15644
+ * - `debug`: a `debug.<channel>` dump watched live for a short window
15645
+ * (`ctx.debug`). Always per-device, and its lines are denied by the log
15646
+ * ring unless somebody is watching that device.
15647
+ */
15648
+ kind: _enum(["diagnostic", "debug"]).default("diagnostic")
15649
+ }).refine((d) => d.kind !== "debug" || d.name.startsWith("debug.") && d.perDevice, { message: "a debug channel is named debug.<channel> and is per-device" });
15593
15650
  /**
15594
15651
  * An armed window over one channel, as the document hands it to a mirror.
15595
15652
  *
@@ -19564,6 +19621,33 @@ var APPLIANCE_CAP_VOCABULARY = {
19564
19621
  }
19565
19622
  ]
19566
19623
  },
19624
+ "do-not-disturb": {
19625
+ scope: "device",
19626
+ noun: t("Do not disturb", "Non disturbare"),
19627
+ actions: [{
19628
+ id: "dnd.on",
19629
+ method: "setEnabled",
19630
+ label: t("Do not disturb on", "Attiva Non disturbare"),
19631
+ phrase: t("Turn on Do not disturb on {device}", "Attiva Non disturbare su {device}"),
19632
+ icon: "bell-off",
19633
+ args: { enabled: true }
19634
+ }, {
19635
+ id: "dnd.off",
19636
+ method: "setEnabled",
19637
+ label: t("Do not disturb off", "Disattiva Non disturbare"),
19638
+ phrase: t("Turn off Do not disturb on {device}", "Disattiva Non disturbare su {device}"),
19639
+ icon: "bell",
19640
+ args: { enabled: false }
19641
+ }],
19642
+ state: [{
19643
+ kind: "boolean",
19644
+ field: "enabled",
19645
+ label: t("Do not disturb", "Non disturbare"),
19646
+ whenTrue: t("When Do not disturb turns on on {device}", "Quando {device} attiva Non disturbare"),
19647
+ whenFalse: t("When Do not disturb turns off on {device}", "Quando {device} disattiva Non disturbare"),
19648
+ icon: "bell-off"
19649
+ }]
19650
+ },
19567
19651
  update: {
19568
19652
  scope: "device",
19569
19653
  noun: t("Firmware update", "Aggiornamento firmware"),
@@ -20778,6 +20862,7 @@ var SYSTEM_CAP_VOCABULARY = {
20778
20862
  "load-contribution": system(INTERNAL),
20779
20863
  "local-network": system(NETWORK),
20780
20864
  "log-channels": system(INTERNAL),
20865
+ "integration-instances": system(INTERNAL),
20781
20866
  "log-destination": system(INTERNAL),
20782
20867
  "login-method": system(IDENTITY),
20783
20868
  "mesh-network": system(NETWORK),
@@ -41759,14 +41844,16 @@ var DeviceIsLeafSchema = object({
41759
41844
  });
41760
41845
  /**
41761
41846
  * True when the camera currently has a PARKED object matching `subjects` in at
41762
- * least one of `zones`. Reads the zone-analytics snapshot through the same
41847
+ * least one of `zones` (`minCount` of them, default one). Reads the zone-analytics snapshot through the same
41763
41848
  * mirror as every other state leaf, so a dropped event never decides it (D49).
41764
41849
  */
41765
41850
  var StationaryPresentLeafSchema = object({
41766
41851
  kind: literal("stationary-present"),
41767
41852
  deviceId: number().int().nonnegative(),
41768
41853
  subjects: array(StationarySubjectSchema).min(1).optional(),
41769
- zones: array(string().min(1)).min(1).optional()
41854
+ zones: array(string().min(1)).min(1).optional(),
41855
+ /** How many matching parked objects must be there; absent means one. */
41856
+ minCount: number().int().positive().optional()
41770
41857
  });
41771
41858
  /**
41772
41859
  * The escape hatch: the bounded expression engine over named device bindings.
@@ -42278,6 +42365,28 @@ function convertLegacyRecipe(legacy) {
42278
42365
  * it. The output type is always the new one.
42279
42366
  */
42280
42367
  var AutomationRecipeSchema = union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
42368
+ var DETECTION_DESCRIPTIONS = {
42369
+ deviceId: "the camera that saw it",
42370
+ className: "what it saw",
42371
+ trackId: "the track",
42372
+ score: "how sure the detector was",
42373
+ label: "the label it matched (a name, a plate), empty when none"
42374
+ };
42375
+ var STATIONARY_DESCRIPTIONS = {
42376
+ deviceId: "the camera that saw it",
42377
+ className: "what it saw",
42378
+ zones: "the zones it is in",
42379
+ phase: "appeared or departed",
42380
+ entryId: "the stopped object"
42381
+ };
42382
+ function describe$1(descriptions) {
42383
+ return Object.entries(descriptions).map(([name, description]) => ({
42384
+ name,
42385
+ description
42386
+ }));
42387
+ }
42388
+ describe$1(DETECTION_DESCRIPTIONS);
42389
+ describe$1(STATIONARY_DESCRIPTIONS);
42281
42390
  new Set(Object.values(COCO_TO_MACRO.mapping));
42282
42391
  /**
42283
42392
  * Schedulers (D983) — an entity that performs actions over the day.
@@ -43039,7 +43148,7 @@ var TargetKindCapsSchema = object({
43039
43148
  * the union is large and not meant for runtime validation here; the exported
43040
43149
  * `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
43041
43150
  */
43042
- var ConfigSchemaPassthrough$3 = unknown();
43151
+ var ConfigSchemaPassthrough$4 = unknown();
43043
43152
  var TargetKindSchema = object({
43044
43153
  kind: string(),
43045
43154
  label: string(),
@@ -43076,7 +43185,7 @@ var TargetKindSchema = object({
43076
43185
  * its raster path, which is the safe default for an unknown image.
43077
43186
  */
43078
43187
  iconMediaType: string().optional(),
43079
- configSchema: ConfigSchemaPassthrough$3,
43188
+ configSchema: ConfigSchemaPassthrough$4,
43080
43189
  /**
43081
43190
  * The config keys that decide WHERE this kind's secrets are sent (server,
43082
43191
  * base URL, instance, chat, recipient). A save that changes any of them
@@ -50703,6 +50812,45 @@ var deviceProviderCapability = {
50703
50812
  }
50704
50813
  };
50705
50814
  /**
50815
+ * What the passive listener of `local-network` saw on the wire, before any
50816
+ * provider classified it. Device-manager turns an observation into the hits
50817
+ * of the providers whose declared discovery modes it matches.
50818
+ */
50819
+ var DiscoveryObservationSchema = discriminatedUnion("kind", [object({
50820
+ kind: literal("mdns"),
50821
+ /** Normalised DNS-SD service type, e.g. `_esphomelib._tcp`. */
50822
+ serviceType: string(),
50823
+ instance: string(),
50824
+ host: string(),
50825
+ /** The A record address when the announcement carried one. */
50826
+ address: string().nullable(),
50827
+ port: number().int(),
50828
+ txt: record(string(), string())
50829
+ }), object({
50830
+ kind: literal("ssdp"),
50831
+ /** Sender address of the datagram. */
50832
+ host: string(),
50833
+ port: number().int(),
50834
+ /** `NT` of a NOTIFY, `ST` of a search response. */
50835
+ target: string(),
50836
+ headers: record(string(), string())
50837
+ })]);
50838
+ object({
50839
+ addonId: string(),
50840
+ candidate: DiscoveryCandidateSchema,
50841
+ firstSeenAt: number(),
50842
+ lastSeenAt: number(),
50843
+ dismissed: boolean()
50844
+ });
50845
+ var DiscoveryProposalSchema = object({
50846
+ id: string(),
50847
+ addonId: string(),
50848
+ candidate: DiscoveryCandidateSchema,
50849
+ firstSeenAt: number(),
50850
+ lastSeenAt: number(),
50851
+ dismissed: boolean()
50852
+ });
50853
+ /**
50706
50854
  * Device Manager capability — hub-side singleton that unifies device persistence,
50707
50855
  * live registry access, and all management operations into a single tRPC surface.
50708
50856
  *
@@ -51431,6 +51579,19 @@ method(object({
51431
51579
  }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
51432
51580
  kind: "mutation",
51433
51581
  auth: "admin"
51582
+ }), method(object({}), object({ proposals: array(DiscoveryProposalSchema).readonly() }), { auth: "admin" }), method(object({ id: string() }), object({ dismissed: boolean() }), {
51583
+ kind: "mutation",
51584
+ auth: "admin"
51585
+ }), method(object({ observations: array(DiscoveryObservationSchema).max(512) }), object({ proposed: number().int() }), {
51586
+ kind: "mutation",
51587
+ auth: "admin"
51588
+ }), method(object({}), object({
51589
+ providers: number().int(),
51590
+ proposed: number().int()
51591
+ }), {
51592
+ kind: "mutation",
51593
+ auth: "admin",
51594
+ timeoutMs: 12e4
51434
51595
  }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
51435
51596
  deviceId: number(),
51436
51597
  key: string(),
@@ -52880,6 +53041,49 @@ method(_void(), paletteResultSchema, {
52880
53041
  kind: "mutation",
52881
53042
  auth: "admin"
52882
53043
  });
53044
+ /**
53045
+ * do-not-disturb - whether a speaker or display holds back its own sounds
53046
+ * (announcements, notifications, alarms) until the operator lets it speak again.
53047
+ *
53048
+ * It is NOT part of `media-player`: a player is about what it plays and how
53049
+ * loud, while Do Not Disturb is a household switch the vendor keeps per device.
53050
+ * `enabled` is null when the vendor has not said (never a guess of `false`).
53051
+ */
53052
+ var DoNotDisturbStatusSchema = object({
53053
+ /** True while Do Not Disturb is on; null when unknown. */
53054
+ enabled: boolean().nullable().meta({ label: "Do not disturb" }),
53055
+ /** Ms epoch of the last read or write that set `enabled`. */
53056
+ lastChangedAt: number()
53057
+ });
53058
+ var doNotDisturbCapability = {
53059
+ name: "do-not-disturb",
53060
+ scope: "device",
53061
+ deviceNative: true,
53062
+ mode: "singleton",
53063
+ deviceTypes: [DeviceType.MediaPlayer],
53064
+ methods: { setEnabled: method(object({
53065
+ deviceId: number().int(),
53066
+ enabled: boolean()
53067
+ }), _void(), {
53068
+ kind: "mutation",
53069
+ auth: "protected"
53070
+ }) },
53071
+ status: {
53072
+ schema: DoNotDisturbStatusSchema,
53073
+ kind: "push"
53074
+ },
53075
+ runtimeState: DoNotDisturbStatusSchema,
53076
+ /**
53077
+ * Runtime-state durability: **session** - the vendor owns the switch and the
53078
+ * device re-reads it on the next poll, so a restored value would only be stale.
53079
+ *
53080
+ * See `RuntimeStateDurability`. Enforced by
53081
+ * `scripts/check-runtime-state-durability.ts`.
53082
+ */
53083
+ durability: "session",
53084
+ /** History (D850): when Do Not Disturb was switched on and off. */
53085
+ history: { fields: { enabled: { kind: "boolean" } } }
53086
+ };
52883
53087
  /** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
52884
53088
  var doorbellCustomize = {
52885
53089
  version: 1,
@@ -54732,6 +54936,78 @@ method(_void(), array(IntegrationWithStateSchema)), method(object({ id: string()
54732
54936
  auth: "admin"
54733
54937
  });
54734
54938
  /**
54939
+ * `integration-instances` - the connection of an addon that holds ONE or SEVERAL
54940
+ * (an account, a relay, a destination) as typed records (D985, D986). The addon's
54941
+ * own function page reads and writes them (Logging for Loki); the Integrations
54942
+ * page lists only the integrations that bring devices (D996).
54943
+ *
54944
+ * A collection of providers: each addon that holds connections registers one and a
54945
+ * caller reaches a provider with the pinned `addonId`.
54946
+ *
54947
+ * Identity: the instance id is immutable and opaque to the caller. A record the
54948
+ * Loki migration made keeps the `integrations` registry id it was created under
54949
+ * (`int_NNNN`); a single instance made by its function page takes the addon id.
54950
+ * `name` is the editable label.
54951
+ *
54952
+ * Secrets: every field the instance kind marks `.meta({ secret: true })` reaches
54953
+ * the form as a `SecretFieldView`, never text (D789). A patch value omitted, `''`
54954
+ * or the redaction token KEEPS the stored secret; `{ $secretClear: true }`
54955
+ * clears it.
54956
+ */
54957
+ var ConfigSchemaPassthrough$3 = custom();
54958
+ var IntegrationInstanceIdSchema = string().min(1);
54959
+ var IntegrationInstanceDescriptionSchema = object({
54960
+ /** `single`: at most one instance can exist (Loki). `multiple`: an account each. */
54961
+ instanceMode: _enum(["single", "multiple"]),
54962
+ /** What the instance is, for the UI (`destination`, `relay`, `account`). */
54963
+ kind: string(),
54964
+ /** True when `testInstance` really probes the remote. */
54965
+ canTest: boolean()
54966
+ });
54967
+ var IntegrationInstanceStatusSchema = object({
54968
+ state: _enum([
54969
+ "ok",
54970
+ "off",
54971
+ "error",
54972
+ "unknown"
54973
+ ]),
54974
+ detail: string().optional()
54975
+ });
54976
+ var IntegrationInstanceSchema = object({
54977
+ id: IntegrationInstanceIdSchema,
54978
+ name: string(),
54979
+ /** The addon's own rule (an URL is present, a client id is present...). */
54980
+ configured: boolean(),
54981
+ /** Values for the instance form; a secret is a `SecretFieldView`, never text. */
54982
+ formValues: record(string(), unknown()),
54983
+ status: IntegrationInstanceStatusSchema.optional()
54984
+ });
54985
+ var IntegrationInstancePatchSchema = object({
54986
+ id: IntegrationInstanceIdSchema,
54987
+ name: string().min(1).optional(),
54988
+ /** Omitted / '' / redaction token keeps a secret; `{ $secretClear: true }` clears it. */
54989
+ values: record(string(), unknown())
54990
+ });
54991
+ method(_void(), IntegrationInstanceDescriptionSchema, { auth: "admin" }), method(object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3, { auth: "admin" }), method(_void(), array(IntegrationInstanceSchema).readonly(), { auth: "admin" }), method(object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable(), { auth: "admin" }), method(object({
54992
+ id: IntegrationInstanceIdSchema,
54993
+ name: string().min(1)
54994
+ }), object({ id: string() }), {
54995
+ kind: "mutation",
54996
+ auth: "admin"
54997
+ }), method(IntegrationInstancePatchSchema, object({ ok: literal(true) }), {
54998
+ kind: "mutation",
54999
+ auth: "admin"
55000
+ }), method(object({ id: IntegrationInstanceIdSchema }), object({ ok: literal(true) }), {
55001
+ kind: "mutation",
55002
+ auth: "admin"
55003
+ }), optionalMethod(object({
55004
+ id: IntegrationInstanceIdSchema.nullable(),
55005
+ values: record(string(), unknown())
55006
+ }), TestConnectionResultSchema$1, {
55007
+ kind: "mutation",
55008
+ auth: "admin"
55009
+ });
55010
+ /**
54735
55011
  * Two-way audio / talk-back cap. Clients open a WebRTC audio-only
54736
55012
  * session (server-initiated offer pattern, identical to the main
54737
55013
  * video WebRTC flow) and the browser captures the mic; the server
@@ -55471,6 +55747,14 @@ var LlmGenerateBaseInputSchema = object({
55471
55747
  topP: number().min(0).max(1).optional(),
55472
55748
  /** Per-call override of the profile default (top-k sampling). */
55473
55749
  topK: number().int().positive().optional(),
55750
+ /** Per-call override of `profile.reasoningEffort`. Sent only to a kind whose
55751
+ * descriptor offers the field; a kind that does not never sends it. */
55752
+ reasoningEffort: _enum([
55753
+ "off",
55754
+ "low",
55755
+ "medium",
55756
+ "high"
55757
+ ]).optional(),
55474
55758
  /** Per-call override of `profile.timeoutMs` — the total generation bound. */
55475
55759
  timeoutMs: number().int().positive().optional(),
55476
55760
  /** Per-call override; beats both the consumer table and the profile. */
@@ -55762,7 +56046,10 @@ var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind i
55762
56046
  var LlmModelFeaturesSchema = object({
55763
56047
  vision: boolean(),
55764
56048
  tools: boolean(),
55765
- streaming: boolean()
56049
+ streaming: boolean(),
56050
+ /** Whether the model thinks before it answers. `null` = the endpoint does not
56051
+ * say; an editor then still offers the switch (unknown is not "no"). */
56052
+ reasoning: boolean().nullable().optional()
55766
56053
  });
55767
56054
  /** One model a provider offers. `features` overrides the kind's defaults, per field. */
55768
56055
  var LlmModelInfoSchema = object({
@@ -65488,7 +65775,14 @@ var NcMediaPolicySchema = object({
65488
65775
  */
65489
65776
  profile: CamProfileSchema.optional(),
65490
65777
  /** See {@link NcLinkedCameraModeSchema}. */
65491
- linkedCameras: NcLinkedCameraModeSchema.optional()
65778
+ linkedCameras: NcLinkedCameraModeSchema.optional(),
65779
+ /**
65780
+ * Sensor rules only: may this rule wake a SLEEPING battery camera to take
65781
+ * the linked still it attaches (D998)? Absent means yes, an explicit `false`
65782
+ * opts out. Deliberately not a Zod default: a rule that never chose keeps
65783
+ * following the hub's. One bounded wake per event; nothing is attached later.
65784
+ */
65785
+ wakeSleepingCamera: boolean().optional()
65492
65786
  });
65493
65787
  /**
65494
65788
  * Cooldown GRANULARITY over the subject's class — how much a fired
@@ -73948,9 +74242,17 @@ var ServerUpdateActionResultSchema = object({
73948
74242
  */
73949
74243
  requiredAddonUpdates: array(RequiredAddonUpdateSchema).optional()
73950
74244
  });
73951
- var LaunchOverridesSchema = object({
73952
- /** The persisted heap ceiling in MB, or `null` when none is set. */
73953
- heapMb: number().int().nullable() });
74245
+ var LaunchOverridesSchema = object({
74246
+ /** The persisted heap ceiling in MB, or `null` when none is set. */
74247
+ heapMb: number().int().nullable(),
74248
+ /** The persisted hub-main RSS budget in MB, or `null` when none is set. */
74249
+ rssBudgetMb: number().int().nullable()
74250
+ });
74251
+ var SetLaunchOverridesInputSchema = object({
74252
+ heapMb: number().int().min(512).max(65536).nullable(),
74253
+ /** Omitted keeps the stored budget; `null` clears it. */
74254
+ rssBudgetMb: number().int().min(512).max(65536).nullable().optional()
74255
+ });
73954
74256
  var SetLaunchOverridesResultSchema = LaunchOverridesSchema.extend({
73955
74257
  /** Always true: the override is read at launch, not by the running process. */
73956
74258
  restartRequired: boolean() });
@@ -73979,7 +74281,7 @@ method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), S
73979
74281
  }), method(_void(), ServerUpdateActionResultSchema, {
73980
74282
  kind: "mutation",
73981
74283
  auth: "admin"
73982
- }), method(_void(), LaunchOverridesSchema, { auth: "admin" }), method(object({ heapMb: number().int().min(512).max(65536).nullable() }), SetLaunchOverridesResultSchema, {
74284
+ }), method(_void(), LaunchOverridesSchema, { auth: "admin" }), method(SetLaunchOverridesInputSchema, SetLaunchOverridesResultSchema, {
73983
74285
  kind: "mutation",
73984
74286
  auth: "admin"
73985
74287
  });
@@ -74037,7 +74339,16 @@ var smokeCapability = {
74037
74339
  * future fields without breaking the existing call sites.
74038
74340
  */
74039
74341
  var EmailAddressSchema = email();
74342
+ /**
74343
+ * Which relay of a multi-relay provider answers (D996). Absent = the provider's first / default
74344
+ * relay, so a caller written before relays existed keeps working unchanged. A provider with one
74345
+ * fixed relay ignores it. This is the integration instance id (`int_NNNN`), NOT the addon id: the
74346
+ * collection pin `addonId` still picks the provider, `instanceId` picks the relay inside it.
74347
+ */
74348
+ var InstanceIdSchema = string().min(1).optional();
74349
+ var RelayPinSchema = object({ instanceId: InstanceIdSchema });
74040
74350
  var SendEmailInputSchema = object({
74351
+ instanceId: InstanceIdSchema,
74041
74352
  to: union([EmailAddressSchema, array(EmailAddressSchema).min(1)]),
74042
74353
  cc: array(EmailAddressSchema).optional(),
74043
74354
  bcc: array(EmailAddressSchema).optional(),
@@ -74073,11 +74384,11 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
74073
74384
  kind: "mutation",
74074
74385
  auth: "admin",
74075
74386
  access: "create"
74076
- }), method(_void(), SmtpStatusSchema, {
74387
+ }), method(RelayPinSchema, SmtpStatusSchema, {
74077
74388
  kind: "mutation",
74078
74389
  auth: "admin",
74079
74390
  access: "view"
74080
- }), method(_void(), SmtpStatusSchema, { auth: "admin" });
74391
+ }), method(RelayPinSchema, SmtpStatusSchema, { auth: "admin" });
74081
74392
  /**
74082
74393
  * A single device snapshot returned as base64 JPEG/PNG.
74083
74394
  *
@@ -74109,10 +74420,12 @@ DeviceType.Camera, method(object({
74109
74420
  * even when the cache is well within the device's
74110
74421
  * `snapshotMaxAgeS` window.
74111
74422
  *
74112
- * **`force` is an OPERATOR signal, not a freshness preference.** On a
74423
+ * **`force` is a demand with a named principal, not a freshness
74424
+ * preference** — an operator button, the scheduled refresh (D847), or a
74425
+ * notification rule that left the camera's wake allowed (D998). On a
74113
74426
  * battery camera it is the one thing that walks past the wrapper's
74114
- * sleep gate and wakes the camera, so a background caller — a poller,
74115
- * an event handler, a thumbnail — must NEVER set it. Every such caller
74427
+ * sleep gate and wakes the camera, so a poller, a thumbnail or a
74428
+ * prestream must NEVER set it. Every such caller
74116
74429
  * gets the cached frame, which on a sleeping battery camera is the
74117
74430
  * correct answer: stale but honest beats woken.
74118
74431
  */
@@ -75682,6 +75995,40 @@ var LoggingSettingsStateSchema = object({
75682
75995
  opsLogRetentionDays: number().int().min(0),
75683
75996
  persisted: boolean()
75684
75997
  });
75998
+ /**
75999
+ * Debug WATCH — a short, per-device window over `debug.<channel>` lines.
76000
+ *
76001
+ * `start` opens (or re-arms) a 10 minute window; `rearm` extends a LIVE one
76002
+ * and never revives a lapsed one; `stop` closes it; `list` only reads. No
76003
+ * chain of re-arms outlives 60 minutes from the first start. The hub holds the
76004
+ * watches in memory and pushes the interest to every node, so a watch lapses
76005
+ * by itself and survives nothing — a restart is a stop.
76006
+ */
76007
+ var DebugWatchInputSchema = object({
76008
+ action: _enum([
76009
+ "list",
76010
+ "start",
76011
+ "rearm",
76012
+ "stop"
76013
+ ]),
76014
+ /** Full channel names, `debug.<channel>`, each declared with `kind: 'debug'`. */
76015
+ channels: array(string().min(1)).readonly().default([]),
76016
+ /** Numeric device ids. Required (non-empty) for `start`. */
76017
+ deviceIds: array(number().int()).readonly().default([])
76018
+ });
76019
+ var DebugWatchStateSchema = object({
76020
+ channel: string(),
76021
+ deviceIds: array(number().int()).readonly(),
76022
+ startedAtMs: number(),
76023
+ untilMs: number(),
76024
+ capAtMs: number()
76025
+ });
76026
+ var DebugWatchResultSchema = object({
76027
+ nowMs: number(),
76028
+ watches: array(DebugWatchStateSchema).readonly(),
76029
+ /** Channels a `rearm` found already lapsed: nothing was revived. */
76030
+ lapsed: array(string()).readonly()
76031
+ });
75685
76032
  method(_void(), SystemInfoSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
75686
76033
  kind: "mutation",
75687
76034
  auth: "admin"
@@ -75697,6 +76044,9 @@ method(_void(), SystemInfoSchema), method(_void(), HealthStatusSchema), method(_
75697
76044
  }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(_void(), array(ReportedFailureContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
75698
76045
  kind: "mutation",
75699
76046
  auth: "admin"
76047
+ }), method(DebugWatchInputSchema, DebugWatchResultSchema, {
76048
+ kind: "mutation",
76049
+ auth: "admin"
75700
76050
  });
75701
76051
  /**
75702
76052
  * Tamper / case-open detection sensor. Drives Home Assistant
@@ -78854,7 +79204,7 @@ discriminatedUnion("kind", [object({
78854
79204
  kind: literal("pronto"),
78855
79205
  code: string()
78856
79206
  })]);
78857
- DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.ValvePositionable, DeviceFeature.MediaPlayerVolume, DeviceFeature.ClimateFanMode;
79207
+ DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.CoverStoppable, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.ValvePositionable, DeviceFeature.MediaPlayerVolume, DeviceFeature.ClimateFanMode;
78858
79208
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
78859
79209
  String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
78860
79210
  DeviceRole.BinarySensor, DeviceRole.MotionSensor;
@@ -79177,6 +79527,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
79177
79527
  deviceDiscovery: deviceDiscoveryCapability,
79178
79528
  deviceStatus: deviceStatusCapability,
79179
79529
  dishwasher: dishwasherCapability,
79530
+ doNotDisturb: doNotDisturbCapability,
79180
79531
  doorbell: doorbellCapability,
79181
79532
  enumSensor: enumSensorCapability,
79182
79533
  eventEmitter: eventEmitterCapability,
@@ -82734,6 +83085,13 @@ Object.freeze({
82734
83085
  access: "view",
82735
83086
  role: "admin"
82736
83087
  },
83088
+ "deviceManager.dismissDiscoveryProposal": {
83089
+ capName: "device-manager",
83090
+ capScope: "system",
83091
+ addonId: null,
83092
+ access: "create",
83093
+ role: "admin"
83094
+ },
82737
83095
  "deviceManager.enable": {
82738
83096
  capName: "device-manager",
82739
83097
  capScope: "system",
@@ -82916,6 +83274,13 @@ Object.freeze({
82916
83274
  access: "view",
82917
83275
  role: "viewer"
82918
83276
  },
83277
+ "deviceManager.listDiscoveryProposals": {
83278
+ capName: "device-manager",
83279
+ capScope: "system",
83280
+ addonId: null,
83281
+ access: "view",
83282
+ role: "admin"
83283
+ },
82919
83284
  "deviceManager.listLocationDescriptions": {
82920
83285
  capName: "device-manager",
82921
83286
  capScope: "system",
@@ -83070,6 +83435,13 @@ Object.freeze({
83070
83435
  access: "create",
83071
83436
  role: "admin"
83072
83437
  },
83438
+ "deviceManager.reportDiscoveryObservations": {
83439
+ capName: "device-manager",
83440
+ capScope: "system",
83441
+ addonId: null,
83442
+ access: "create",
83443
+ role: "admin"
83444
+ },
83073
83445
  "deviceManager.runDeviceAction": {
83074
83446
  capName: "device-manager",
83075
83447
  capScope: "system",
@@ -83077,6 +83449,13 @@ Object.freeze({
83077
83449
  access: "create",
83078
83450
  role: "admin"
83079
83451
  },
83452
+ "deviceManager.runDiscoverySweep": {
83453
+ capName: "device-manager",
83454
+ capScope: "system",
83455
+ addonId: null,
83456
+ access: "create",
83457
+ role: "admin"
83458
+ },
83080
83459
  "deviceManager.setChildLayout": {
83081
83460
  capName: "device-manager",
83082
83461
  capScope: "system",
@@ -83630,6 +84009,20 @@ Object.freeze({
83630
84009
  access: "create",
83631
84010
  role: "admin"
83632
84011
  },
84012
+ "doNotDisturb.getStatus": {
84013
+ capName: "do-not-disturb",
84014
+ capScope: "device",
84015
+ addonId: null,
84016
+ access: "view",
84017
+ role: "viewer"
84018
+ },
84019
+ "doNotDisturb.setEnabled": {
84020
+ capName: "do-not-disturb",
84021
+ capScope: "device",
84022
+ addonId: null,
84023
+ access: "create",
84024
+ role: "viewer"
84025
+ },
83633
84026
  "doorbell.getStatus": {
83634
84027
  capName: "doorbell",
83635
84028
  capScope: "device",
@@ -83994,6 +84387,62 @@ Object.freeze({
83994
84387
  access: "create",
83995
84388
  role: "admin"
83996
84389
  },
84390
+ "integrationInstances.createInstance": {
84391
+ capName: "integration-instances",
84392
+ capScope: "system",
84393
+ addonId: null,
84394
+ access: "create",
84395
+ role: "admin"
84396
+ },
84397
+ "integrationInstances.deleteInstance": {
84398
+ capName: "integration-instances",
84399
+ capScope: "system",
84400
+ addonId: null,
84401
+ access: "delete",
84402
+ role: "admin"
84403
+ },
84404
+ "integrationInstances.describe": {
84405
+ capName: "integration-instances",
84406
+ capScope: "system",
84407
+ addonId: null,
84408
+ access: "view",
84409
+ role: "admin"
84410
+ },
84411
+ "integrationInstances.getInstance": {
84412
+ capName: "integration-instances",
84413
+ capScope: "system",
84414
+ addonId: null,
84415
+ access: "view",
84416
+ role: "admin"
84417
+ },
84418
+ "integrationInstances.instanceFormSchema": {
84419
+ capName: "integration-instances",
84420
+ capScope: "system",
84421
+ addonId: null,
84422
+ access: "view",
84423
+ role: "admin"
84424
+ },
84425
+ "integrationInstances.listInstances": {
84426
+ capName: "integration-instances",
84427
+ capScope: "system",
84428
+ addonId: null,
84429
+ access: "view",
84430
+ role: "admin"
84431
+ },
84432
+ "integrationInstances.testInstance": {
84433
+ capName: "integration-instances",
84434
+ capScope: "system",
84435
+ addonId: null,
84436
+ access: "create",
84437
+ role: "admin"
84438
+ },
84439
+ "integrationInstances.updateInstance": {
84440
+ capName: "integration-instances",
84441
+ capScope: "system",
84442
+ addonId: null,
84443
+ access: "create",
84444
+ role: "admin"
84445
+ },
83997
84446
  "integrations.create": {
83998
84447
  capName: "integrations",
83999
84448
  capScope: "system",
@@ -89650,6 +90099,13 @@ Object.freeze({
89650
90099
  access: "create",
89651
90100
  role: "viewer"
89652
90101
  },
90102
+ "system.debugWatch": {
90103
+ capName: "system",
90104
+ capScope: "system",
90105
+ addonId: null,
90106
+ access: "create",
90107
+ role: "admin"
90108
+ },
89653
90109
  "system.detectSiteLocation": {
89654
90110
  capName: "system",
89655
90111
  capScope: "system",
@@ -91818,6 +92274,16 @@ Object.freeze({
91818
92274
  form: "single",
91819
92275
  optional: false
91820
92276
  }],
92277
+ "doNotDisturb.getStatus": [{
92278
+ name: "deviceId",
92279
+ form: "single",
92280
+ optional: false
92281
+ }],
92282
+ "doNotDisturb.setEnabled": [{
92283
+ name: "deviceId",
92284
+ form: "single",
92285
+ optional: false
92286
+ }],
91821
92287
  "doorbell.getStatus": [{
91822
92288
  name: "deviceId",
91823
92289
  form: "single",
@@ -93558,6 +94024,11 @@ Object.freeze({
93558
94024
  form: "single",
93559
94025
  optional: false
93560
94026
  }],
94027
+ "system.debugWatch": [{
94028
+ name: "deviceIds",
94029
+ form: "array",
94030
+ optional: true
94031
+ }],
93561
94032
  "tamper.getStatus": [{
93562
94033
  name: "deviceId",
93563
94034
  form: "single",
@@ -120915,6 +121386,8 @@ var hmActuatorSchema = hmChildSchema.extend({
120915
121386
  * existing pure decoders (`decodeCover` / `decodeLock` / `decodeClimate`).
120916
121387
  */
120917
121388
  var HmActuatorDevice = class extends HmChildDevice {
121389
+ /** A cover's `stop` drives the channel's real STOP (`coverStop`). */
121390
+ features = this.config.values.kind === "cover" ? [DeviceFeature.CoverStoppable] : [];
120918
121391
  kind;
120919
121392
  /** The actuator cap name actually registered (drives decode routing). */
120920
121393
  registeredCap = null;