@camstack/addon-export-alexa 1.2.169 → 1.2.171

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.
@@ -5,7 +5,7 @@ import "node:fs";
5
5
  import "node:path";
6
6
  import "node:child_process";
7
7
  import "node:zlib";
8
- //#region ../types/dist/event-category-DHXxB8t9.mjs
8
+ //#region ../types/dist/event-category-CT-hz5Rb.mjs
9
9
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
10
10
  EventCategory["SystemBoot"] = "system.boot";
11
11
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -331,6 +331,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
331
331
  /** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
332
332
  EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
333
333
  /**
334
+ * A camera's package LLM confirm has failed closed three times in a row
335
+ * (D931, 2026-10-26). One edge per camera until
336
+ * {@link PipelinePackageLlmAnswered}.
337
+ */
338
+ EventCategory["PipelinePackageLlmSilent"] = "pipeline.package-llm-silent";
339
+ /** The recovery edge of {@link PipelinePackageLlmSilent}: a confirm returned yes or no. */
340
+ EventCategory["PipelinePackageLlmAnswered"] = "pipeline.package-llm-answered";
341
+ /**
334
342
  * Per-camera pipeline config was mutated by the orchestrator
335
343
  * (a settings change via `setAgentInferenceDevices` /
336
344
  * `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
@@ -5440,7 +5448,7 @@ var ZodIssueCode = {
5440
5448
  var ZodFirstPartyTypeKind;
5441
5449
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5442
5450
  //#endregion
5443
- //#region ../types/dist/sleep-CARd6wZF.mjs
5451
+ //#region ../types/dist/sleep-bykKrTgu.mjs
5444
5452
  /**
5445
5453
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5446
5454
  * window to float samples (D455).
@@ -7966,6 +7974,53 @@ var READING_QUANTITIES = [
7966
7974
  ];
7967
7975
  var ReadingQuantitySchema = _enum(READING_QUANTITIES);
7968
7976
  new Set(READING_QUANTITIES);
7977
+ /**
7978
+ * Stored unit symbol for a quantity. `none` means the number is dimensionless
7979
+ * (or an index / ratio / count). `device` means the cap has no single unit.
7980
+ */
7981
+ var QUANTITY_BASE = {
7982
+ temperature: "°C",
7983
+ pressure: "hPa",
7984
+ speed: "m/s",
7985
+ precipitation: "mm",
7986
+ "precipitation-rate": "mm/h",
7987
+ length: "m",
7988
+ area: "m²",
7989
+ illuminance: "lx",
7990
+ irradiance: "W/m²",
7991
+ power: "W",
7992
+ energy: "kWh",
7993
+ voltage: "V",
7994
+ current: "A",
7995
+ "apparent-power": "VA",
7996
+ humidity: "%",
7997
+ percentage: "%",
7998
+ "concentration-volume": "ppm",
7999
+ "concentration-mass": "µg/m³",
8000
+ "concentration-ppb": "ppb",
8001
+ volume: "L",
8002
+ duration: "s",
8003
+ "duration-ms": "ms",
8004
+ information: "B",
8005
+ "sound-level": "dBFS",
8006
+ "signal-level": "dBm",
8007
+ "colour-temperature": "mired",
8008
+ angle: "°",
8009
+ bitrate: "kbps",
8010
+ rate: "fps",
8011
+ mass: "kg",
8012
+ index: "none",
8013
+ ratio: "none",
8014
+ count: "none",
8015
+ none: "none",
8016
+ device: "device"
8017
+ };
8018
+ /** The stored unit, or `undefined` when the quantity has no unit symbol. */
8019
+ function baseUnitOf(quantity) {
8020
+ const symbol = QUANTITY_BASE[quantity];
8021
+ if (symbol === "none" || symbol === "device") return void 0;
8022
+ return symbol;
8023
+ }
7969
8024
  function readingMeta(quantity, extras) {
7970
8025
  return {
7971
8026
  quantity,
@@ -8537,6 +8592,8 @@ var CAP_NAMES = Object.freeze([
8537
8592
  "filesystem-browse",
8538
8593
  "flood",
8539
8594
  "gas",
8595
+ "group-commands",
8596
+ "group-status",
8540
8597
  "heating-valve",
8541
8598
  "humidifier",
8542
8599
  "humidity-sensor",
@@ -9355,6 +9412,20 @@ Object.freeze({
9355
9412
  "path": "detected",
9356
9413
  "valueType": "boolean"
9357
9414
  }],
9415
+ "group-status": [
9416
+ {
9417
+ "path": "included",
9418
+ "valueType": "number"
9419
+ },
9420
+ {
9421
+ "path": "excluded",
9422
+ "valueType": "number"
9423
+ },
9424
+ {
9425
+ "path": "total",
9426
+ "valueType": "number"
9427
+ }
9428
+ ],
9358
9429
  "heating-valve": [{
9359
9430
  "path": "position",
9360
9431
  "valueType": "number"
@@ -10343,7 +10414,7 @@ object({
10343
10414
  params: record(string(), union([string(), number()])).optional()
10344
10415
  });
10345
10416
  //#endregion
10346
- //#region ../types/dist/err-msg-BXKzRBwg.mjs
10417
+ //#region ../types/dist/err-msg-DIorGYeC.mjs
10347
10418
  var DeviceType = /* @__PURE__ */ function(DeviceType) {
10348
10419
  DeviceType["Camera"] = "camera";
10349
10420
  DeviceType["Hub"] = "hub";
@@ -10437,8 +10508,14 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
10437
10508
  DeviceType["PetFeeder"] = "pet-feeder";
10438
10509
  /** Built-in dishwasher — program lifecycle, door / remote-start gates,
10439
10510
  * salt and rinse-aid levels. Installed with the `dishwasher` cap.
10440
- * Sources: native Bosch Home Connect, reusable by similar integrations. */
10511
+ * Sources: native Bosch Home Connect, reusable by similar integrations.
10512
+ * A plug-built dishwasher carries running-state and power instead. */
10441
10513
  DeviceType["Dishwasher"] = "dishwasher";
10514
+ /** Washing machine. A plug-built one is running while its power stays
10515
+ * above a threshold. No program cap — that surface is the dishwasher's. */
10516
+ DeviceType["Washer"] = "washer";
10517
+ /** Tumble dryer. Same plug-built running surface as {@link Washer}. */
10518
+ DeviceType["Dryer"] = "dryer";
10442
10519
  return DeviceType;
10443
10520
  }({});
10444
10521
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
@@ -10696,7 +10773,7 @@ function errMsg(err) {
10696
10773
  return String(err);
10697
10774
  }
10698
10775
  //#endregion
10699
- //#region ../types/dist/composition-kEl9mevu.mjs
10776
+ //#region ../types/dist/composition-B2rw5L29.mjs
10700
10777
  /**
10701
10778
  * The ffmpeg build every CamStack node downloads, per platform and arch.
10702
10779
  *
@@ -11451,15 +11528,102 @@ function validateExpressionSource(src) {
11451
11528
  }
11452
11529
  return null;
11453
11530
  }
11454
- /** A composed device's stableId is this prefix plus the block id. */
11455
- var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
11456
- /** Longest snippet a `code` source may carry (slice 4). */
11457
- var MAX_COMPOSITION_CODE_LENGTH = 2e4;
11531
+ /**
11532
+ * One power reading becomes a washer, dryer or dishwasher (D944 helper).
11533
+ *
11534
+ * Standby of the control board is under 5 W; a motor or a heater is far
11535
+ * above that, so 5 W is the line. A door lock or a short pump spike is not
11536
+ * a cycle, so running starts only after 30 s above the line.
11537
+ *
11538
+ * A wash, dry or dishwasher pause (soak, heat-wait, heater off between
11539
+ * bursts) lasts several minutes. Ending the cycle on the first dip would
11540
+ * report "finished" in the middle of the program, so the stop dwell is
11541
+ * 10 minutes on every type. The number is stored per type so one machine
11542
+ * can move later without moving the others.
11543
+ */
11544
+ var APPLIANCE_TEMPLATE_ID = "appliance";
11545
+ var APPLIANCE_KINDS = [
11546
+ "washer",
11547
+ "dryer",
11548
+ "dishwasher"
11549
+ ];
11550
+ DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
11551
+ /**
11552
+ * A composition source identity: `(addonId, stableId)`, never a numeric device
11553
+ * id. Split out so helper schemas can name it without a cycle through
11554
+ * `composition.ts` (D659).
11555
+ */
11458
11556
  var CompositionSourceRefSchema = object({
11459
11557
  /** The owning addon; `stableId` is unique only within it. */
11460
11558
  addonId: string().min(1),
11461
11559
  stableId: string().min(1)
11462
11560
  });
11561
+ var GROUP_TEMPLATE_IDS = [
11562
+ "temperature",
11563
+ "humidity",
11564
+ "pressure",
11565
+ "illuminance",
11566
+ "power",
11567
+ "energy",
11568
+ "battery",
11569
+ "numeric",
11570
+ "motion",
11571
+ "contact",
11572
+ "leak",
11573
+ "smoke",
11574
+ "occupancy",
11575
+ "binary",
11576
+ "switch",
11577
+ "light"
11578
+ ];
11579
+ var NUMERIC_AGGREGATES = [
11580
+ "mean",
11581
+ "median",
11582
+ "min",
11583
+ "max",
11584
+ "sum"
11585
+ ];
11586
+ var BINARY_AGGREGATES = ["any", "all"];
11587
+ /** How an actuator group decides it is on. Unknown members never count as off. */
11588
+ var ACTIVE_CRITERIA = ["at-least-one", "all"];
11589
+ var AGGREGATE_REDUCERS = [
11590
+ "mean",
11591
+ "median",
11592
+ "min",
11593
+ "max",
11594
+ "sum",
11595
+ "any",
11596
+ "all"
11597
+ ];
11598
+ var GroupTemplateIdSchema = _enum(GROUP_TEMPLATE_IDS);
11599
+ var AggregateReducerSchema = _enum(AGGREGATE_REDUCERS);
11600
+ var ActiveCriterionSchema = _enum(ACTIVE_CRITERIA);
11601
+ /** One member. The field is stored so occupancy can name motion or binary. */
11602
+ var HelperMemberSchema = object({
11603
+ source: CompositionSourceRefSchema,
11604
+ cap: string().min(1),
11605
+ fieldPath: string().min(1)
11606
+ });
11607
+ var HelperSpecSchema = discriminatedUnion("kind", [object({
11608
+ kind: literal("group"),
11609
+ templateId: GroupTemplateIdSchema,
11610
+ aggregate: AggregateReducerSchema,
11611
+ members: array(HelperMemberSchema).min(1).max(64),
11612
+ /** Actuator groups only. Readings leave this unset. */
11613
+ active: ActiveCriterionSchema.optional()
11614
+ }), object({
11615
+ kind: literal("appliance"),
11616
+ templateId: literal(APPLIANCE_TEMPLATE_ID),
11617
+ appliance: _enum(APPLIANCE_KINDS),
11618
+ thresholdWatts: number().positive(),
11619
+ startDwellMs: number().int().nonnegative(),
11620
+ stopDwellMs: number().int().nonnegative(),
11621
+ member: HelperMemberSchema
11622
+ })]);
11623
+ /** A composed device's stableId is this prefix plus the block id. */
11624
+ var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
11625
+ /** Longest snippet a `code` source may carry (slice 4). */
11626
+ var MAX_COMPOSITION_CODE_LENGTH = 2e4;
11463
11627
  /** One field of one capability of one source device. */
11464
11628
  var CompositionFieldReadSchema = object({
11465
11629
  source: CompositionSourceRefSchema,
@@ -11503,7 +11667,33 @@ var CompositionCodeSourceSchema = object({
11503
11667
  var CompositionFieldSourceSchema = discriminatedUnion("kind", [
11504
11668
  CompositionFromSourceSchema,
11505
11669
  CompositionExpressionSourceSchema,
11506
- CompositionCodeSourceSchema
11670
+ CompositionCodeSourceSchema,
11671
+ object({
11672
+ kind: literal("aggregate"),
11673
+ reducer: _enum([
11674
+ "mean",
11675
+ "median",
11676
+ "min",
11677
+ "max",
11678
+ "sum",
11679
+ "any",
11680
+ "all"
11681
+ ]),
11682
+ reads: array(CompositionFieldReadSchema).min(1).max(64),
11683
+ /** `value` is the reading; the others are the member counts. */
11684
+ publish: _enum([
11685
+ "value",
11686
+ "included",
11687
+ "excluded",
11688
+ "total"
11689
+ ]),
11690
+ /** What a `value` publish does when nobody is included. Counts ignore this. */
11691
+ empty: _enum([
11692
+ "null",
11693
+ "omit",
11694
+ "offline"
11695
+ ])
11696
+ })
11507
11697
  ]);
11508
11698
  var CompositionCommandTargetSchema = discriminatedUnion("kind", [object({
11509
11699
  kind: literal("forward"),
@@ -11549,7 +11739,13 @@ var CompositionSchema = object({
11549
11739
  kind: literal("existing"),
11550
11740
  device: CompositionSourceRefSchema
11551
11741
  })]),
11552
- features: array(CompositionFeatureSchema).min(1).max(16)
11742
+ features: array(CompositionFeatureSchema).min(1).max(16),
11743
+ /**
11744
+ * Present when the block is a helper template. Absent on a free
11745
+ * composition (the room example, device 4603). The editor reads this,
11746
+ * never the compiled features.
11747
+ */
11748
+ helper: HelperSpecSchema.optional()
11553
11749
  }).superRefine((composition, ctx) => {
11554
11750
  const seen = /* @__PURE__ */ new Set();
11555
11751
  composition.features.forEach((feature, index) => {
@@ -17958,7 +18154,10 @@ var CompositionProblemSchema = object({
17958
18154
  "target-missing",
17959
18155
  "target-unreadable",
17960
18156
  "not-replaceable",
17961
- "native-capability-replace"
18157
+ "native-capability-replace",
18158
+ "mixed-quantity",
18159
+ "helper-mismatch",
18160
+ "member-constraint"
17962
18161
  ]),
17963
18162
  path: string(),
17964
18163
  message: string()
@@ -17979,7 +18178,8 @@ var CompositionUnavailableModeSchema = _enum([
17979
18178
  "null",
17980
18179
  "offline",
17981
18180
  "unknown",
17982
- "release"
18181
+ "release",
18182
+ "omit"
17983
18183
  ]);
17984
18184
  /**
17985
18185
  * `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
@@ -18193,6 +18393,275 @@ Object.freeze({
18193
18393
  result: ["number", "null"]
18194
18394
  }
18195
18395
  });
18396
+ /**
18397
+ * One catalog row per base reading a group helper can build (D944 §3).
18398
+ * Data, not a form default written into the block.
18399
+ */
18400
+ var NOW = {
18401
+ fieldPath: "lastFetchedAt",
18402
+ expr: "now"
18403
+ };
18404
+ var CHANGED = {
18405
+ fieldPath: "lastChangedAt",
18406
+ expr: "now"
18407
+ };
18408
+ function numeric(input) {
18409
+ return {
18410
+ ...input,
18411
+ family: "numeric",
18412
+ deviceType: DeviceType.Sensor,
18413
+ memberDeviceType: DeviceType.Sensor,
18414
+ commandCaps: [],
18415
+ baseUnit: baseUnitOf(input.quantity),
18416
+ aggregates: NUMERIC_AGGREGATES,
18417
+ accept: [{
18418
+ cap: input.outputCap,
18419
+ fieldPath: input.outputField
18420
+ }]
18421
+ };
18422
+ }
18423
+ function binary(input) {
18424
+ return {
18425
+ ...input,
18426
+ family: "binary",
18427
+ deviceType: DeviceType.Sensor,
18428
+ memberDeviceType: DeviceType.Sensor,
18429
+ commandCaps: [],
18430
+ quantity: "none",
18431
+ baseUnit: void 0,
18432
+ aggregates: BINARY_AGGREGATES,
18433
+ empty: "offline"
18434
+ };
18435
+ }
18436
+ var GROUP_TEMPLATES = [
18437
+ numeric({
18438
+ id: "temperature",
18439
+ summary: "Mean, median, min, max or sum of temperatures. Offline and unknown members are left out, never read as 0 °C.",
18440
+ role: DeviceRole.TemperatureSensor,
18441
+ outputCap: "temperature-sensor",
18442
+ outputField: "celsius",
18443
+ quantity: "temperature",
18444
+ defaultAggregate: "mean",
18445
+ empty: "null",
18446
+ companions: [NOW]
18447
+ }),
18448
+ numeric({
18449
+ id: "humidity",
18450
+ summary: "Humidity in percent. Offline and unknown members are left out, never read as 0 %.",
18451
+ role: DeviceRole.HumiditySensor,
18452
+ outputCap: "humidity-sensor",
18453
+ outputField: "percent",
18454
+ quantity: "humidity",
18455
+ defaultAggregate: "mean",
18456
+ empty: "null",
18457
+ companions: [NOW]
18458
+ }),
18459
+ numeric({
18460
+ id: "pressure",
18461
+ summary: "Pressure in hectopascals. Offline and unknown members are left out, never read as 0 hPa.",
18462
+ role: DeviceRole.PressureSensor,
18463
+ outputCap: "pressure-sensor",
18464
+ outputField: "hpa",
18465
+ quantity: "pressure",
18466
+ defaultAggregate: "mean",
18467
+ empty: "null",
18468
+ companions: [NOW]
18469
+ }),
18470
+ numeric({
18471
+ id: "illuminance",
18472
+ summary: "Illuminance in lux. Offline and unknown members are left out, never read as 0 lx.",
18473
+ role: DeviceRole.AmbientLightSensor,
18474
+ outputCap: "ambient-light-sensor",
18475
+ outputField: "lux",
18476
+ quantity: "illuminance",
18477
+ defaultAggregate: "mean",
18478
+ empty: "null",
18479
+ companions: [NOW]
18480
+ }),
18481
+ numeric({
18482
+ id: "power",
18483
+ summary: "Power in watts, summed by default. Nobody reporting omits the key rather than writing 0 W.",
18484
+ role: DeviceRole.PowerSensor,
18485
+ outputCap: "power-meter",
18486
+ outputField: "watts",
18487
+ quantity: "power",
18488
+ defaultAggregate: "sum",
18489
+ empty: "omit",
18490
+ companions: [NOW]
18491
+ }),
18492
+ numeric({
18493
+ id: "energy",
18494
+ summary: "Energy in kilowatt-hours, summed by default. Nobody reporting omits the key rather than writing 0 kWh.",
18495
+ role: DeviceRole.EnergySensor,
18496
+ outputCap: "power-meter",
18497
+ outputField: "kwhTotal",
18498
+ quantity: "energy",
18499
+ defaultAggregate: "sum",
18500
+ empty: "omit",
18501
+ companions: [NOW]
18502
+ }),
18503
+ numeric({
18504
+ id: "battery",
18505
+ summary: "Battery charge in percent. Offline and unknown members are left out, never read as 0 %.",
18506
+ role: DeviceRole.BatterySensor,
18507
+ outputCap: "battery",
18508
+ outputField: "percentage",
18509
+ quantity: "percentage",
18510
+ defaultAggregate: "mean",
18511
+ empty: "null",
18512
+ companions: [
18513
+ {
18514
+ fieldPath: "charging",
18515
+ expr: "\"unknown\""
18516
+ },
18517
+ {
18518
+ fieldPath: "sleeping",
18519
+ expr: "false"
18520
+ },
18521
+ {
18522
+ fieldPath: "lastUpdated",
18523
+ expr: "now"
18524
+ }
18525
+ ]
18526
+ }),
18527
+ numeric({
18528
+ id: "numeric",
18529
+ summary: "A numeric reading in the members’ shared quantity. Mixed quantities are refused. Nobody reporting publishes null, not 0.",
18530
+ role: DeviceRole.NumericSensor,
18531
+ outputCap: "numeric-sensor",
18532
+ outputField: "value",
18533
+ quantity: "device",
18534
+ defaultAggregate: "mean",
18535
+ empty: "null",
18536
+ companions: [NOW]
18537
+ }),
18538
+ binary({
18539
+ id: "motion",
18540
+ summary: "Any or all motion. Offline and unknown members are left out, never read as off. Nobody reporting takes the device offline.",
18541
+ role: DeviceRole.MotionSensor,
18542
+ outputCap: "motion",
18543
+ outputField: "detected",
18544
+ defaultAggregate: "any",
18545
+ accept: [{
18546
+ cap: "motion",
18547
+ fieldPath: "detected"
18548
+ }],
18549
+ companions: [{
18550
+ fieldPath: "lastDetectedAt",
18551
+ expr: "null"
18552
+ }, {
18553
+ fieldPath: "autoClearAfterMs",
18554
+ expr: "null"
18555
+ }]
18556
+ }),
18557
+ binary({
18558
+ id: "contact",
18559
+ summary: "Any or all open contacts. Offline and unknown members are left out, never read as closed.",
18560
+ role: DeviceRole.ContactSensor,
18561
+ outputCap: "contact",
18562
+ outputField: "entryOpen",
18563
+ defaultAggregate: "any",
18564
+ accept: [{
18565
+ cap: "contact",
18566
+ fieldPath: "entryOpen"
18567
+ }],
18568
+ companions: [CHANGED]
18569
+ }),
18570
+ binary({
18571
+ id: "leak",
18572
+ summary: "Any or all leak detections. Offline and unknown members are left out, never read as dry.",
18573
+ role: DeviceRole.LeakSensor,
18574
+ outputCap: "flood",
18575
+ outputField: "flooded",
18576
+ defaultAggregate: "any",
18577
+ accept: [{
18578
+ cap: "flood",
18579
+ fieldPath: "flooded"
18580
+ }],
18581
+ companions: [CHANGED]
18582
+ }),
18583
+ binary({
18584
+ id: "smoke",
18585
+ summary: "Any or all smoke detections. Offline and unknown members are left out, never read as clear.",
18586
+ role: DeviceRole.SmokeSensor,
18587
+ outputCap: "smoke",
18588
+ outputField: "detected",
18589
+ defaultAggregate: "any",
18590
+ accept: [{
18591
+ cap: "smoke",
18592
+ fieldPath: "detected"
18593
+ }],
18594
+ companions: [CHANGED]
18595
+ }),
18596
+ binary({
18597
+ id: "occupancy",
18598
+ summary: "Any or all of motion or binary sensors, published as a binary. Presence zones are not aggregated. Nobody reporting is offline, not off.",
18599
+ role: DeviceRole.BinarySensor,
18600
+ outputCap: "binary",
18601
+ outputField: "on",
18602
+ defaultAggregate: "any",
18603
+ accept: [{
18604
+ cap: "motion",
18605
+ fieldPath: "detected"
18606
+ }, {
18607
+ cap: "binary",
18608
+ fieldPath: "on"
18609
+ }],
18610
+ companions: [CHANGED]
18611
+ }),
18612
+ binary({
18613
+ id: "binary",
18614
+ summary: "Any or all generic binary sensors. Offline and unknown members are left out, never read as off.",
18615
+ role: DeviceRole.BinarySensor,
18616
+ outputCap: "binary",
18617
+ outputField: "on",
18618
+ defaultAggregate: "any",
18619
+ accept: [{
18620
+ cap: "binary",
18621
+ fieldPath: "on"
18622
+ }],
18623
+ companions: [CHANGED]
18624
+ }),
18625
+ actuator({
18626
+ id: "switch",
18627
+ summary: "On when at least one switch is on, or when all of them are. Offline and unknown members are left out of that decision, never read as off, and still receive the command.",
18628
+ deviceType: DeviceType.Switch,
18629
+ outputCap: "switch",
18630
+ commandCaps: ["switch"]
18631
+ }),
18632
+ actuator({
18633
+ id: "light",
18634
+ summary: "On when at least one light is on, or when all of them are. Brightness and colour are offered only when every member has them. A command is not sent to a member that lacks it.",
18635
+ deviceType: DeviceType.Light,
18636
+ outputCap: "switch",
18637
+ commandCaps: [
18638
+ "switch",
18639
+ "brightness",
18640
+ "color"
18641
+ ]
18642
+ })
18643
+ ];
18644
+ function actuator(input) {
18645
+ return {
18646
+ ...input,
18647
+ family: "actuator",
18648
+ role: void 0,
18649
+ memberDeviceType: input.deviceType,
18650
+ outputField: "on",
18651
+ quantity: "none",
18652
+ baseUnit: void 0,
18653
+ aggregates: BINARY_AGGREGATES,
18654
+ defaultAggregate: "any",
18655
+ empty: "offline",
18656
+ accept: [{
18657
+ cap: "switch",
18658
+ fieldPath: "on"
18659
+ }],
18660
+ companions: [CHANGED]
18661
+ };
18662
+ }
18663
+ new Map(GROUP_TEMPLATES.map((template) => [template.id, template]));
18664
+ DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired;
18196
18665
  `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
18197
18666
  /**
18198
18667
  * What a composition may BUILD on a device type (G2, D676): the caps a new
@@ -44784,6 +45253,8 @@ var NcSystemEventKindSchema = _enum([
44784
45253
  "detection-blind",
44785
45254
  "motion-noisy",
44786
45255
  "motion-calm",
45256
+ "package-llm-silent",
45257
+ "package-llm-answered",
44787
45258
  "recording-stalled",
44788
45259
  "recording-healthy",
44789
45260
  "recording-degraded",
@@ -55814,6 +56285,28 @@ var PackageVersionInfoSchema = object({
55814
56285
  deprecated: string().optional(),
55815
56286
  distTags: array(string()).readonly()
55816
56287
  });
56288
+ /**
56289
+ * One published document. `ok` is markdown from the registry. `missing` means
56290
+ * the registry answered and the file was not there. `error` is a registry or
56291
+ * tarball failure — never an empty string standing in for either.
56292
+ */
56293
+ var PackageDocBodySchema = discriminatedUnion("status", [
56294
+ object({
56295
+ status: literal("ok"),
56296
+ markdown: string()
56297
+ }),
56298
+ object({ status: literal("missing") }),
56299
+ object({
56300
+ status: literal("error"),
56301
+ message: string()
56302
+ })
56303
+ ]);
56304
+ var PackageDocsSchema = object({
56305
+ name: string(),
56306
+ version: string(),
56307
+ readme: PackageDocBodySchema,
56308
+ changelog: PackageDocBodySchema
56309
+ });
55817
56310
  var SearchResultSchema = object({
55818
56311
  name: string(),
55819
56312
  version: string(),
@@ -56032,7 +56525,10 @@ method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSc
56032
56525
  }), object({ success: literal(true) }), {
56033
56526
  kind: "mutation",
56034
56527
  auth: "admin"
56035
- }), method(object({ name: string() }), array(PackageVersionInfoSchema).readonly()), method(object({ addonId: string() }), RestartAddonResultSchema, {
56528
+ }), method(object({ name: string() }), array(PackageVersionInfoSchema).readonly()), method(object({
56529
+ name: string().min(1),
56530
+ version: string().min(1).optional()
56531
+ }), PackageDocsSchema, { auth: "admin" }), method(object({ addonId: string() }), RestartAddonResultSchema, {
56036
56532
  kind: "mutation",
56037
56533
  auth: "admin"
56038
56534
  }), method(object({ packageName: string() }), object({ success: literal(true) }), {
@@ -58078,6 +58574,36 @@ object({
58078
58574
  lastChangedAt: number()
58079
58575
  });
58080
58576
  DeviceType.Sensor;
58577
+ object({
58578
+ /** One row per member that has been commanded. A later command replaces that member's row. */
58579
+ results: array(object({
58580
+ deviceId: number().int().nonnegative(),
58581
+ cap: string().min(1),
58582
+ method: string().min(1),
58583
+ ok: boolean(),
58584
+ error: string().optional(),
58585
+ /** Ms epoch of the attempt. */
58586
+ at: number()
58587
+ })) });
58588
+ DeviceType.Switch, DeviceType.Light;
58589
+ object({
58590
+ /** Members whose current value entered the aggregate. */
58591
+ included: number().int().nonnegative().meta(readingMeta("count", {
58592
+ precision: 0,
58593
+ label: "Reporting"
58594
+ })),
58595
+ /** Members left out: offline, unknown, or not a finite reading (D393). */
58596
+ excluded: number().int().nonnegative().meta(readingMeta("count", {
58597
+ precision: 0,
58598
+ label: "Excluded"
58599
+ })),
58600
+ /** `included` + `excluded`. */
58601
+ total: number().int().nonnegative().meta(readingMeta("count", {
58602
+ precision: 0,
58603
+ label: "Members"
58604
+ }))
58605
+ });
58606
+ DeviceType.Sensor, DeviceType.Switch, DeviceType.Light;
58081
58607
  object({
58082
58608
  /** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
58083
58609
  position: number().min(0).max(100).nullable().meta(readingMeta("percentage")),
@@ -60917,7 +61443,7 @@ object({
60917
61443
  /** Ms epoch when the slice was last updated. */
60918
61444
  lastFetchedAt: number()
60919
61445
  });
60920
- DeviceType.Sensor;
61446
+ DeviceType.Sensor, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
60921
61447
  /**
60922
61448
  * Presence cap. Models HA `person.*` and `device_tracker.*` entities
60923
61449
  * on `DeviceType.Presence`. Read-only — no setters: presence is
@@ -61364,7 +61890,7 @@ object({
61364
61890
  phase: string().nullable()
61365
61891
  });
61366
61892
  Object.values(DeviceType);
61367
- DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
61893
+ DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
61368
61894
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
61369
61895
  kind: "mutation",
61370
61896
  auth: "admin"
@@ -65115,7 +65641,7 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
65115
65641
  auth: "admin"
65116
65642
  });
65117
65643
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
65118
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Camera, DeviceType.Camera, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
65644
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Camera, DeviceType.Camera, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
65119
65645
  String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
65120
65646
  DeviceRole.BinarySensor, DeviceRole.MotionSensor;
65121
65647
  new Set(CAP_NAMES);
@@ -65168,7 +65694,7 @@ var AccessoryKind = {
65168
65694
  PrivacyMask: DeviceRole.PrivacyMask
65169
65695
  };
65170
65696
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
65171
- DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
65697
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer;
65172
65698
  new Set(Object.values(DeviceType));
65173
65699
  Object.freeze({
65174
65700
  "accessories.getStatus": {
@@ -65276,6 +65802,13 @@ Object.freeze({
65276
65802
  access: "view",
65277
65803
  role: "admin"
65278
65804
  },
65805
+ "addons.getPackageDocs": {
65806
+ capName: "addons",
65807
+ capScope: "system",
65808
+ addonId: null,
65809
+ access: "view",
65810
+ role: "admin"
65811
+ },
65279
65812
  "addons.getVersions": {
65280
65813
  capName: "addons",
65281
65814
  capScope: "system",
@@ -68384,6 +68917,20 @@ Object.freeze({
68384
68917
  access: "view",
68385
68918
  role: "viewer"
68386
68919
  },
68920
+ "groupCommands.getStatus": {
68921
+ capName: "group-commands",
68922
+ capScope: "device",
68923
+ addonId: null,
68924
+ access: "view",
68925
+ role: "viewer"
68926
+ },
68927
+ "groupStatus.getStatus": {
68928
+ capName: "group-status",
68929
+ capScope: "device",
68930
+ addonId: null,
68931
+ access: "view",
68932
+ role: "viewer"
68933
+ },
68387
68934
  "heatingValve.getStatus": {
68388
68935
  capName: "heating-valve",
68389
68936
  capScope: "device",
@@ -77434,7 +77981,39 @@ var APPLIANCE_CAP_VOCABULARY = {
77434
77981
  phrase: t("When {device} finishes", "Quando {device} finisce"),
77435
77982
  icon: "square"
77436
77983
  }
77437
- }
77984
+ },
77985
+ overrides: { byType: {
77986
+ [DeviceType.Washer]: {
77987
+ state: { running: {
77988
+ whenTrue: t("When the washing machine starts", "Quando la lavatrice inizia"),
77989
+ whenFalse: t("When the washing machine has finished", "Quando la lavatrice ha finito")
77990
+ } },
77991
+ events: {
77992
+ onStarted: { phrase: t("When the washing machine starts", "Quando la lavatrice inizia") },
77993
+ onFinished: { phrase: t("When the washing machine has finished", "Quando la lavatrice ha finito") }
77994
+ }
77995
+ },
77996
+ [DeviceType.Dryer]: {
77997
+ state: { running: {
77998
+ whenTrue: t("When the dryer starts", "Quando l'asciugatrice inizia"),
77999
+ whenFalse: t("When the dryer has finished", "Quando l'asciugatrice ha finito")
78000
+ } },
78001
+ events: {
78002
+ onStarted: { phrase: t("When the dryer starts", "Quando l'asciugatrice inizia") },
78003
+ onFinished: { phrase: t("When the dryer has finished", "Quando l'asciugatrice ha finito") }
78004
+ }
78005
+ },
78006
+ [DeviceType.Dishwasher]: {
78007
+ state: { running: {
78008
+ whenTrue: t("When the dishwasher starts", "Quando la lavastoviglie inizia"),
78009
+ whenFalse: t("When the dishwasher has finished", "Quando la lavastoviglie ha finito")
78010
+ } },
78011
+ events: {
78012
+ onStarted: { phrase: t("When the dishwasher starts", "Quando la lavastoviglie inizia") },
78013
+ onFinished: { phrase: t("When the dishwasher has finished", "Quando la lavastoviglie ha finito") }
78014
+ }
78015
+ }
78016
+ } }
77438
78017
  },
77439
78018
  update: {
77440
78019
  scope: "device",
@@ -78206,6 +78785,37 @@ var SENSOR_CAP_VOCABULARY = {
78206
78785
  icon: "flame"
78207
78786
  }]
78208
78787
  },
78788
+ "group-commands": {
78789
+ scope: "device",
78790
+ noun: t("Group command", "Comando di gruppo")
78791
+ },
78792
+ "group-status": {
78793
+ scope: "device",
78794
+ noun: t("Group", "Gruppo"),
78795
+ state: [
78796
+ {
78797
+ kind: "numeric",
78798
+ field: "included",
78799
+ quantity: t("the members reporting", "i membri che rispondono"),
78800
+ label: t("Reporting", "Rispondono"),
78801
+ icon: "users"
78802
+ },
78803
+ {
78804
+ kind: "numeric",
78805
+ field: "excluded",
78806
+ quantity: t("the members left out", "i membri esclusi"),
78807
+ label: t("Excluded", "Esclusi"),
78808
+ icon: "users"
78809
+ },
78810
+ {
78811
+ kind: "numeric",
78812
+ field: "total",
78813
+ quantity: t("the member count", "il numero di membri"),
78814
+ label: t("Members", "Membri"),
78815
+ icon: "sigma"
78816
+ }
78817
+ ]
78818
+ },
78209
78819
  "humidity-sensor": {
78210
78820
  scope: "device",
78211
78821
  noun: t("Humidity", "Umidità"),
@@ -78703,8 +79313,72 @@ function projectAction(cap, action) {
78703
79313
  };
78704
79314
  }
78705
79315
  Object.entries(CAP_VOCABULARY_BY_NAME).flatMap(([cap, entry]) => entry.scope === "device" ? (entry.actions ?? []).map((a) => projectAction(cap, a)) : []);
78706
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
79316
+ DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer;
78707
79317
  DeviceFeature.BatteryOperated;
79318
+ /**
79319
+ * How a washer, dryer or dishwasher leaves CamStack.
79320
+ *
79321
+ * Home Assistant has no laundry domain: the device is offered, and what
79322
+ * travels is its power reading. The others have a laundry type that this
79323
+ * export cannot honour yet, so they are named and withheld.
79324
+ */
79325
+ var PLUG_APPLIANCE_TYPES = [
79326
+ DeviceType.Washer,
79327
+ DeviceType.Dryer,
79328
+ DeviceType.Dishwasher
79329
+ ];
79330
+ var HA_AS = "a power sensor (device_class power). Home Assistant has no laundry domain. running-state stays unexported until a null reading can be published as unavailable.";
79331
+ var HOMEKIT_REASON = "HomeKit has no laundry-appliance service. The export tab would pair an accessory with nothing on it: running-state is withheld until a null reading can be unavailable, and power is not a HomeKit service this export honours.";
79332
+ var ALEXA_REASON = "Alexa has no laundry category in this export, and neither power nor running has an Alexa interface.";
79333
+ var GOOGLE_REASON = "Google WASHER, DRYER and DISHWASHER require RunCycle. A power threshold is not that trait, and this export does not publish RunCycle.";
79334
+ var MATTER_REASON = "No Matter export is built. The closest device types are Laundry Washer (0x0073) and Laundry Dryer (0x0074); a power threshold is not the Laundry Washer Mode cluster.";
79335
+ function withheld(reason) {
79336
+ return {
79337
+ [DeviceType.Washer]: {
79338
+ exported: false,
79339
+ reason
79340
+ },
79341
+ [DeviceType.Dryer]: {
79342
+ exported: false,
79343
+ reason
79344
+ },
79345
+ [DeviceType.Dishwasher]: {
79346
+ exported: false,
79347
+ reason
79348
+ }
79349
+ };
79350
+ }
79351
+ function offered(received) {
79352
+ return {
79353
+ [DeviceType.Washer]: {
79354
+ exported: true,
79355
+ as: received
79356
+ },
79357
+ [DeviceType.Dryer]: {
79358
+ exported: true,
79359
+ as: received
79360
+ },
79361
+ [DeviceType.Dishwasher]: {
79362
+ exported: true,
79363
+ as: received
79364
+ }
79365
+ };
79366
+ }
79367
+ var APPLIANCE_EXPORT = {
79368
+ ha: offered(HA_AS),
79369
+ homekit: withheld(HOMEKIT_REASON),
79370
+ alexa: withheld(ALEXA_REASON),
79371
+ google: withheld(GOOGLE_REASON),
79372
+ matter: withheld(MATTER_REASON)
79373
+ };
79374
+ function isPlugApplianceType(deviceType) {
79375
+ return PLUG_APPLIANCE_TYPES.some((type) => type === deviceType);
79376
+ }
79377
+ /** The decision for this ecosystem, or null when the type is not an appliance. */
79378
+ function applianceExport(ecosystem, deviceType) {
79379
+ if (!isPlugApplianceType(deviceType)) return null;
79380
+ return APPLIANCE_EXPORT[ecosystem][deviceType];
79381
+ }
78708
79382
  Object.freeze({
78709
79383
  "accessories.getStatus": [{
78710
79384
  name: "deviceId",
@@ -79671,6 +80345,16 @@ Object.freeze({
79671
80345
  form: "single",
79672
80346
  optional: false
79673
80347
  }],
80348
+ "groupCommands.getStatus": [{
80349
+ name: "deviceId",
80350
+ form: "single",
80351
+ optional: false
80352
+ }],
80353
+ "groupStatus.getStatus": [{
80354
+ name: "deviceId",
80355
+ form: "single",
80356
+ optional: false
80357
+ }],
79674
80358
  "heatingValve.getStatus": [{
79675
80359
  name: "deviceId",
79676
80360
  form: "single",
@@ -81655,6 +82339,8 @@ new Map(Object.entries({
81655
82339
  "detection-blind": "device-events",
81656
82340
  "motion-noisy": "device-events",
81657
82341
  "motion-calm": "device-events",
82342
+ "package-llm-silent": "device-events",
82343
+ "package-llm-answered": "device-events",
81658
82344
  "recording-stalled": "device-events",
81659
82345
  "recording-healthy": "device-events",
81660
82346
  "recording-degraded": "device-events",
@@ -81738,6 +82424,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
81738
82424
  label: "Motion without a subject",
81739
82425
  kinds: ["motion-noisy", "motion-calm"]
81740
82426
  },
82427
+ {
82428
+ id: "package-llm",
82429
+ family: "device-events",
82430
+ label: "Package confirm",
82431
+ kinds: ["package-llm-silent", "package-llm-answered"]
82432
+ },
81741
82433
  {
81742
82434
  id: "recording",
81743
82435
  family: "device-events",
@@ -81919,6 +82611,8 @@ var DEVICE_EVENTS = [
81919
82611
  "detection-blind",
81920
82612
  "motion-noisy",
81921
82613
  "motion-calm",
82614
+ "package-llm-silent",
82615
+ "package-llm-answered",
81922
82616
  "recording-stalled",
81923
82617
  "recording-healthy",
81924
82618
  "recording-degraded",
@@ -82187,6 +82881,15 @@ new Map([
82187
82881
  snapshotLabel: "Cameras with constant motion now",
82188
82882
  snapshotSection: null
82189
82883
  },
82884
+ {
82885
+ id: "package-llm-confirm",
82886
+ family: "device-events",
82887
+ label: "Package confirm (not answering / answering again)",
82888
+ bad: ["package-llm-silent"],
82889
+ recovery: ["package-llm-answered"],
82890
+ snapshotLabel: "Cameras whose package confirm is not answering",
82891
+ snapshotSection: null
82892
+ },
82190
82893
  {
82191
82894
  id: "recording-health",
82192
82895
  family: "device-events",
@@ -85631,6 +86334,12 @@ function switchCategory(device) {
85631
86334
  }
85632
86335
  //#endregion
85633
86336
  //#region src/endpoints/adapters/index.ts
86337
+ /**
86338
+ * The adapter registry (D869): the ONE list Discovery, ReportState,
86339
+ * ChangeReport, the reconcile, the directive router and the validator read.
86340
+ * Adding a cap to Alexa is adding its adapter here — in order: the first
86341
+ * adapter with a category decides the endpoint's display category.
86342
+ */
85634
86343
  var GENERIC_ADAPTERS = [
85635
86344
  lockAdapter,
85636
86345
  contactAdapter,
@@ -85717,6 +86426,11 @@ function capabilityKey$2(c) {
85717
86426
  }
85718
86427
  /** What a device becomes, folding every applicable adapter in registry order. */
85719
86428
  function planGenericDevice(device) {
86429
+ const withheld = applianceExport("alexa", device.type);
86430
+ if (withheld !== null && !withheld.exported) return {
86431
+ kind: "skip",
86432
+ reasons: [withheld.reason]
86433
+ };
85720
86434
  const capabilities = [BASE];
85721
86435
  const seen = /* @__PURE__ */ new Set();
85722
86436
  const reasons = [];