@camstack/addon-provider-ecowitt 0.2.7 → 0.2.8

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
@@ -14009,6 +14009,18 @@ var motionCapability = {
14009
14009
  name: "motion",
14010
14010
  scope: "device",
14011
14011
  mode: "singleton",
14012
+ /**
14013
+ * Providers register per-device natives via `ctx.registerNativeCap`
14014
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14015
+ * NO system singleton provider. Without this flag `resolveCapMount`
14016
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14017
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14018
+ * call 412'd "provider not available" while bindings listed a live
14019
+ * `motion` native (2026-08-02). The flag routes the router through
14020
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14021
+ * `snapshot` and every other per-device native cap.
14022
+ */
14023
+ deviceNative: true,
14012
14024
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14013
14025
  methods: {
14014
14026
  /**
package/dist/addon.mjs CHANGED
@@ -14008,6 +14008,18 @@ var motionCapability = {
14008
14008
  name: "motion",
14009
14009
  scope: "device",
14010
14010
  mode: "singleton",
14011
+ /**
14012
+ * Providers register per-device natives via `ctx.registerNativeCap`
14013
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14014
+ * NO system singleton provider. Without this flag `resolveCapMount`
14015
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14016
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14017
+ * call 412'd "provider not available" while bindings listed a live
14018
+ * `motion` native (2026-08-02). The flag routes the router through
14019
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14020
+ * `snapshot` and every other per-device native cap.
14021
+ */
14022
+ deviceNative: true,
14011
14023
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14012
14024
  methods: {
14013
14025
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-ecowitt",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Ecowitt weather-station device-provider addon for CamStack — wraps the @apocaliss92/nodewitt local-poll / push client",
5
5
  "keywords": [
6
6
  "camstack",