@camstack/addon-mqtt-broker 1.2.65 → 1.2.67

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.
@@ -7582,7 +7582,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7582
7582
  var CameraSwitchUnavailableReasonSchema = _enum([
7583
7583
  "no-provider",
7584
7584
  "source-unreachable",
7585
- "not-configured"
7585
+ "not-configured",
7586
+ "device-disabled"
7586
7587
  ]);
7587
7588
  /**
7588
7589
  * One switch, resolved for one camera.
@@ -23173,12 +23174,20 @@ var BatteryStatusSchema = object({
23173
23174
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23174
23175
  * Reolink-specific for the Solar Panel 2 accessory (will become
23175
23176
  * common on other battery cams). `'none'` means running on battery
23176
- * alone.
23177
+ * alone — a NEGATIVE the firmware actually reported.
23178
+ *
23179
+ * `'unknown'` is the absence of an answer: the provider has not read the
23180
+ * power fields yet, or the firmware reported neither. Before it existed,
23181
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23182
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23183
+ * by going nullable. Consumers SKIP it (no charger state published, no
23184
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23177
23185
  */
23178
23186
  charging: _enum([
23179
23187
  "dc",
23180
23188
  "solar",
23181
- "none"
23189
+ "none",
23190
+ "unknown"
23182
23191
  ]),
23183
23192
  /**
23184
23193
  * True when the camera firmware has gone into low-power mode. Battery
@@ -7577,7 +7577,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7577
7577
  var CameraSwitchUnavailableReasonSchema = _enum([
7578
7578
  "no-provider",
7579
7579
  "source-unreachable",
7580
- "not-configured"
7580
+ "not-configured",
7581
+ "device-disabled"
7581
7582
  ]);
7582
7583
  /**
7583
7584
  * One switch, resolved for one camera.
@@ -23168,12 +23169,20 @@ var BatteryStatusSchema = object({
23168
23169
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23169
23170
  * Reolink-specific for the Solar Panel 2 accessory (will become
23170
23171
  * common on other battery cams). `'none'` means running on battery
23171
- * alone.
23172
+ * alone — a NEGATIVE the firmware actually reported.
23173
+ *
23174
+ * `'unknown'` is the absence of an answer: the provider has not read the
23175
+ * power fields yet, or the firmware reported neither. Before it existed,
23176
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23177
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23178
+ * by going nullable. Consumers SKIP it (no charger state published, no
23179
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23172
23180
  */
23173
23181
  charging: _enum([
23174
23182
  "dc",
23175
23183
  "solar",
23176
- "none"
23184
+ "none",
23185
+ "unknown"
23177
23186
  ]),
23178
23187
  /**
23179
23188
  * 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-mqtt-broker",
3
- "version": "1.2.65",
3
+ "version": "1.2.67",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",