@camstack/addon-export-alexa 1.2.71 → 1.2.73

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.
@@ -7721,7 +7721,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7721
7721
  var CameraSwitchUnavailableReasonSchema = _enum([
7722
7722
  "no-provider",
7723
7723
  "source-unreachable",
7724
- "not-configured"
7724
+ "not-configured",
7725
+ "device-disabled"
7725
7726
  ]);
7726
7727
  /**
7727
7728
  * One switch, resolved for one camera.
@@ -23387,12 +23388,20 @@ var BatteryStatusSchema = object({
23387
23388
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23388
23389
  * Reolink-specific for the Solar Panel 2 accessory (will become
23389
23390
  * common on other battery cams). `'none'` means running on battery
23390
- * alone.
23391
+ * alone — a NEGATIVE the firmware actually reported.
23392
+ *
23393
+ * `'unknown'` is the absence of an answer: the provider has not read the
23394
+ * power fields yet, or the firmware reported neither. Before it existed,
23395
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23396
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23397
+ * by going nullable. Consumers SKIP it (no charger state published, no
23398
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23391
23399
  */
23392
23400
  charging: _enum([
23393
23401
  "dc",
23394
23402
  "solar",
23395
- "none"
23403
+ "none",
23404
+ "unknown"
23396
23405
  ]),
23397
23406
  /**
23398
23407
  * True when the camera firmware has gone into low-power mode. Battery
@@ -7694,7 +7694,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7694
7694
  var CameraSwitchUnavailableReasonSchema = _enum([
7695
7695
  "no-provider",
7696
7696
  "source-unreachable",
7697
- "not-configured"
7697
+ "not-configured",
7698
+ "device-disabled"
7698
7699
  ]);
7699
7700
  /**
7700
7701
  * One switch, resolved for one camera.
@@ -23360,12 +23361,20 @@ var BatteryStatusSchema = object({
23360
23361
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23361
23362
  * Reolink-specific for the Solar Panel 2 accessory (will become
23362
23363
  * common on other battery cams). `'none'` means running on battery
23363
- * alone.
23364
+ * alone — a NEGATIVE the firmware actually reported.
23365
+ *
23366
+ * `'unknown'` is the absence of an answer: the provider has not read the
23367
+ * power fields yet, or the firmware reported neither. Before it existed,
23368
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23369
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23370
+ * by going nullable. Consumers SKIP it (no charger state published, no
23371
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23364
23372
  */
23365
23373
  charging: _enum([
23366
23374
  "dc",
23367
23375
  "solar",
23368
- "none"
23376
+ "none",
23377
+ "unknown"
23369
23378
  ]),
23370
23379
  /**
23371
23380
  * True when the camera firmware has gone into low-power mode. Battery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.71",
3
+ "version": "1.2.73",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",