@camstack/addon-export-google 0.1.29 → 0.1.30

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.
@@ -7746,7 +7746,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7746
7746
  var CameraSwitchUnavailableReasonSchema = _enum([
7747
7747
  "no-provider",
7748
7748
  "source-unreachable",
7749
- "not-configured"
7749
+ "not-configured",
7750
+ "device-disabled"
7750
7751
  ]);
7751
7752
  /**
7752
7753
  * One switch, resolved for one camera.
@@ -23358,12 +23359,20 @@ var BatteryStatusSchema = object({
23358
23359
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23359
23360
  * Reolink-specific for the Solar Panel 2 accessory (will become
23360
23361
  * common on other battery cams). `'none'` means running on battery
23361
- * alone.
23362
+ * alone — a NEGATIVE the firmware actually reported.
23363
+ *
23364
+ * `'unknown'` is the absence of an answer: the provider has not read the
23365
+ * power fields yet, or the firmware reported neither. Before it existed,
23366
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23367
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23368
+ * by going nullable. Consumers SKIP it (no charger state published, no
23369
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23362
23370
  */
23363
23371
  charging: _enum([
23364
23372
  "dc",
23365
23373
  "solar",
23366
- "none"
23374
+ "none",
23375
+ "unknown"
23367
23376
  ]),
23368
23377
  /**
23369
23378
  * True when the camera firmware has gone into low-power mode. Battery
@@ -7742,7 +7742,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7742
7742
  var CameraSwitchUnavailableReasonSchema = _enum([
7743
7743
  "no-provider",
7744
7744
  "source-unreachable",
7745
- "not-configured"
7745
+ "not-configured",
7746
+ "device-disabled"
7746
7747
  ]);
7747
7748
  /**
7748
7749
  * One switch, resolved for one camera.
@@ -23354,12 +23355,20 @@ var BatteryStatusSchema = object({
23354
23355
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23355
23356
  * Reolink-specific for the Solar Panel 2 accessory (will become
23356
23357
  * common on other battery cams). `'none'` means running on battery
23357
- * alone.
23358
+ * alone — a NEGATIVE the firmware actually reported.
23359
+ *
23360
+ * `'unknown'` is the absence of an answer: the provider has not read the
23361
+ * power fields yet, or the firmware reported neither. Before it existed,
23362
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23363
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23364
+ * by going nullable. Consumers SKIP it (no charger state published, no
23365
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23358
23366
  */
23359
23367
  charging: _enum([
23360
23368
  "dc",
23361
23369
  "solar",
23362
- "none"
23370
+ "none",
23371
+ "unknown"
23363
23372
  ]),
23364
23373
  /**
23365
23374
  * 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-google",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",