@camstack/addon-import-alexa 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/addon.js CHANGED
@@ -14162,6 +14162,18 @@ var motionCapability = {
14162
14162
  name: "motion",
14163
14163
  scope: "device",
14164
14164
  mode: "singleton",
14165
+ /**
14166
+ * Providers register per-device natives via `ctx.registerNativeCap`
14167
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14168
+ * NO system singleton provider. Without this flag `resolveCapMount`
14169
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14170
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14171
+ * call 412'd "provider not available" while bindings listed a live
14172
+ * `motion` native (2026-08-02). The flag routes the router through
14173
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14174
+ * `snapshot` and every other per-device native cap.
14175
+ */
14176
+ deviceNative: true,
14165
14177
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14166
14178
  methods: {
14167
14179
  /**
package/dist/addon.mjs CHANGED
@@ -14162,6 +14162,18 @@ var motionCapability = {
14162
14162
  name: "motion",
14163
14163
  scope: "device",
14164
14164
  mode: "singleton",
14165
+ /**
14166
+ * Providers register per-device natives via `ctx.registerNativeCap`
14167
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14168
+ * NO system singleton provider. Without this flag `resolveCapMount`
14169
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14170
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14171
+ * call 412'd "provider not available" while bindings listed a live
14172
+ * `motion` native (2026-08-02). The flag routes the router through
14173
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14174
+ * `snapshot` and every other per-device native cap.
14175
+ */
14176
+ deviceNative: true,
14165
14177
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14166
14178
  methods: {
14167
14179
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",