@camstack/addon-provider-homeassistant 1.2.69 → 1.2.71
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/{dist-CccnKDCg.mjs → dist-CiUJy917.mjs} +18 -23
- package/dist/{dist-BULdaGgg.js → dist-VXqwogoH.js} +18 -23
- package/dist/ha-export/ha-export.addon.js +1 -1
- package/dist/ha-export/ha-export.addon.mjs +1 -1
- package/package.json +1 -1
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-VXqwogoH.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-CiUJy917.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
|
|
@@ -14843,17 +14843,6 @@ var ContainerMemoryPointSchema = object({
|
|
|
14843
14843
|
*/
|
|
14844
14844
|
gpuShmemBytes: number().nullable()
|
|
14845
14845
|
}).extend({ atMs: number() });
|
|
14846
|
-
var DumpHeapSnapshotInputSchema = object({
|
|
14847
|
-
/** The addon whose runner should dump a heap snapshot. */
|
|
14848
|
-
addonId: string() });
|
|
14849
|
-
var DumpHeapSnapshotResultSchema = object({
|
|
14850
|
-
success: boolean(),
|
|
14851
|
-
/** Path of the written .heapsnapshot inside the runner's container/host. */
|
|
14852
|
-
path: string().optional(),
|
|
14853
|
-
/** Process pid that was signalled. */
|
|
14854
|
-
pid: number().optional(),
|
|
14855
|
-
reason: string().optional()
|
|
14856
|
-
});
|
|
14857
14846
|
/**
|
|
14858
14847
|
* One point of one function's series.
|
|
14859
14848
|
*
|
|
@@ -14977,10 +14966,7 @@ var SystemMetricsSchema = object({
|
|
|
14977
14966
|
gpuPercent: number().optional(),
|
|
14978
14967
|
gpuMemoryPercent: number().optional()
|
|
14979
14968
|
});
|
|
14980
|
-
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(GetLoadSeriesInputSchema, NodeLoadSeriesSchema)
|
|
14981
|
-
kind: "mutation",
|
|
14982
|
-
auth: "admin"
|
|
14983
|
-
});
|
|
14969
|
+
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(GetLoadSeriesInputSchema, NodeLoadSeriesSchema);
|
|
14984
14970
|
method(object({
|
|
14985
14971
|
sourceUrl: string(),
|
|
14986
14972
|
metadata: ModelConvertMetadataSchema,
|
|
@@ -19322,7 +19308,8 @@ var MediaFileKindEnum = _enum([
|
|
|
19322
19308
|
"plateCrop",
|
|
19323
19309
|
"keyFrame",
|
|
19324
19310
|
"keyFrameSmall",
|
|
19325
|
-
"thumbnailSmall"
|
|
19311
|
+
"thumbnailSmall",
|
|
19312
|
+
"sceneFrame"
|
|
19326
19313
|
]);
|
|
19327
19314
|
/**
|
|
19328
19315
|
* One media row ON THE WIRE: what it is, how big it is, and WHERE ITS BYTES
|
|
@@ -19971,7 +19958,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19971
19958
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19972
19959
|
* stationary registry). Default false: the timeline lists passages,
|
|
19973
19960
|
* not parking records (operator decision, 2026-08-15). */
|
|
19974
|
-
includeStationary: boolean().optional()
|
|
19961
|
+
includeStationary: boolean().optional(),
|
|
19962
|
+
/**
|
|
19963
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19964
|
+
*
|
|
19965
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19966
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19967
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19968
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19969
|
+
* selection was still a wide read followed by a wide discard.
|
|
19970
|
+
*
|
|
19971
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19972
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19973
|
+
* timeline would read as a camera that saw nothing.
|
|
19974
|
+
*/
|
|
19975
|
+
classes: array(string()).optional()
|
|
19975
19976
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19976
19977
|
kind: "mutation",
|
|
19977
19978
|
auth: "admin"
|
|
@@ -35643,12 +35644,6 @@ Object.freeze({
|
|
|
35643
35644
|
addonId: null,
|
|
35644
35645
|
access: "view"
|
|
35645
35646
|
},
|
|
35646
|
-
"metricsProvider.dumpHeapSnapshot": {
|
|
35647
|
-
capName: "metrics-provider",
|
|
35648
|
-
capScope: "system",
|
|
35649
|
-
addonId: null,
|
|
35650
|
-
access: "create"
|
|
35651
|
-
},
|
|
35652
35647
|
"metricsProvider.getAddonStats": {
|
|
35653
35648
|
capName: "metrics-provider",
|
|
35654
35649
|
capScope: "system",
|
|
@@ -14843,17 +14843,6 @@ var ContainerMemoryPointSchema = object({
|
|
|
14843
14843
|
*/
|
|
14844
14844
|
gpuShmemBytes: number().nullable()
|
|
14845
14845
|
}).extend({ atMs: number() });
|
|
14846
|
-
var DumpHeapSnapshotInputSchema = object({
|
|
14847
|
-
/** The addon whose runner should dump a heap snapshot. */
|
|
14848
|
-
addonId: string() });
|
|
14849
|
-
var DumpHeapSnapshotResultSchema = object({
|
|
14850
|
-
success: boolean(),
|
|
14851
|
-
/** Path of the written .heapsnapshot inside the runner's container/host. */
|
|
14852
|
-
path: string().optional(),
|
|
14853
|
-
/** Process pid that was signalled. */
|
|
14854
|
-
pid: number().optional(),
|
|
14855
|
-
reason: string().optional()
|
|
14856
|
-
});
|
|
14857
14846
|
/**
|
|
14858
14847
|
* One point of one function's series.
|
|
14859
14848
|
*
|
|
@@ -14977,10 +14966,7 @@ var SystemMetricsSchema = object({
|
|
|
14977
14966
|
gpuPercent: number().optional(),
|
|
14978
14967
|
gpuMemoryPercent: number().optional()
|
|
14979
14968
|
});
|
|
14980
|
-
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(GetLoadSeriesInputSchema, NodeLoadSeriesSchema)
|
|
14981
|
-
kind: "mutation",
|
|
14982
|
-
auth: "admin"
|
|
14983
|
-
});
|
|
14969
|
+
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(GetLoadSeriesInputSchema, NodeLoadSeriesSchema);
|
|
14984
14970
|
method(object({
|
|
14985
14971
|
sourceUrl: string(),
|
|
14986
14972
|
metadata: ModelConvertMetadataSchema,
|
|
@@ -19322,7 +19308,8 @@ var MediaFileKindEnum = _enum([
|
|
|
19322
19308
|
"plateCrop",
|
|
19323
19309
|
"keyFrame",
|
|
19324
19310
|
"keyFrameSmall",
|
|
19325
|
-
"thumbnailSmall"
|
|
19311
|
+
"thumbnailSmall",
|
|
19312
|
+
"sceneFrame"
|
|
19326
19313
|
]);
|
|
19327
19314
|
/**
|
|
19328
19315
|
* One media row ON THE WIRE: what it is, how big it is, and WHERE ITS BYTES
|
|
@@ -19971,7 +19958,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19971
19958
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19972
19959
|
* stationary registry). Default false: the timeline lists passages,
|
|
19973
19960
|
* not parking records (operator decision, 2026-08-15). */
|
|
19974
|
-
includeStationary: boolean().optional()
|
|
19961
|
+
includeStationary: boolean().optional(),
|
|
19962
|
+
/**
|
|
19963
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19964
|
+
*
|
|
19965
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19966
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19967
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19968
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19969
|
+
* selection was still a wide read followed by a wide discard.
|
|
19970
|
+
*
|
|
19971
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19972
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19973
|
+
* timeline would read as a camera that saw nothing.
|
|
19974
|
+
*/
|
|
19975
|
+
classes: array(string()).optional()
|
|
19975
19976
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19976
19977
|
kind: "mutation",
|
|
19977
19978
|
auth: "admin"
|
|
@@ -35643,12 +35644,6 @@ Object.freeze({
|
|
|
35643
35644
|
addonId: null,
|
|
35644
35645
|
access: "view"
|
|
35645
35646
|
},
|
|
35646
|
-
"metricsProvider.dumpHeapSnapshot": {
|
|
35647
|
-
capName: "metrics-provider",
|
|
35648
|
-
capScope: "system",
|
|
35649
|
-
addonId: null,
|
|
35650
|
-
access: "create"
|
|
35651
|
-
},
|
|
35652
35647
|
"metricsProvider.getAddonStats": {
|
|
35653
35648
|
capName: "metrics-provider",
|
|
35654
35649
|
capScope: "system",
|
|
@@ -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-VXqwogoH.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-CiUJy917.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
//#region src/ha-export/topics.ts
|
|
4
4
|
/**
|