@camstack/addon-provider-homeassistant 1.2.8 → 1.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 +12 -0
- package/dist/addon.mjs +12 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14360,6 +14360,18 @@ var motionCapability = {
|
|
|
14360
14360
|
name: "motion",
|
|
14361
14361
|
scope: "device",
|
|
14362
14362
|
mode: "singleton",
|
|
14363
|
+
/**
|
|
14364
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14365
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14366
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14367
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14368
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14369
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14370
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14371
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14372
|
+
* `snapshot` and every other per-device native cap.
|
|
14373
|
+
*/
|
|
14374
|
+
deviceNative: true,
|
|
14363
14375
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14364
14376
|
methods: {
|
|
14365
14377
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -14359,6 +14359,18 @@ var motionCapability = {
|
|
|
14359
14359
|
name: "motion",
|
|
14360
14360
|
scope: "device",
|
|
14361
14361
|
mode: "singleton",
|
|
14362
|
+
/**
|
|
14363
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14364
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14365
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14366
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14367
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14368
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14369
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14370
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14371
|
+
* `snapshot` and every other per-device native cap.
|
|
14372
|
+
*/
|
|
14373
|
+
deviceNative: true,
|
|
14362
14374
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14363
14375
|
methods: {
|
|
14364
14376
|
/**
|