@camstack/addon-provider-homematic 1.2.177 → 1.2.178

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 (21) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/.bundle-modules.json +8 -5
  3. package/dist/{MotionZonesSettings-C6QLx6VK.mjs → MotionZonesSettings-BVVZUT5W.mjs} +2 -2
  4. package/dist/{PrivacyMaskSettings-Dx6Ufs-V.mjs → PrivacyMaskSettings-CwXKH_b2.mjs} +4 -4
  5. package/dist/{SceneMonitorEditor-nXvMwoAO.mjs → SceneMonitorEditor-BVKxQm-p.mjs} +3 -3
  6. package/dist/_stub.js +1537 -1323
  7. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-CrOc8ugA.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-CcupHdRt.mjs} +3 -3
  8. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DhsWtqcv.mjs +26 -0
  9. package/dist/addon-provider-homematic.css +1 -1
  10. package/dist/addon.js +153 -29
  11. package/dist/addon.mjs +153 -29
  12. package/dist/{hostInit-BBt6Zlyt.mjs → hostInit-5g7LqEHZ.mjs} +2 -2
  13. package/dist/{player-overlays-BZXq7QDF.mjs → player-overlays-Bje29rJB.mjs} +1 -1
  14. package/dist/remoteEntry.js +1 -1
  15. package/dist/{responsive-IbeeQ3DV.mjs → responsive-CbUxzOF7.mjs} +1 -1
  16. package/dist/{scene-monitor-copy-Df6-LR2m.mjs → scene-monitor-copy-Dsn4V--Q.mjs} +1 -1
  17. package/dist/{square-KyuUazi1.mjs → square-Ck3xIWXT.mjs} +1 -1
  18. package/dist/{trash-2-DFo5NGPa.mjs → trash-2-DJ35AyWZ.mjs} +1 -1
  19. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-D7fG35MV.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-BnW0Ooq9.mjs} +1 -1
  20. package/package.json +2 -2
  21. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DTDvDddY.mjs +0 -26
package/dist/addon.js CHANGED
@@ -8,7 +8,7 @@ let crypto$1 = require("crypto");
8
8
  let fs_promises = require("fs/promises");
9
9
  let path = require("path");
10
10
  let node_os = require("node:os");
11
- //#region ../types/dist/event-category-CaURIwQA.mjs
11
+ //#region ../types/dist/event-category-BmPm98n0.mjs
12
12
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
13
13
  EventCategory["SystemBoot"] = "system.boot";
14
14
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -492,6 +492,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
492
492
  EventCategory["RunningStarted"] = "running.started";
493
493
  /** Mirrors `runningStateCapability.events.onFinished`. */
494
494
  EventCategory["RunningFinished"] = "running.finished";
495
+ /** Mirrors `deviceRunsCapability.events.onRunOpened` - a durable run record opened. */
496
+ EventCategory["DeviceRunOpened"] = "device-run.opened";
497
+ /** Mirrors `deviceRunsCapability.events.onRunClosed` - a durable run record closed. */
498
+ EventCategory["DeviceRunClosed"] = "device-run.closed";
495
499
  /**
496
500
  * Cap event fired by every device that registers the `event-emitter`
497
501
  * capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
@@ -5840,7 +5844,7 @@ var ZodIssueCode = {
5840
5844
  var ZodFirstPartyTypeKind;
5841
5845
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5842
5846
  //#endregion
5843
- //#region ../types/dist/sleep-CSYuxssh.mjs
5847
+ //#region ../types/dist/sleep-BKzhQTSm.mjs
5844
5848
  /**
5845
5849
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5846
5850
  * window to float samples (D455).
@@ -9370,6 +9374,7 @@ var CAP_NAMES = Object.freeze([
9370
9374
  "device-ops",
9371
9375
  "device-provider",
9372
9376
  "device-removal-hook",
9377
+ "device-runs",
9373
9378
  "device-state",
9374
9379
  "device-status",
9375
9380
  "dishwasher",
@@ -19466,6 +19471,14 @@ var APPLIANCE_CAP_VOCABULARY = {
19466
19471
  }
19467
19472
  } }
19468
19473
  },
19474
+ "device-runs": {
19475
+ scope: "device",
19476
+ noun: t("Runs", "Esecuzioni"),
19477
+ events: {
19478
+ onRunOpened: { notOperatorFacing: "the durable record of a run that the running-state start flip already announces" },
19479
+ onRunClosed: { notOperatorFacing: "the durable record of a run that the running-state finish flip already announces" }
19480
+ }
19481
+ },
19469
19482
  update: {
19470
19483
  scope: "device",
19471
19484
  noun: t("Firmware update", "Aggiornamento firmware"),
@@ -47663,6 +47676,101 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
47663
47676
  kind: "mutation",
47664
47677
  auth: "admin"
47665
47678
  });
47679
+ /**
47680
+ * device-runs - the durable record of ONE run of a device: a washing cycle, a
47681
+ * dishwasher cycle, later a mow or a clean (D992).
47682
+ *
47683
+ * A run is a DOCUMENT (opened at one instant, closed at another, carrying what
47684
+ * was measured over it), never a sample - device-history keeps the numbers over
47685
+ * time and its `device-runs` provider keeps these documents beside them, because
47686
+ * the energy of a run is a question about device-history's own series. The
47687
+ * record is written from the `running-state` flip on `DeviceStateChanged`; it
47688
+ * survives a restart (the open row is on disk) and a missed flip (boot compares
47689
+ * the open rows against the live snapshots).
47690
+ *
47691
+ * Every measurement is `number | null` and `null` means "could not be
47692
+ * measured", never `0` (D393). A run closed by the boot reconcile because the
47693
+ * device stopped while nobody was watching has `outcome: 'unknown'`.
47694
+ */
47695
+ var DeviceRunKindSchema = _enum([
47696
+ "appliance",
47697
+ "mower",
47698
+ "vacuum"
47699
+ ]);
47700
+ var DeviceRunStateSchema = _enum(["open", "closed"]);
47701
+ var DeviceRunOutcomeSchema = _enum([
47702
+ "completed",
47703
+ "aborted",
47704
+ "error",
47705
+ "unknown"
47706
+ ]);
47707
+ /** What opened or closed the run. `reconcile` is the boot comparison against live state. */
47708
+ var DeviceRunSourceSchema = _enum([
47709
+ "running-state",
47710
+ "activity",
47711
+ "reconcile"
47712
+ ]);
47713
+ /** How the energy of a run was obtained; `null` when it could not be. */
47714
+ var DeviceRunEnergyMethodSchema = _enum(["counter-delta", "history-integral"]);
47715
+ var DeviceRunPhaseSchema = object({
47716
+ phase: string(),
47717
+ at: number()
47718
+ });
47719
+ /** The kind-specific block; a later phase adds a branch, nothing else changes. */
47720
+ var DeviceRunDetailSchema = discriminatedUnion("kind", [object({
47721
+ kind: literal("appliance"),
47722
+ /** kWh used over the run. */
47723
+ energyKwh: number().nullable().meta(readingMeta("energy")),
47724
+ energyMethod: DeviceRunEnergyMethodSchema.nullable(),
47725
+ /** Highest power seen while the run was open. */
47726
+ peakW: number().nullable().meta(readingMeta("power")),
47727
+ /** Time-weighted mean power while the run was open. */
47728
+ avgW: number().nullable().meta(readingMeta("power")),
47729
+ /** The program the appliance said it ran when the run opened. */
47730
+ program: string().nullable(),
47731
+ remainingAtStartSec: number().nullable().meta(readingMeta("duration")),
47732
+ /** The last phase the device reported before the run closed. */
47733
+ finalPhase: string().nullable(),
47734
+ /**
47735
+ * The meter's energy counter when the run opened; `null` when the meter had
47736
+ * not said (or the run was opened late, by the boot reconcile). It lives in
47737
+ * the row so a run that outlives a restart still ends with `end - start`.
47738
+ */
47739
+ energyStartKwh: number().nullable().meta(readingMeta("energy")),
47740
+ /** Milliseconds of power readings behind `avgW` - the weight a restart resumes the mean with. */
47741
+ powerObservedMs: number()
47742
+ })]);
47743
+ var DeviceRunSchema = object({
47744
+ /** `${deviceId}:${startedAt}`. */
47745
+ runId: string(),
47746
+ deviceId: number().int(),
47747
+ kind: DeviceRunKindSchema,
47748
+ state: DeviceRunStateSchema,
47749
+ startedAt: number(),
47750
+ endedAt: number().nullable(),
47751
+ durationMs: number().nullable(),
47752
+ outcome: DeviceRunOutcomeSchema.nullable(),
47753
+ startSource: DeviceRunSourceSchema,
47754
+ endSource: DeviceRunSourceSchema.nullable(),
47755
+ /** Where the device's running bit came from (`running-state.source`); `null` when it did not say. */
47756
+ runningSource: _enum(["native", "assigned"]).nullable(),
47757
+ phases: array(DeviceRunPhaseSchema),
47758
+ detail: DeviceRunDetailSchema
47759
+ });
47760
+ DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, method(object({
47761
+ deviceId: number().int(),
47762
+ outcome: DeviceRunOutcomeSchema.optional(),
47763
+ atFrom: number().optional(),
47764
+ atTo: number().optional(),
47765
+ limit: number().int().positive().max(200).default(50),
47766
+ cursor: string().optional()
47767
+ }), object({
47768
+ runs: array(DeviceRunSchema).readonly(),
47769
+ nextCursor: string().nullable()
47770
+ })), method(object({
47771
+ deviceId: number().int(),
47772
+ runId: string()
47773
+ }), DeviceRunSchema.nullable()), method(object({ deviceId: number().int() }), DeviceRunSchema.nullable());
47666
47774
  var DeviceCaStatusSchema = discriminatedUnion("state", [
47667
47775
  object({ state: literal("absent") }),
47668
47776
  object({
@@ -47798,8 +47906,8 @@ method(object({}), object({
47798
47906
  });
47799
47907
  var KeychainKeySourceSchema = object({
47800
47908
  kind: _enum([
47801
- "config-file",
47802
- "previous-config-file",
47909
+ "mounted-file",
47910
+ "previous-mounted-file",
47803
47911
  "platform",
47804
47912
  "default-file"
47805
47913
  ]),
@@ -64472,10 +64580,7 @@ method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSc
64472
64580
  }), InstallPackageResultSchema, {
64473
64581
  kind: "mutation",
64474
64582
  auth: "admin"
64475
- }), method(object({ packageName: string() }), InstallPackageResultSchema, {
64476
- kind: "mutation",
64477
- auth: "admin"
64478
- }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
64583
+ }), method(object({
64479
64584
  packageName: string().min(1),
64480
64585
  nodeId: string().optional(),
64481
64586
  everywhere: boolean().optional()
@@ -80293,13 +80398,6 @@ Object.freeze({
80293
80398
  access: "view",
80294
80399
  role: "admin"
80295
80400
  },
80296
- "addons.installFromWorkspace": {
80297
- capName: "addons",
80298
- capScope: "system",
80299
- addonId: null,
80300
- access: "create",
80301
- role: "admin"
80302
- },
80303
80401
  "addons.installPackage": {
80304
80402
  capName: "addons",
80305
80403
  capScope: "system",
@@ -80307,13 +80405,6 @@ Object.freeze({
80307
80405
  access: "create",
80308
80406
  role: "admin"
80309
80407
  },
80310
- "addons.isWorkspaceAvailable": {
80311
- capName: "addons",
80312
- capScope: "system",
80313
- addonId: null,
80314
- access: "view",
80315
- role: "admin"
80316
- },
80317
80408
  "addons.list": {
80318
80409
  capName: "addons",
80319
80410
  capScope: "system",
@@ -80363,13 +80454,6 @@ Object.freeze({
80363
80454
  access: "view",
80364
80455
  role: "admin"
80365
80456
  },
80366
- "addons.listWorkspacePackages": {
80367
- capName: "addons",
80368
- capScope: "system",
80369
- addonId: null,
80370
- access: "view",
80371
- role: "admin"
80372
- },
80373
80457
  "addons.onAddonLogs": {
80374
80458
  capName: "addons",
80375
80459
  capScope: "system",
@@ -83037,6 +83121,27 @@ Object.freeze({
83037
83121
  access: "create",
83038
83122
  role: "admin"
83039
83123
  },
83124
+ "deviceRuns.getCurrentRun": {
83125
+ capName: "device-runs",
83126
+ capScope: "device",
83127
+ addonId: null,
83128
+ access: "view",
83129
+ role: "viewer"
83130
+ },
83131
+ "deviceRuns.getRun": {
83132
+ capName: "device-runs",
83133
+ capScope: "device",
83134
+ addonId: null,
83135
+ access: "view",
83136
+ role: "viewer"
83137
+ },
83138
+ "deviceRuns.listRuns": {
83139
+ capName: "device-runs",
83140
+ capScope: "device",
83141
+ addonId: null,
83142
+ access: "view",
83143
+ role: "viewer"
83144
+ },
83040
83145
  "deviceState.claimFields": {
83041
83146
  capName: "device-state",
83042
83147
  capScope: "system",
@@ -91242,6 +91347,21 @@ Object.freeze({
91242
91347
  form: "single",
91243
91348
  optional: false
91244
91349
  }],
91350
+ "deviceRuns.getCurrentRun": [{
91351
+ name: "deviceId",
91352
+ form: "single",
91353
+ optional: false
91354
+ }],
91355
+ "deviceRuns.getRun": [{
91356
+ name: "deviceId",
91357
+ form: "single",
91358
+ optional: false
91359
+ }],
91360
+ "deviceRuns.listRuns": [{
91361
+ name: "deviceId",
91362
+ form: "single",
91363
+ optional: false
91364
+ }],
91245
91365
  "deviceState.claimFields": [{
91246
91366
  name: "deviceId",
91247
91367
  form: "single",
@@ -94038,6 +94158,10 @@ var STATE_SUMMARY_VARS = [
94038
94158
  [...RULE_TEXT],
94039
94159
  [...RULE_TEXT],
94040
94160
  [...RULE_TEXT],
94161
+ [...RULE_TEXT],
94162
+ [...RULE_TEXT],
94163
+ [...RULE_TEXT],
94164
+ [...RULE_TEXT],
94041
94165
  [...RULE_BODY_ONLY],
94042
94166
  [...RULE_TEXT],
94043
94167
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
package/dist/addon.mjs CHANGED
@@ -9,7 +9,7 @@ import { networkInterfaces } from "node:os";
9
9
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
11
11
  //#endregion
12
- //#region ../types/dist/event-category-CaURIwQA.mjs
12
+ //#region ../types/dist/event-category-BmPm98n0.mjs
13
13
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
14
14
  EventCategory["SystemBoot"] = "system.boot";
15
15
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -493,6 +493,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
493
493
  EventCategory["RunningStarted"] = "running.started";
494
494
  /** Mirrors `runningStateCapability.events.onFinished`. */
495
495
  EventCategory["RunningFinished"] = "running.finished";
496
+ /** Mirrors `deviceRunsCapability.events.onRunOpened` - a durable run record opened. */
497
+ EventCategory["DeviceRunOpened"] = "device-run.opened";
498
+ /** Mirrors `deviceRunsCapability.events.onRunClosed` - a durable run record closed. */
499
+ EventCategory["DeviceRunClosed"] = "device-run.closed";
496
500
  /**
497
501
  * Cap event fired by every device that registers the `event-emitter`
498
502
  * capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
@@ -5841,7 +5845,7 @@ var ZodIssueCode = {
5841
5845
  var ZodFirstPartyTypeKind;
5842
5846
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5843
5847
  //#endregion
5844
- //#region ../types/dist/sleep-CSYuxssh.mjs
5848
+ //#region ../types/dist/sleep-BKzhQTSm.mjs
5845
5849
  /**
5846
5850
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5847
5851
  * window to float samples (D455).
@@ -9371,6 +9375,7 @@ var CAP_NAMES = Object.freeze([
9371
9375
  "device-ops",
9372
9376
  "device-provider",
9373
9377
  "device-removal-hook",
9378
+ "device-runs",
9374
9379
  "device-state",
9375
9380
  "device-status",
9376
9381
  "dishwasher",
@@ -19467,6 +19472,14 @@ var APPLIANCE_CAP_VOCABULARY = {
19467
19472
  }
19468
19473
  } }
19469
19474
  },
19475
+ "device-runs": {
19476
+ scope: "device",
19477
+ noun: t("Runs", "Esecuzioni"),
19478
+ events: {
19479
+ onRunOpened: { notOperatorFacing: "the durable record of a run that the running-state start flip already announces" },
19480
+ onRunClosed: { notOperatorFacing: "the durable record of a run that the running-state finish flip already announces" }
19481
+ }
19482
+ },
19470
19483
  update: {
19471
19484
  scope: "device",
19472
19485
  noun: t("Firmware update", "Aggiornamento firmware"),
@@ -47664,6 +47677,101 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
47664
47677
  kind: "mutation",
47665
47678
  auth: "admin"
47666
47679
  });
47680
+ /**
47681
+ * device-runs - the durable record of ONE run of a device: a washing cycle, a
47682
+ * dishwasher cycle, later a mow or a clean (D992).
47683
+ *
47684
+ * A run is a DOCUMENT (opened at one instant, closed at another, carrying what
47685
+ * was measured over it), never a sample - device-history keeps the numbers over
47686
+ * time and its `device-runs` provider keeps these documents beside them, because
47687
+ * the energy of a run is a question about device-history's own series. The
47688
+ * record is written from the `running-state` flip on `DeviceStateChanged`; it
47689
+ * survives a restart (the open row is on disk) and a missed flip (boot compares
47690
+ * the open rows against the live snapshots).
47691
+ *
47692
+ * Every measurement is `number | null` and `null` means "could not be
47693
+ * measured", never `0` (D393). A run closed by the boot reconcile because the
47694
+ * device stopped while nobody was watching has `outcome: 'unknown'`.
47695
+ */
47696
+ var DeviceRunKindSchema = _enum([
47697
+ "appliance",
47698
+ "mower",
47699
+ "vacuum"
47700
+ ]);
47701
+ var DeviceRunStateSchema = _enum(["open", "closed"]);
47702
+ var DeviceRunOutcomeSchema = _enum([
47703
+ "completed",
47704
+ "aborted",
47705
+ "error",
47706
+ "unknown"
47707
+ ]);
47708
+ /** What opened or closed the run. `reconcile` is the boot comparison against live state. */
47709
+ var DeviceRunSourceSchema = _enum([
47710
+ "running-state",
47711
+ "activity",
47712
+ "reconcile"
47713
+ ]);
47714
+ /** How the energy of a run was obtained; `null` when it could not be. */
47715
+ var DeviceRunEnergyMethodSchema = _enum(["counter-delta", "history-integral"]);
47716
+ var DeviceRunPhaseSchema = object({
47717
+ phase: string(),
47718
+ at: number()
47719
+ });
47720
+ /** The kind-specific block; a later phase adds a branch, nothing else changes. */
47721
+ var DeviceRunDetailSchema = discriminatedUnion("kind", [object({
47722
+ kind: literal("appliance"),
47723
+ /** kWh used over the run. */
47724
+ energyKwh: number().nullable().meta(readingMeta("energy")),
47725
+ energyMethod: DeviceRunEnergyMethodSchema.nullable(),
47726
+ /** Highest power seen while the run was open. */
47727
+ peakW: number().nullable().meta(readingMeta("power")),
47728
+ /** Time-weighted mean power while the run was open. */
47729
+ avgW: number().nullable().meta(readingMeta("power")),
47730
+ /** The program the appliance said it ran when the run opened. */
47731
+ program: string().nullable(),
47732
+ remainingAtStartSec: number().nullable().meta(readingMeta("duration")),
47733
+ /** The last phase the device reported before the run closed. */
47734
+ finalPhase: string().nullable(),
47735
+ /**
47736
+ * The meter's energy counter when the run opened; `null` when the meter had
47737
+ * not said (or the run was opened late, by the boot reconcile). It lives in
47738
+ * the row so a run that outlives a restart still ends with `end - start`.
47739
+ */
47740
+ energyStartKwh: number().nullable().meta(readingMeta("energy")),
47741
+ /** Milliseconds of power readings behind `avgW` - the weight a restart resumes the mean with. */
47742
+ powerObservedMs: number()
47743
+ })]);
47744
+ var DeviceRunSchema = object({
47745
+ /** `${deviceId}:${startedAt}`. */
47746
+ runId: string(),
47747
+ deviceId: number().int(),
47748
+ kind: DeviceRunKindSchema,
47749
+ state: DeviceRunStateSchema,
47750
+ startedAt: number(),
47751
+ endedAt: number().nullable(),
47752
+ durationMs: number().nullable(),
47753
+ outcome: DeviceRunOutcomeSchema.nullable(),
47754
+ startSource: DeviceRunSourceSchema,
47755
+ endSource: DeviceRunSourceSchema.nullable(),
47756
+ /** Where the device's running bit came from (`running-state.source`); `null` when it did not say. */
47757
+ runningSource: _enum(["native", "assigned"]).nullable(),
47758
+ phases: array(DeviceRunPhaseSchema),
47759
+ detail: DeviceRunDetailSchema
47760
+ });
47761
+ DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, method(object({
47762
+ deviceId: number().int(),
47763
+ outcome: DeviceRunOutcomeSchema.optional(),
47764
+ atFrom: number().optional(),
47765
+ atTo: number().optional(),
47766
+ limit: number().int().positive().max(200).default(50),
47767
+ cursor: string().optional()
47768
+ }), object({
47769
+ runs: array(DeviceRunSchema).readonly(),
47770
+ nextCursor: string().nullable()
47771
+ })), method(object({
47772
+ deviceId: number().int(),
47773
+ runId: string()
47774
+ }), DeviceRunSchema.nullable()), method(object({ deviceId: number().int() }), DeviceRunSchema.nullable());
47667
47775
  var DeviceCaStatusSchema = discriminatedUnion("state", [
47668
47776
  object({ state: literal("absent") }),
47669
47777
  object({
@@ -47799,8 +47907,8 @@ method(object({}), object({
47799
47907
  });
47800
47908
  var KeychainKeySourceSchema = object({
47801
47909
  kind: _enum([
47802
- "config-file",
47803
- "previous-config-file",
47910
+ "mounted-file",
47911
+ "previous-mounted-file",
47804
47912
  "platform",
47805
47913
  "default-file"
47806
47914
  ]),
@@ -64473,10 +64581,7 @@ method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSc
64473
64581
  }), InstallPackageResultSchema, {
64474
64582
  kind: "mutation",
64475
64583
  auth: "admin"
64476
- }), method(object({ packageName: string() }), InstallPackageResultSchema, {
64477
- kind: "mutation",
64478
- auth: "admin"
64479
- }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
64584
+ }), method(object({
64480
64585
  packageName: string().min(1),
64481
64586
  nodeId: string().optional(),
64482
64587
  everywhere: boolean().optional()
@@ -80294,13 +80399,6 @@ Object.freeze({
80294
80399
  access: "view",
80295
80400
  role: "admin"
80296
80401
  },
80297
- "addons.installFromWorkspace": {
80298
- capName: "addons",
80299
- capScope: "system",
80300
- addonId: null,
80301
- access: "create",
80302
- role: "admin"
80303
- },
80304
80402
  "addons.installPackage": {
80305
80403
  capName: "addons",
80306
80404
  capScope: "system",
@@ -80308,13 +80406,6 @@ Object.freeze({
80308
80406
  access: "create",
80309
80407
  role: "admin"
80310
80408
  },
80311
- "addons.isWorkspaceAvailable": {
80312
- capName: "addons",
80313
- capScope: "system",
80314
- addonId: null,
80315
- access: "view",
80316
- role: "admin"
80317
- },
80318
80409
  "addons.list": {
80319
80410
  capName: "addons",
80320
80411
  capScope: "system",
@@ -80364,13 +80455,6 @@ Object.freeze({
80364
80455
  access: "view",
80365
80456
  role: "admin"
80366
80457
  },
80367
- "addons.listWorkspacePackages": {
80368
- capName: "addons",
80369
- capScope: "system",
80370
- addonId: null,
80371
- access: "view",
80372
- role: "admin"
80373
- },
80374
80458
  "addons.onAddonLogs": {
80375
80459
  capName: "addons",
80376
80460
  capScope: "system",
@@ -83038,6 +83122,27 @@ Object.freeze({
83038
83122
  access: "create",
83039
83123
  role: "admin"
83040
83124
  },
83125
+ "deviceRuns.getCurrentRun": {
83126
+ capName: "device-runs",
83127
+ capScope: "device",
83128
+ addonId: null,
83129
+ access: "view",
83130
+ role: "viewer"
83131
+ },
83132
+ "deviceRuns.getRun": {
83133
+ capName: "device-runs",
83134
+ capScope: "device",
83135
+ addonId: null,
83136
+ access: "view",
83137
+ role: "viewer"
83138
+ },
83139
+ "deviceRuns.listRuns": {
83140
+ capName: "device-runs",
83141
+ capScope: "device",
83142
+ addonId: null,
83143
+ access: "view",
83144
+ role: "viewer"
83145
+ },
83041
83146
  "deviceState.claimFields": {
83042
83147
  capName: "device-state",
83043
83148
  capScope: "system",
@@ -91243,6 +91348,21 @@ Object.freeze({
91243
91348
  form: "single",
91244
91349
  optional: false
91245
91350
  }],
91351
+ "deviceRuns.getCurrentRun": [{
91352
+ name: "deviceId",
91353
+ form: "single",
91354
+ optional: false
91355
+ }],
91356
+ "deviceRuns.getRun": [{
91357
+ name: "deviceId",
91358
+ form: "single",
91359
+ optional: false
91360
+ }],
91361
+ "deviceRuns.listRuns": [{
91362
+ name: "deviceId",
91363
+ form: "single",
91364
+ optional: false
91365
+ }],
91246
91366
  "deviceState.claimFields": [{
91247
91367
  name: "deviceId",
91248
91368
  form: "single",
@@ -94039,6 +94159,10 @@ var STATE_SUMMARY_VARS = [
94039
94159
  [...RULE_TEXT],
94040
94160
  [...RULE_TEXT],
94041
94161
  [...RULE_TEXT],
94162
+ [...RULE_TEXT],
94163
+ [...RULE_TEXT],
94164
+ [...RULE_TEXT],
94165
+ [...RULE_TEXT],
94042
94166
  [...RULE_BODY_ONLY],
94043
94167
  [...RULE_TEXT],
94044
94168
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.468",
39
+ version: "1.2.469",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.367",
84
+ version: "1.2.368",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-Dh5aq0TM.mjs";
2
2
  import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-D_jZoh_U.mjs";
3
- import { m as s, p as c } from "./responsive-IbeeQ3DV.mjs";
3
+ import { m as s, p as c } from "./responsive-CbUxzOF7.mjs";
4
4
  var l = s("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
6
6
  key: "qrunsl"
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-D7fG35MV.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-BnW0Ooq9.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-Dh5aq0TM.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-D_jZoh_U.mjs";
3
- import { l as u } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DTDvDddY.mjs";
3
+ import { l as u } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DhsWtqcv.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  e();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,7 +1,7 @@
1
1
  import { S as e, g as t, l as n, u as r, v as i } from "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-Dh5aq0TM.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-D_jZoh_U.mjs";
3
3
  import { n as a } from "./ui-text-2ABkGEt_.mjs";
4
- import { m as o, p as s } from "./responsive-IbeeQ3DV.mjs";
4
+ import { m as o, p as s } from "./responsive-CbUxzOF7.mjs";
5
5
  var c = o("camera", [["path", {
6
6
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
7
7
  key: "18u6gg"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./responsive-IbeeQ3DV.mjs";
1
+ import { m as e } from "./responsive-CbUxzOF7.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { m as e } from "./responsive-IbeeQ3DV.mjs";
1
+ import { m as e } from "./responsive-CbUxzOF7.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-CrOc8ugA.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-CcupHdRt.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.177",
3
+ "version": "1.2.178",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",
@@ -76,7 +76,7 @@
76
76
  }
77
77
  ],
78
78
  "requires": {
79
- "server": ">=1.2.728"
79
+ "server": ">=1.2.729"
80
80
  }
81
81
  },
82
82
  "files": [