@camstack/addon-provider-homematic 1.2.142 → 1.2.143

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
@@ -60845,9 +60845,24 @@ var NpuInfoSchema = object({
60845
60845
  name: string().optional(),
60846
60846
  generation: _enum(["xdna1", "xdna2"]).optional()
60847
60847
  });
60848
+ var CoralBusSchema = _enum(["usb", "pci"]);
60848
60849
  var CoralInfoSchema = object({
60849
60850
  type: literal("coral-edgetpu"),
60850
- bus: string().optional()
60851
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60852
+ bus: string().optional(),
60853
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60854
+ count: number().int().nonnegative().optional(),
60855
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60856
+ units: array(object({
60857
+ bus: CoralBusSchema,
60858
+ count: number().int().nonnegative()
60859
+ })).readonly().optional(),
60860
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60861
+ unavailable: array(object({
60862
+ bus: CoralBusSchema,
60863
+ count: number().int().nonnegative(),
60864
+ reason: _enum(["driver-missing", "device-not-accessible"])
60865
+ })).readonly().optional()
60851
60866
  });
60852
60867
  var HardwareInfoSchema = object({
60853
60868
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60846,9 +60846,24 @@ var NpuInfoSchema = object({
60846
60846
  name: string().optional(),
60847
60847
  generation: _enum(["xdna1", "xdna2"]).optional()
60848
60848
  });
60849
+ var CoralBusSchema = _enum(["usb", "pci"]);
60849
60850
  var CoralInfoSchema = object({
60850
60851
  type: literal("coral-edgetpu"),
60851
- bus: string().optional()
60852
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60853
+ bus: string().optional(),
60854
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60855
+ count: number().int().nonnegative().optional(),
60856
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60857
+ units: array(object({
60858
+ bus: CoralBusSchema,
60859
+ count: number().int().nonnegative()
60860
+ })).readonly().optional(),
60861
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60862
+ unavailable: array(object({
60863
+ bus: CoralBusSchema,
60864
+ count: number().int().nonnegative(),
60865
+ reason: _enum(["driver-missing", "device-not-accessible"])
60866
+ })).readonly().optional()
60852
60867
  });
60853
60868
  var HardwareInfoSchema = object({
60854
60869
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.142",
3
+ "version": "1.2.143",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",