@camstack/addon-provider-homeassistant 1.2.92 → 1.2.93
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-14FaSOPJ.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_zlib = require("node:zlib");
|
|
5
5
|
//#region src/ha-device-source.ts
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as presenceCapability, A as controlCapability, At as EventCategory, B as humiditySensorCapability, C as buildAddonRouteProvider, Ct as number, D as colorCapability, Dt as union, E as climateControlCapability, Et as string, F as eventEmitterCapability, G as motionCapability, H as lawnMowerControlCapability, I as fanControlCapability, J as notifierCapability, K as normalizeUnit, L as floodCapability, M as deviceAdoptionCapability, O as connectivityCapability, Ot as unknown, P as enumSensorCapability, Q as prepareNotification, R as gasCapability, S as brokerCapability, St as literal, T as carbonMonoxideCapability, Tt as record, U as lockControlCapability, V as imageCapability, W as mediaPlayerCapability, Y as numericSensorCapability, Z as powerMeterCapability, _ as automationControlCapability, _t as createEvent, at as temperatureSensorCapability, b as binaryCapability, bt as array, ct as valveCapability, d as TargetSchema, dt as weatherCapability, et as pressureSensorCapability, f as accessoriesCapability, ft as errMsg, g as ambientLightSensorCapability, gt as DeviceType, h as alarmPanelCapability, ht as DeviceRole, it as tamperCapability, j as coverCapability, k as contactCapability, kt as url, lt as vibrationCapability, m as airQualitySensorCapability, mt as DeviceFeature, n as BaseDevice, nt as smokeCapability, ot as updateCapability, p as addonRoutesCapability, q as notificationOutputCapability, r as BaseDeviceProvider, rt as switchCapability, s as EnumSensorDateTimeFormatSchema, st as vacuumControlCapability, tt as scriptRunnerCapability, ut as waterHeaterCapability, v as batteryCapability, w as buttonCapability, wt as object, x as brightnessCapability, xt as discriminatedUnion, y as bestLocationMatch, yt as _enum, z as humidifierCapability } from "./dist-
|
|
1
|
+
import { $ as presenceCapability, A as controlCapability, At as EventCategory, B as humiditySensorCapability, C as buildAddonRouteProvider, Ct as number, D as colorCapability, Dt as union, E as climateControlCapability, Et as string, F as eventEmitterCapability, G as motionCapability, H as lawnMowerControlCapability, I as fanControlCapability, J as notifierCapability, K as normalizeUnit, L as floodCapability, M as deviceAdoptionCapability, O as connectivityCapability, Ot as unknown, P as enumSensorCapability, Q as prepareNotification, R as gasCapability, S as brokerCapability, St as literal, T as carbonMonoxideCapability, Tt as record, U as lockControlCapability, V as imageCapability, W as mediaPlayerCapability, Y as numericSensorCapability, Z as powerMeterCapability, _ as automationControlCapability, _t as createEvent, at as temperatureSensorCapability, b as binaryCapability, bt as array, ct as valveCapability, d as TargetSchema, dt as weatherCapability, et as pressureSensorCapability, f as accessoriesCapability, ft as errMsg, g as ambientLightSensorCapability, gt as DeviceType, h as alarmPanelCapability, ht as DeviceRole, it as tamperCapability, j as coverCapability, k as contactCapability, kt as url, lt as vibrationCapability, m as airQualitySensorCapability, mt as DeviceFeature, n as BaseDevice, nt as smokeCapability, ot as updateCapability, p as addonRoutesCapability, q as notificationOutputCapability, r as BaseDeviceProvider, rt as switchCapability, s as EnumSensorDateTimeFormatSchema, st as vacuumControlCapability, tt as scriptRunnerCapability, ut as waterHeaterCapability, v as batteryCapability, w as buttonCapability, wt as object, x as brightnessCapability, xt as discriminatedUnion, y as bestLocationMatch, yt as _enum, z as humidifierCapability } from "./dist-5-dwtcpP.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { brotliCompressSync, deflateSync, gzipSync } from "node:zlib";
|
|
4
4
|
//#region src/ha-device-source.ts
|
|
@@ -8154,13 +8154,28 @@ var RecordingBandSchema = object({
|
|
|
8154
8154
|
end: string().regex(HHMM),
|
|
8155
8155
|
mode: RecordingBandModeSchema,
|
|
8156
8156
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8157
|
+
/**
|
|
8158
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8159
|
+
*
|
|
8160
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8161
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8162
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8163
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8164
|
+
* expression of the broker's retention, in different units, in a different
|
|
8165
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8166
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8167
|
+
* left to configure here.
|
|
8168
|
+
*
|
|
8169
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8170
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8171
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8172
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8173
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8174
|
+
*/
|
|
8157
8175
|
preBufferSec: number().min(0).optional(),
|
|
8158
8176
|
postBufferSec: number().min(0).optional()
|
|
8159
8177
|
});
|
|
8160
|
-
({
|
|
8161
|
-
preBufferSec: 15,
|
|
8162
|
-
postBufferSec: 30
|
|
8163
|
-
}).postBufferSec * 1e3;
|
|
8178
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8164
8179
|
/**
|
|
8165
8180
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8166
8181
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -8154,13 +8154,28 @@ var RecordingBandSchema = object({
|
|
|
8154
8154
|
end: string().regex(HHMM),
|
|
8155
8155
|
mode: RecordingBandModeSchema,
|
|
8156
8156
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8157
|
+
/**
|
|
8158
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8159
|
+
*
|
|
8160
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8161
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8162
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8163
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8164
|
+
* expression of the broker's retention, in different units, in a different
|
|
8165
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8166
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8167
|
+
* left to configure here.
|
|
8168
|
+
*
|
|
8169
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8170
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8171
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8172
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8173
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8174
|
+
*/
|
|
8157
8175
|
preBufferSec: number().min(0).optional(),
|
|
8158
8176
|
postBufferSec: number().min(0).optional()
|
|
8159
8177
|
});
|
|
8160
|
-
({
|
|
8161
|
-
preBufferSec: 15,
|
|
8162
|
-
postBufferSec: 30
|
|
8163
|
-
}).postBufferSec * 1e3;
|
|
8178
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8164
8179
|
/**
|
|
8165
8180
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8166
8181
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
//#endregion
|
|
6
|
-
const require_dist = require("../dist-
|
|
6
|
+
const require_dist = require("../dist-14FaSOPJ.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
//#region src/ha-export/topics.ts
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as EventCategory, C as buildAddonRouteProvider, Et as string, N as deviceExportCapability, X as oauthIntegrationCapability, a as COCO_TO_MACRO, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, pt as BaseAddon, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, vt as nodePin } from "../dist-
|
|
1
|
+
import { At as EventCategory, C as buildAddonRouteProvider, Et as string, N as deviceExportCapability, X as oauthIntegrationCapability, a as COCO_TO_MACRO, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, pt as BaseAddon, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, vt as nodePin } from "../dist-5-dwtcpP.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
//#region src/ha-export/topics.ts
|
|
4
4
|
/**
|