@camstack/addon-provider-homematic 1.2.7 → 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
|
@@ -14015,6 +14015,18 @@ var motionCapability = {
|
|
|
14015
14015
|
name: "motion",
|
|
14016
14016
|
scope: "device",
|
|
14017
14017
|
mode: "singleton",
|
|
14018
|
+
/**
|
|
14019
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14020
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14021
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14022
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14023
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14024
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14025
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14026
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14027
|
+
* `snapshot` and every other per-device native cap.
|
|
14028
|
+
*/
|
|
14029
|
+
deviceNative: true,
|
|
14018
14030
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14019
14031
|
methods: {
|
|
14020
14032
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -14016,6 +14016,18 @@ var motionCapability = {
|
|
|
14016
14016
|
name: "motion",
|
|
14017
14017
|
scope: "device",
|
|
14018
14018
|
mode: "singleton",
|
|
14019
|
+
/**
|
|
14020
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14021
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14022
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14023
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14024
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14025
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14026
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14027
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14028
|
+
* `snapshot` and every other per-device native cap.
|
|
14029
|
+
*/
|
|
14030
|
+
deviceNative: true,
|
|
14019
14031
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14020
14032
|
methods: {
|
|
14021
14033
|
/**
|
package/package.json
CHANGED