@camstack/addon-provider-homematic 1.2.179 → 1.2.180

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 (32) hide show
  1. package/CHANGELOG.md +6 -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-Di8TL1di.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-CCr3Q8Oe.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.js +151 -8
  9. package/dist/addon.mjs +151 -8
  10. package/dist/{hostInit-CopEQciR.mjs → hostInit-D4pI0caq.mjs} +3 -3
  11. package/dist/remoteEntry.js +1 -1
  12. 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-CXwAz__Q.mjs} +1 -1
  13. package/package.json +5 -2
  14. package/dist/MaskShapeCanvas-CDl4Fjwd.mjs +0 -13807
  15. package/dist/MotionZonesSettings-iV0V-bGv.mjs +0 -309
  16. package/dist/PrivacyMaskSettings-BRWe3BS0.mjs +0 -368
  17. package/dist/SceneMonitorEditor-1TgXp_Us.mjs +0 -845
  18. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-CPcqOaRO.mjs +0 -25
  19. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-epfwWFvs.mjs +0 -26
  20. 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
  21. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-4mAmVpjj.mjs +0 -25
  22. 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
  23. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react__loadShare__.js-Dh5aq0TM.mjs +0 -70
  24. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_2_dom__loadShare__.js-CTw4odxf.mjs +0 -26
  25. package/dist/_virtual_mf___mfe_internal__addon_provider_homematic_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CthMbXtY.mjs +0 -25
  26. package/dist/player-overlays-CDL5sMuN.mjs +0 -51
  27. package/dist/responsive-ClNdgBUK.mjs +0 -129
  28. package/dist/rolldown-runtime-HEgqtunE.mjs +0 -20
  29. package/dist/scene-monitor-copy-CUSQphuV.mjs +0 -243
  30. package/dist/square-HWTnxi8E.mjs +0 -45
  31. package/dist/trash-2-BUFcf4hK.mjs +0 -25
  32. package/dist/ui-text-2ABkGEt_.mjs +0 -34
package/dist/addon.mjs CHANGED
@@ -5849,7 +5849,7 @@ var ZodIssueCode = {
5849
5849
  var ZodFirstPartyTypeKind;
5850
5850
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5851
5851
  //#endregion
5852
- //#region ../types/dist/sleep-_4vKNWxb.mjs
5852
+ //#region ../types/dist/sleep-B-vp7x15.mjs
5853
5853
  /**
5854
5854
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5855
5855
  * window to float samples (D455).
@@ -9384,6 +9384,7 @@ var CAP_NAMES = Object.freeze([
9384
9384
  "device-status",
9385
9385
  "dishwasher",
9386
9386
  "display-palette",
9387
+ "do-not-disturb",
9387
9388
  "doorbell",
9388
9389
  "embedding-encoder",
9389
9390
  "enum-sensor",
@@ -10143,6 +10144,10 @@ Object.freeze({
10143
10144
  "valueType": "string"
10144
10145
  }
10145
10146
  ],
10147
+ "do-not-disturb": [{
10148
+ "path": "enabled",
10149
+ "valueType": "boolean"
10150
+ }],
10146
10151
  "doorbell": [{
10147
10152
  "path": "lastPressedAt",
10148
10153
  "valueType": "number"
@@ -19565,6 +19570,33 @@ var APPLIANCE_CAP_VOCABULARY = {
19565
19570
  }
19566
19571
  ]
19567
19572
  },
19573
+ "do-not-disturb": {
19574
+ scope: "device",
19575
+ noun: t("Do not disturb", "Non disturbare"),
19576
+ actions: [{
19577
+ id: "dnd.on",
19578
+ method: "setEnabled",
19579
+ label: t("Do not disturb on", "Attiva Non disturbare"),
19580
+ phrase: t("Turn on Do not disturb on {device}", "Attiva Non disturbare su {device}"),
19581
+ icon: "bell-off",
19582
+ args: { enabled: true }
19583
+ }, {
19584
+ id: "dnd.off",
19585
+ method: "setEnabled",
19586
+ label: t("Do not disturb off", "Disattiva Non disturbare"),
19587
+ phrase: t("Turn off Do not disturb on {device}", "Disattiva Non disturbare su {device}"),
19588
+ icon: "bell",
19589
+ args: { enabled: false }
19590
+ }],
19591
+ state: [{
19592
+ kind: "boolean",
19593
+ field: "enabled",
19594
+ label: t("Do not disturb", "Non disturbare"),
19595
+ whenTrue: t("When Do not disturb turns on on {device}", "Quando {device} attiva Non disturbare"),
19596
+ whenFalse: t("When Do not disturb turns off on {device}", "Quando {device} disattiva Non disturbare"),
19597
+ icon: "bell-off"
19598
+ }]
19599
+ },
19568
19600
  update: {
19569
19601
  scope: "device",
19570
19602
  noun: t("Firmware update", "Aggiornamento firmware"),
@@ -41760,14 +41792,16 @@ var DeviceIsLeafSchema = object({
41760
41792
  });
41761
41793
  /**
41762
41794
  * True when the camera currently has a PARKED object matching `subjects` in at
41763
- * least one of `zones`. Reads the zone-analytics snapshot through the same
41795
+ * least one of `zones` (`minCount` of them, default one). Reads the zone-analytics snapshot through the same
41764
41796
  * mirror as every other state leaf, so a dropped event never decides it (D49).
41765
41797
  */
41766
41798
  var StationaryPresentLeafSchema = object({
41767
41799
  kind: literal("stationary-present"),
41768
41800
  deviceId: number().int().nonnegative(),
41769
41801
  subjects: array(StationarySubjectSchema).min(1).optional(),
41770
- zones: array(string().min(1)).min(1).optional()
41802
+ zones: array(string().min(1)).min(1).optional(),
41803
+ /** How many matching parked objects must be there; absent means one. */
41804
+ minCount: number().int().positive().optional()
41771
41805
  });
41772
41806
  /**
41773
41807
  * The escape hatch: the bounded expression engine over named device bindings.
@@ -42279,6 +42313,28 @@ function convertLegacyRecipe(legacy) {
42279
42313
  * it. The output type is always the new one.
42280
42314
  */
42281
42315
  var AutomationRecipeSchema = union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
42316
+ var DETECTION_DESCRIPTIONS = {
42317
+ deviceId: "the camera that saw it",
42318
+ className: "what it saw",
42319
+ trackId: "the track",
42320
+ score: "how sure the detector was",
42321
+ label: "the label it matched (a name, a plate), empty when none"
42322
+ };
42323
+ var STATIONARY_DESCRIPTIONS = {
42324
+ deviceId: "the camera that saw it",
42325
+ className: "what it saw",
42326
+ zones: "the zones it is in",
42327
+ phase: "appeared or departed",
42328
+ entryId: "the stopped object"
42329
+ };
42330
+ function describe$1(descriptions) {
42331
+ return Object.entries(descriptions).map(([name, description]) => ({
42332
+ name,
42333
+ description
42334
+ }));
42335
+ }
42336
+ describe$1(DETECTION_DESCRIPTIONS);
42337
+ describe$1(STATIONARY_DESCRIPTIONS);
42282
42338
  new Set(Object.values(COCO_TO_MACRO.mapping));
42283
42339
  /**
42284
42340
  * Schedulers (D983) — an entity that performs actions over the day.
@@ -52881,6 +52937,49 @@ method(_void(), paletteResultSchema, {
52881
52937
  kind: "mutation",
52882
52938
  auth: "admin"
52883
52939
  });
52940
+ /**
52941
+ * do-not-disturb - whether a speaker or display holds back its own sounds
52942
+ * (announcements, notifications, alarms) until the operator lets it speak again.
52943
+ *
52944
+ * It is NOT part of `media-player`: a player is about what it plays and how
52945
+ * loud, while Do Not Disturb is a household switch the vendor keeps per device.
52946
+ * `enabled` is null when the vendor has not said (never a guess of `false`).
52947
+ */
52948
+ var DoNotDisturbStatusSchema = object({
52949
+ /** True while Do Not Disturb is on; null when unknown. */
52950
+ enabled: boolean().nullable().meta({ label: "Do not disturb" }),
52951
+ /** Ms epoch of the last read or write that set `enabled`. */
52952
+ lastChangedAt: number()
52953
+ });
52954
+ var doNotDisturbCapability = {
52955
+ name: "do-not-disturb",
52956
+ scope: "device",
52957
+ deviceNative: true,
52958
+ mode: "singleton",
52959
+ deviceTypes: [DeviceType.MediaPlayer],
52960
+ methods: { setEnabled: method(object({
52961
+ deviceId: number().int(),
52962
+ enabled: boolean()
52963
+ }), _void(), {
52964
+ kind: "mutation",
52965
+ auth: "protected"
52966
+ }) },
52967
+ status: {
52968
+ schema: DoNotDisturbStatusSchema,
52969
+ kind: "push"
52970
+ },
52971
+ runtimeState: DoNotDisturbStatusSchema,
52972
+ /**
52973
+ * Runtime-state durability: **session** - the vendor owns the switch and the
52974
+ * device re-reads it on the next poll, so a restored value would only be stale.
52975
+ *
52976
+ * See `RuntimeStateDurability`. Enforced by
52977
+ * `scripts/check-runtime-state-durability.ts`.
52978
+ */
52979
+ durability: "session",
52980
+ /** History (D850): when Do Not Disturb was switched on and off. */
52981
+ history: { fields: { enabled: { kind: "boolean" } } }
52982
+ };
52884
52983
  /** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
52885
52984
  var doorbellCustomize = {
52886
52985
  version: 1,
@@ -55472,6 +55571,14 @@ var LlmGenerateBaseInputSchema = object({
55472
55571
  topP: number().min(0).max(1).optional(),
55473
55572
  /** Per-call override of the profile default (top-k sampling). */
55474
55573
  topK: number().int().positive().optional(),
55574
+ /** Per-call override of `profile.reasoningEffort`. Sent only to a kind whose
55575
+ * descriptor offers the field; a kind that does not never sends it. */
55576
+ reasoningEffort: _enum([
55577
+ "off",
55578
+ "low",
55579
+ "medium",
55580
+ "high"
55581
+ ]).optional(),
55475
55582
  /** Per-call override of `profile.timeoutMs` — the total generation bound. */
55476
55583
  timeoutMs: number().int().positive().optional(),
55477
55584
  /** Per-call override; beats both the consumer table and the profile. */
@@ -55763,7 +55870,10 @@ var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind i
55763
55870
  var LlmModelFeaturesSchema = object({
55764
55871
  vision: boolean(),
55765
55872
  tools: boolean(),
55766
- streaming: boolean()
55873
+ streaming: boolean(),
55874
+ /** Whether the model thinks before it answers. `null` = the endpoint does not
55875
+ * say; an editor then still offers the switch (unknown is not "no"). */
55876
+ reasoning: boolean().nullable().optional()
55767
55877
  });
55768
55878
  /** One model a provider offers. `features` overrides the kind's defaults, per field. */
55769
55879
  var LlmModelInfoSchema = object({
@@ -73949,9 +74059,17 @@ var ServerUpdateActionResultSchema = object({
73949
74059
  */
73950
74060
  requiredAddonUpdates: array(RequiredAddonUpdateSchema).optional()
73951
74061
  });
73952
- var LaunchOverridesSchema = object({
73953
- /** The persisted heap ceiling in MB, or `null` when none is set. */
73954
- heapMb: number().int().nullable() });
74062
+ var LaunchOverridesSchema = object({
74063
+ /** The persisted heap ceiling in MB, or `null` when none is set. */
74064
+ heapMb: number().int().nullable(),
74065
+ /** The persisted hub-main RSS budget in MB, or `null` when none is set. */
74066
+ rssBudgetMb: number().int().nullable()
74067
+ });
74068
+ var SetLaunchOverridesInputSchema = object({
74069
+ heapMb: number().int().min(512).max(65536).nullable(),
74070
+ /** Omitted keeps the stored budget; `null` clears it. */
74071
+ rssBudgetMb: number().int().min(512).max(65536).nullable().optional()
74072
+ });
73955
74073
  var SetLaunchOverridesResultSchema = LaunchOverridesSchema.extend({
73956
74074
  /** Always true: the override is read at launch, not by the running process. */
73957
74075
  restartRequired: boolean() });
@@ -73980,7 +74098,7 @@ method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), S
73980
74098
  }), method(_void(), ServerUpdateActionResultSchema, {
73981
74099
  kind: "mutation",
73982
74100
  auth: "admin"
73983
- }), method(_void(), LaunchOverridesSchema, { auth: "admin" }), method(object({ heapMb: number().int().min(512).max(65536).nullable() }), SetLaunchOverridesResultSchema, {
74101
+ }), method(_void(), LaunchOverridesSchema, { auth: "admin" }), method(SetLaunchOverridesInputSchema, SetLaunchOverridesResultSchema, {
73984
74102
  kind: "mutation",
73985
74103
  auth: "admin"
73986
74104
  });
@@ -79178,6 +79296,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
79178
79296
  deviceDiscovery: deviceDiscoveryCapability,
79179
79297
  deviceStatus: deviceStatusCapability,
79180
79298
  dishwasher: dishwasherCapability,
79299
+ doNotDisturb: doNotDisturbCapability,
79181
79300
  doorbell: doorbellCapability,
79182
79301
  enumSensor: enumSensorCapability,
79183
79302
  eventEmitter: eventEmitterCapability,
@@ -83631,6 +83750,20 @@ Object.freeze({
83631
83750
  access: "create",
83632
83751
  role: "admin"
83633
83752
  },
83753
+ "doNotDisturb.getStatus": {
83754
+ capName: "do-not-disturb",
83755
+ capScope: "device",
83756
+ addonId: null,
83757
+ access: "view",
83758
+ role: "viewer"
83759
+ },
83760
+ "doNotDisturb.setEnabled": {
83761
+ capName: "do-not-disturb",
83762
+ capScope: "device",
83763
+ addonId: null,
83764
+ access: "create",
83765
+ role: "viewer"
83766
+ },
83634
83767
  "doorbell.getStatus": {
83635
83768
  capName: "doorbell",
83636
83769
  capScope: "device",
@@ -91819,6 +91952,16 @@ Object.freeze({
91819
91952
  form: "single",
91820
91953
  optional: false
91821
91954
  }],
91955
+ "doNotDisturb.getStatus": [{
91956
+ name: "deviceId",
91957
+ form: "single",
91958
+ optional: false
91959
+ }],
91960
+ "doNotDisturb.setEnabled": [{
91961
+ name: "deviceId",
91962
+ form: "single",
91963
+ optional: false
91964
+ }],
91822
91965
  "doorbell.getStatus": [{
91823
91966
  name: "deviceId",
91824
91967
  form: "single",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.470",
39
+ version: "1.2.471",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,11 +81,11 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.369",
84
+ version: "1.2.370",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
88
- requiredVersion: "*",
88
+ requiredVersion: ">=1.2.370",
89
89
  import: !1
90
90
  }
91
91
  },
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-C3238YNy.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_provider_homematic_page__remoteEntry_js-CXwAz__Q.mjs";
2
2
  export { t as get, e as init };
@@ -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-dXxSAeGu.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_provider_homematic_page-Di8TL1di.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.179",
3
+ "version": "1.2.180",
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,10 @@
76
76
  }
77
77
  ],
78
78
  "requires": {
79
- "server": ">=1.2.730"
79
+ "server": ">=1.2.731",
80
+ "addons": {
81
+ "@camstack/addon-admin-ui": ">=1.2.551"
82
+ }
80
83
  }
81
84
  },
82
85
  "files": [