@camstack/addon-import-alexa 0.2.160 → 0.2.162

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 (18) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{MotionZonesSettings-TwgbETGR.mjs → MotionZonesSettings-ByDKuk5o.mjs} +2 -2
  3. package/dist/{PrivacyMaskSettings-BoNkDD5o.mjs → PrivacyMaskSettings-Cn-_9Syv.mjs} +4 -4
  4. package/dist/{SceneMonitorEditor-4TxlnJK0.mjs → SceneMonitorEditor-jDMtE1yg.mjs} +3 -3
  5. package/dist/_stub.js +51 -51
  6. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_import_alexa_page-CZPqws-b.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_import_alexa_page-Ck3EMdmv.mjs} +3 -3
  7. package/dist/{_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Bj2TfHO6.mjs → _virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DE1dtKjc.mjs} +1 -1
  8. package/dist/addon.js +173 -173
  9. package/dist/addon.mjs +173 -173
  10. package/dist/{hostInit-Datq9hsz.mjs → hostInit-CoSVGWK6.mjs} +2 -2
  11. package/dist/{player-overlays-VaUrkkRt.mjs → player-overlays-CcdvNfxc.mjs} +1 -1
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{responsive-D9B1kcZz.mjs → responsive-BmleF5y2.mjs} +1 -1
  14. package/dist/{scene-monitor-copy-CunyuMVK.mjs → scene-monitor-copy-BEZSY5WG.mjs} +1 -1
  15. package/dist/{square-CuVo4SNm.mjs → square-DZHhUhzl.mjs} +1 -1
  16. package/dist/{trash-2-Bjze04-b.mjs → trash-2-BVrrPiKB.mjs} +1 -1
  17. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BY9vB6pT.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BA8fy0_J.mjs} +1 -1
  18. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.162] - 2026-10-28
11
+
12
+ ### Changed
13
+
14
+ - Device value fields are named after their quantity instead of their unit; run the quantity-field migration after updating
15
+
16
+ ## [0.2.161] - 2026-10-28
17
+
18
+ ### Changed
19
+
20
+ - Rebuilt against updated dependencies.
21
+
10
22
  ## [0.2.160] - 2026-10-28
11
23
 
12
24
  ### Changed
@@ -1,8 +1,8 @@
1
1
  import { S as e, _ as t, d as n, g as r, l as i, v as a } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react__loadShare__.js-DwXXYAlk.mjs";
2
2
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-CUiVYNMY.mjs";
3
3
  import { r as l, t as ee } from "./ui-text-B5YO4hoJ.mjs";
4
- import { h as u, l as d, p as f, s as p, u as te } from "./responsive-D9B1kcZz.mjs";
5
- import { n as ne, t as m } from "./player-overlays-VaUrkkRt.mjs";
4
+ import { h as u, l as d, p as f, s as p, u as te } from "./responsive-BmleF5y2.mjs";
5
+ import { n as ne, t as m } from "./player-overlays-CcdvNfxc.mjs";
6
6
  import { MaskShapeCanvas as h } from "./MaskShapeCanvas-B6q5RDLi.mjs";
7
7
  var g = u("grid-2x2", [
8
8
  ["path", {
@@ -1,10 +1,10 @@
1
1
  import { S as e, _ as t, d as n, g as r, l as i, v as a } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react__loadShare__.js-DwXXYAlk.mjs";
2
2
  import { n as o, r as s, t as ee } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-CUiVYNMY.mjs";
3
3
  import { r as te, t as ne } from "./ui-text-B5YO4hoJ.mjs";
4
- import { h as c, l as re, p as ie, s as l, u as ae } from "./responsive-D9B1kcZz.mjs";
5
- import { n as oe, t as se } from "./player-overlays-VaUrkkRt.mjs";
6
- import { n as ce, r as le, t as ue } from "./square-CuVo4SNm.mjs";
7
- import { t as de } from "./trash-2-Bjze04-b.mjs";
4
+ import { h as c, l as re, p as ie, s as l, u as ae } from "./responsive-BmleF5y2.mjs";
5
+ import { n as oe, t as se } from "./player-overlays-CcdvNfxc.mjs";
6
+ import { n as ce, r as le, t as ue } from "./square-DZHhUhzl.mjs";
7
+ import { t as de } from "./trash-2-BVrrPiKB.mjs";
8
8
  import { MaskShapeCanvas as fe } from "./MaskShapeCanvas-B6q5RDLi.mjs";
9
9
  var pe = c("hexagon", [["path", {
10
10
  d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",
@@ -1,9 +1,9 @@
1
1
  import { S as e, _ as t, d as n, g as r, l as i, v as a } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react__loadShare__.js-DwXXYAlk.mjs";
2
2
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-CUiVYNMY.mjs";
3
3
  import { r as l, t as u } from "./ui-text-B5YO4hoJ.mjs";
4
- import { d, h as f, l as p, p as m, s as h, u as g } from "./responsive-D9B1kcZz.mjs";
5
- import { a as _, c as v, d as y, f as ee, i as b, l as x, n as S, o as C, r as w, s as T, t as E, u as D } from "./scene-monitor-copy-CunyuMVK.mjs";
6
- import { t as O } from "./trash-2-Bjze04-b.mjs";
4
+ import { d, h as f, l as p, p as m, s as h, u as g } from "./responsive-BmleF5y2.mjs";
5
+ import { a as _, c as v, d as y, f as ee, i as b, l as x, n as S, o as C, r as w, s as T, t as E, u as D } from "./scene-monitor-copy-BEZSY5WG.mjs";
6
+ import { t as O } from "./trash-2-BVrrPiKB.mjs";
7
7
  import { MaskShapeCanvas as k } from "./MaskShapeCanvas-B6q5RDLi.mjs";
8
8
  var te = f("settings-2", [
9
9
  ["path", {
package/dist/_stub.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { S as e, _ as t, a as n, b as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, t as p, u as m, v as h, y as g } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react__loadShare__.js-DwXXYAlk.mjs";
2
2
  import { n as _, r as v, t as y } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-CUiVYNMY.mjs";
3
3
  import { n as b, r as x } from "./ui-text-B5YO4hoJ.mjs";
4
- import { C as S, S as C, T as w, _ as T, a as ee, b as te, d as ne, f as re, g as ie, h as ae, i as oe, l as se, m as ce, n as le, o as E, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as D, x as ge, y as _e } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Bj2TfHO6.mjs";
5
- import { a as ve, c as ye, d as be, f as xe, h as O, i as Se, m as Ce, n as we, o as Te, r as Ee, t as De, u as Oe } from "./responsive-D9B1kcZz.mjs";
6
- import { d as ke, f as Ae, u as je } from "./scene-monitor-copy-CunyuMVK.mjs";
7
- import { r as Me } from "./player-overlays-VaUrkkRt.mjs";
8
- import { r as Ne, t as Pe } from "./square-CuVo4SNm.mjs";
9
- import "./trash-2-Bjze04-b.mjs";
4
+ import { C as S, S as C, T as w, _ as T, a as ee, b as te, d as ne, f as re, g as ie, h as ae, i as oe, l as se, m as ce, n as le, o as E, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as D, x as ge, y as _e } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DE1dtKjc.mjs";
5
+ import { a as ve, c as ye, d as be, f as xe, h as O, i as Se, m as Ce, n as we, o as Te, r as Ee, t as De, u as Oe } from "./responsive-BmleF5y2.mjs";
6
+ import { d as ke, f as Ae, u as je } from "./scene-monitor-copy-BEZSY5WG.mjs";
7
+ import { r as Me } from "./player-overlays-CcdvNfxc.mjs";
8
+ import { r as Ne, t as Pe } from "./square-DZHhUhzl.mjs";
9
+ import "./trash-2-BVrrPiKB.mjs";
10
10
  import { t as Fe } from "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-B3qxfxBT.mjs";
11
11
  import "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_2_dom__loadShare__.js-CIPmAyPi.mjs";
12
12
  import "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-Bct5qZia.mjs";
13
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BY9vB6pT.mjs";
13
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BA8fy0_J.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-tXm1x5EZ.mjs";
15
15
  import "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-BHqOw8oh.mjs";
16
16
  import "./_virtual_mf___mfe_internal__addon_import_alexa_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-BmoaT3cr.mjs";
@@ -28926,7 +28926,7 @@ function M_({ className: e, ...t }) {
28926
28926
  }
28927
28927
  //#endregion
28928
28928
  //#region ../../node_modules/qrcode.react/lib/esm/index.js
28929
- e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-TwgbETGR.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-BoNkDD5o.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
28929
+ e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-ByDKuk5o.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-Cn-_9Syv.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
28930
28930
  var N_ = Object.defineProperty, P_ = Object.getOwnPropertySymbols, F_ = Object.prototype.hasOwnProperty, I_ = Object.prototype.propertyIsEnumerable, L_ = (e, t, n) => t in e ? N_(e, t, {
28931
28931
  enumerable: !0,
28932
28932
  configurable: !0,
@@ -31014,15 +31014,15 @@ function ib({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
31014
31014
  min: 0,
31015
31015
  max: 100,
31016
31016
  step: 1,
31017
- value: c.percentage,
31017
+ value: c.level,
31018
31018
  disabled: u,
31019
31019
  onChange: (e) => {
31020
31020
  let t = Number(e.target.value);
31021
- l({ percentage: t }), u || a?.setBrightness({ percentage: t });
31021
+ l({ level: t }), u || a?.setBrightness({ level: t });
31022
31022
  }
31023
31023
  }), /* @__PURE__ */ v("span", {
31024
31024
  className: "tabular-nums w-8 text-right",
31025
- children: [c.percentage, "%"]
31025
+ children: [c.level, "%"]
31026
31026
  })]
31027
31027
  });
31028
31028
  }
@@ -31047,15 +31047,15 @@ function ab({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
31047
31047
  min: 0,
31048
31048
  max: 100,
31049
31049
  step: h,
31050
- value: l.percentage ?? 0,
31050
+ value: l.speed ?? 0,
31051
31051
  disabled: d,
31052
31052
  onChange: (e) => {
31053
31053
  let t = Number(e.target.value), n = Math.min(100, Math.max(0, Math.round(t / h) * h));
31054
- u({ percentage: n }), d || o?.setPercentage({ percentage: n });
31054
+ u({ speed: n }), d || o?.setPercentage({ speed: n });
31055
31055
  }
31056
31056
  }), /* @__PURE__ */ v("span", {
31057
31057
  className: "tabular-nums w-8 text-right",
31058
- children: [l.percentage ?? "—", "%"]
31058
+ children: [l.speed ?? "—", "%"]
31059
31059
  })]
31060
31060
  }), m && l.availablePresets.length > 0 && /* @__PURE__ */ _("div", {
31061
31061
  className: "flex items-center gap-2 text-xs text-foreground-subtle",
@@ -31856,25 +31856,25 @@ function zb(e, t) {
31856
31856
  var Bb = {
31857
31857
  "temperature-sensor": {
31858
31858
  kind: "numeric",
31859
- field: "celsius",
31859
+ field: "temperature",
31860
31860
  quantity: "temperature",
31861
31861
  getSliceHandle: (e) => e.temperatureSensor
31862
31862
  },
31863
31863
  "humidity-sensor": {
31864
31864
  kind: "numeric",
31865
- field: "percent",
31865
+ field: "humidity",
31866
31866
  quantity: "humidity",
31867
31867
  getSliceHandle: (e) => e.humiditySensor
31868
31868
  },
31869
31869
  "ambient-light-sensor": {
31870
31870
  kind: "numeric",
31871
- field: "lux",
31871
+ field: "illuminance",
31872
31872
  quantity: "illuminance",
31873
31873
  getSliceHandle: (e) => e.ambientLightSensor
31874
31874
  },
31875
31875
  "pressure-sensor": {
31876
31876
  kind: "numeric",
31877
- field: "hpa",
31877
+ field: "pressure",
31878
31878
  quantity: "pressure",
31879
31879
  getSliceHandle: (e) => e.pressureSensor
31880
31880
  },
@@ -31916,25 +31916,25 @@ var Bb = {
31916
31916
  },
31917
31917
  "power-sensor": {
31918
31918
  kind: "numeric",
31919
- field: "watts",
31919
+ field: "power",
31920
31920
  quantity: "power",
31921
31921
  getSliceHandle: (e) => e.powerMeter
31922
31922
  },
31923
31923
  "energy-sensor": {
31924
31924
  kind: "numeric",
31925
- field: "kwhTotal",
31925
+ field: "energy",
31926
31926
  quantity: "energy",
31927
31927
  getSliceHandle: (e) => e.powerMeter
31928
31928
  },
31929
31929
  "voltage-sensor": {
31930
31930
  kind: "numeric",
31931
- field: "volts",
31931
+ field: "voltage",
31932
31932
  quantity: "voltage",
31933
31933
  getSliceHandle: (e) => e.powerMeter
31934
31934
  },
31935
31935
  "current-sensor": {
31936
31936
  kind: "numeric",
31937
- field: "amps",
31937
+ field: "current",
31938
31938
  quantity: "current",
31939
31939
  getSliceHandle: (e) => e.powerMeter
31940
31940
  },
@@ -32532,9 +32532,9 @@ function ux(e, t) {
32532
32532
  }
32533
32533
  function dx(e) {
32534
32534
  let t = ux(e, "battery");
32535
- if (!(!cx(t) || typeof t.percentage != "number")) return {
32535
+ if (!(!cx(t) || typeof t.level != "number")) return {
32536
32536
  ...t,
32537
- value: t.percentage
32537
+ value: t.level
32538
32538
  };
32539
32539
  }
32540
32540
  function fx(e) {
@@ -33134,17 +33134,17 @@ function Ix({ trpc: e, deviceId: t }) {
33134
33134
  children: c.label
33135
33135
  }), i?.batteryLevel != null && /* @__PURE__ */ _(Nx, { level: i.batteryLevel })]
33136
33136
  }),
33137
- i?.progressPercent != null && /* @__PURE__ */ v("div", {
33137
+ i?.progress != null && /* @__PURE__ */ v("div", {
33138
33138
  className: "flex items-center gap-2",
33139
33139
  children: [/* @__PURE__ */ _("div", {
33140
33140
  className: "h-1.5 flex-1 rounded bg-surface-hover overflow-hidden",
33141
33141
  children: /* @__PURE__ */ _("div", {
33142
33142
  className: "h-full bg-primary transition-[width] duration-500",
33143
- style: { width: `${Math.max(0, Math.min(100, i.progressPercent))}%` }
33143
+ style: { width: `${Math.max(0, Math.min(100, i.progress))}%` }
33144
33144
  })
33145
33145
  }), /* @__PURE__ */ v("span", {
33146
33146
  className: "tabular-nums text-xs text-foreground-subtle",
33147
- children: [Math.round(i.progressPercent), "%"]
33147
+ children: [Math.round(i.progress), "%"]
33148
33148
  })]
33149
33149
  }),
33150
33150
  i?.errorCode != null && i.errorCode !== 0 && /* @__PURE__ */ v("div", {
@@ -33604,7 +33604,7 @@ function Yx({ trpc: e, deviceId: t }) {
33604
33604
  children: c.label
33605
33605
  }), i?.batteryLevel != null && /* @__PURE__ */ _(Gx, { level: i.batteryLevel })]
33606
33606
  }),
33607
- i?.progressPercent != null && /* @__PURE__ */ _(Ux, { percent: i.progressPercent }),
33607
+ i?.progress != null && /* @__PURE__ */ _(Ux, { percent: i.progress }),
33608
33608
  i?.currentCode != null && /* @__PURE__ */ _(Wx, {
33609
33609
  code: i.currentCode,
33610
33610
  label: i.currentCodeLabel,
@@ -35785,9 +35785,9 @@ function sC({ trpc: e, deviceId: t, layout: n }) {
35785
35785
  title: s.program,
35786
35786
  children: eC(s.program)
35787
35787
  }),
35788
- s.remainingSeconds != null && /* @__PURE__ */ v("span", {
35788
+ s.remaining != null && /* @__PURE__ */ v("span", {
35789
35789
  className: "inline-flex items-center gap-0.5 text-xs text-foreground-subtle tabular-nums shrink-0",
35790
- children: [/* @__PURE__ */ _(gn, { className: "h-3 w-3" }), rC(s.remainingSeconds, r)]
35790
+ children: [/* @__PURE__ */ _(gn, { className: "h-3 w-3" }), rC(s.remaining, r)]
35791
35791
  }),
35792
35792
  /* @__PURE__ */ _(aC, {
35793
35793
  label: r("uiLibrary.dishwasher.start", "Start"),
@@ -35813,7 +35813,7 @@ function sC({ trpc: e, deviceId: t, layout: n }) {
35813
35813
  className: "flex items-start gap-4",
35814
35814
  children: [/* @__PURE__ */ _(oC, {
35815
35815
  running: f,
35816
- progressPercent: s.progressPercent
35816
+ progressPercent: s.progress
35817
35817
  }), /* @__PURE__ */ v("div", {
35818
35818
  className: "flex min-w-0 flex-1 flex-col gap-2",
35819
35819
  children: [
@@ -35832,25 +35832,25 @@ function sC({ trpc: e, deviceId: t, layout: n }) {
35832
35832
  title: s.program,
35833
35833
  children: eC(s.program)
35834
35834
  }),
35835
- s.remainingSeconds != null && /* @__PURE__ */ v("span", {
35835
+ s.remaining != null && /* @__PURE__ */ v("span", {
35836
35836
  className: "inline-flex items-center gap-1 text-sm text-foreground-subtle tabular-nums",
35837
- children: [/* @__PURE__ */ _(gn, { className: "h-3.5 w-3.5" }), r("uiLibrary.dishwasher.remaining", "{{time}} left", { time: rC(s.remainingSeconds, r) })]
35837
+ children: [/* @__PURE__ */ _(gn, { className: "h-3.5 w-3.5" }), r("uiLibrary.dishwasher.remaining", "{{time}} left", { time: rC(s.remaining, r) })]
35838
35838
  }),
35839
- s.delayedStartSeconds != null && s.delayedStartSeconds > 0 && /* @__PURE__ */ _("span", {
35839
+ s.delayedStart != null && s.delayedStart > 0 && /* @__PURE__ */ _("span", {
35840
35840
  className: "text-xs text-foreground-subtle tabular-nums",
35841
- children: r("uiLibrary.dishwasher.startsIn", "Starts in {{time}}", { time: rC(s.delayedStartSeconds, r) })
35841
+ children: r("uiLibrary.dishwasher.startsIn", "Starts in {{time}}", { time: rC(s.delayedStart, r) })
35842
35842
  }),
35843
- s.progressPercent != null && /* @__PURE__ */ v("div", {
35843
+ s.progress != null && /* @__PURE__ */ v("div", {
35844
35844
  className: "flex items-center gap-2",
35845
35845
  children: [/* @__PURE__ */ _("div", {
35846
35846
  className: "h-1.5 flex-1 rounded bg-surface-hover overflow-hidden",
35847
35847
  children: /* @__PURE__ */ _("div", {
35848
35848
  className: "h-full bg-primary transition-[width] duration-500",
35849
- style: { width: `${Math.max(0, Math.min(100, s.progressPercent))}%` }
35849
+ style: { width: `${Math.max(0, Math.min(100, s.progress))}%` }
35850
35850
  })
35851
35851
  }), /* @__PURE__ */ v("span", {
35852
35852
  className: "tabular-nums text-xs text-foreground-subtle",
35853
- children: [Math.round(s.progressPercent), "%"]
35853
+ children: [Math.round(s.progress), "%"]
35854
35854
  })]
35855
35855
  }),
35856
35856
  /* @__PURE__ */ v("div", {
@@ -36977,7 +36977,7 @@ function ow({ trpc: e, deviceId: t, features: n, optimistic: r }) {
36977
36977
  slice: (e) => e.state.color
36978
36978
  }), c = $(a.slice, { enabled: r ?? !0 }), l = $(o.slice, { enabled: r ?? !0 }), u = $(s.slice, { enabled: r ?? !0 });
36979
36979
  if (a.cap === void 0 || c.display === void 0) return null;
36980
- let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? iw : aw, y = (n?.includes(C.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.mireds, S = !s.available;
36980
+ let d = c.display.on === !0, f = !a.available, p = l.display?.level ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? iw : aw, y = (n?.includes(C.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.colorTemperature, S = !s.available;
36981
36981
  return /* @__PURE__ */ v("div", {
36982
36982
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4",
36983
36983
  children: [
@@ -37015,7 +37015,7 @@ function ow({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37015
37015
  disabled: m || !d,
37016
37016
  onChange: (e) => {
37017
37017
  let t = Number(e.target.value);
37018
- l.applyOptimistic({ percentage: t }), m || o.cap?.setBrightness({ percentage: t });
37018
+ l.applyOptimistic({ level: t }), m || o.cap?.setBrightness({ level: t });
37019
37019
  }
37020
37020
  }),
37021
37021
  /* @__PURE__ */ v("span", {
@@ -37066,10 +37066,10 @@ function ow({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37066
37066
  let t = Number(e.target.value);
37067
37067
  u.applyOptimistic({
37068
37068
  mode: "mired",
37069
- mireds: t
37069
+ colorTemperature: t
37070
37070
  }), S || s.cap?.setColor({ color: {
37071
37071
  mode: "mired",
37072
- mireds: t
37072
+ colorTemperature: t
37073
37073
  } });
37074
37074
  }
37075
37075
  }),
@@ -37102,7 +37102,7 @@ function lw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37102
37102
  slice: (e) => e.state.fanControl
37103
37103
  }), s = $(a.slice, { enabled: r ?? !0 }), c = $(o.slice, { enabled: r ?? !0 });
37104
37104
  if (a.cap === void 0 || s.display === void 0) return null;
37105
- let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? sw : cw, h = n?.includes(C.FanSpeed) ?? !1, g = (n?.includes(C.FanOscillating) ?? !1) && o.cap !== void 0, y = c.display?.availablePresets ?? [], b = (n?.includes(C.FanPreset) ?? !1) && o.cap !== void 0 && y.length > 0, S = c.display?.preset ?? "", w = c.display?.oscillating === !0, T = () => {
37105
+ let l = s.display.on === !0, u = !a.available, d = c.display?.speed ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? sw : cw, h = n?.includes(C.FanSpeed) ?? !1, g = (n?.includes(C.FanOscillating) ?? !1) && o.cap !== void 0, y = c.display?.availablePresets ?? [], b = (n?.includes(C.FanPreset) ?? !1) && o.cap !== void 0 && y.length > 0, S = c.display?.preset ?? "", w = c.display?.oscillating === !0, T = () => {
37106
37106
  if (u) return;
37107
37107
  let e = !l;
37108
37108
  s.applyOptimistic({ on: e }), a.cap?.setState({ on: e });
@@ -37115,7 +37115,7 @@ function lw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37115
37115
  let t = c.display;
37116
37116
  if (t === void 0) return;
37117
37117
  let n = t.percentageStep !== void 0 && t.percentageStep > 0 ? t.percentageStep : 1, r = Math.min(100, Math.max(0, Math.round(e * 100 / n) * n));
37118
- c.applyOptimistic({ percentage: r }), o.cap?.setPercentage({ percentage: r });
37118
+ c.applyOptimistic({ speed: r }), o.cap?.setPercentage({ speed: r });
37119
37119
  }, ne = (e) => {
37120
37120
  f || e === "" || (c.applyOptimistic({ preset: e }), o.cap?.setPreset({ preset: e }));
37121
37121
  };
@@ -37292,9 +37292,9 @@ function gw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37292
37292
  slice: (e) => e.state.mediaPlayer
37293
37293
  }), { display: c, applyOptimistic: l } = $(o, { enabled: r ?? !0 });
37294
37294
  if (a === void 0 || c === void 0) return null;
37295
- let u = !s, d = dw(c.state), f = (n?.includes(C.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(C.MediaPlayerNext) ?? !1, m = n?.includes(C.MediaPlayerPrevious) ?? !1, h = (n?.includes(C.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
37295
+ let u = !s, d = dw(c.state), f = (n?.includes(C.MediaPlayerSeek) ?? !1) && c.duration !== null && c.duration > 0, p = n?.includes(C.MediaPlayerNext) ?? !1, m = n?.includes(C.MediaPlayerPrevious) ?? !1, h = (n?.includes(C.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
37296
37296
  u || (d === "play" ? (l({ state: "playing" }), a.play({})) : (l({ state: "paused" }), a.pause({})));
37297
- }, y = c.currentMedia?.artist ?? c.currentMedia?.album ?? null, b = fw(c.positionMs, c.durationMs), S = c.volumeLevel ?? 0;
37297
+ }, y = c.currentMedia?.artist ?? c.currentMedia?.album ?? null, b = fw(c.position, c.duration), S = c.volumeLevel ?? 0;
37298
37298
  return /* @__PURE__ */ v("div", {
37299
37299
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-6",
37300
37300
  children: [
@@ -37316,15 +37316,15 @@ function gw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37316
37316
  "aria-label": i("uiLibrary.mediaPlayerHero.seek", "Seek"),
37317
37317
  type: "range",
37318
37318
  min: 0,
37319
- max: c.durationMs ?? 0,
37319
+ max: c.duration ?? 0,
37320
37320
  step: 1e3,
37321
37321
  className: "absolute inset-0 h-4 w-full cursor-pointer opacity-0",
37322
- value: c.positionMs ?? 0,
37322
+ value: c.position ?? 0,
37323
37323
  disabled: u,
37324
37324
  onChange: (e) => {
37325
37325
  if (u) return;
37326
37326
  let t = Number(e.target.value);
37327
- l({ positionMs: t }), a.seek({ positionMs: t });
37327
+ l({ position: t }), a.seek({ position: t });
37328
37328
  }
37329
37329
  }),
37330
37330
  /* @__PURE__ */ _("div", {
@@ -37334,7 +37334,7 @@ function gw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
37334
37334
  ]
37335
37335
  }), /* @__PURE__ */ v("div", {
37336
37336
  className: "flex justify-between text-[11px] tabular-nums text-foreground-subtle",
37337
- children: [/* @__PURE__ */ _("span", { children: pw(c.positionMs) }), /* @__PURE__ */ _("span", { children: pw(c.durationMs) })]
37337
+ children: [/* @__PURE__ */ _("span", { children: pw(c.position) }), /* @__PURE__ */ _("span", { children: pw(c.duration) })]
37338
37338
  })]
37339
37339
  }),
37340
37340
  /* @__PURE__ */ v("div", {
@@ -38990,7 +38990,7 @@ function tE(e, t) {
38990
38990
  translate: (t, n) => YT(e, BT(), t, n)
38991
38991
  };
38992
38992
  }
38993
- e(), n(() => import("./MaskShapeCanvas-B6q5RDLi.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-TwgbETGR.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-4TxlnJK0.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-BoNkDD5o.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
38993
+ e(), n(() => import("./MaskShapeCanvas-B6q5RDLi.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-ByDKuk5o.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-jDMtE1yg.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-Cn-_9Syv.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
38994
38994
  //#endregion
38995
38995
  //#region src/i18n/index.ts
38996
38996
  var { useT: nE, Trans: rE, translate: iE } = tE("import-alexa", {
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BY9vB6pT.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_import_alexa_page__remoteEntry_js-BA8fy0_J.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_import_alexa_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.432",
21
+ version: "1.2.435",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_import_alexa_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.341",
36
+ version: "1.2.343",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_import_alexa_page",