@camstack/addon-provider-homeassistant 1.2.101 → 1.2.103
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-B8yYEg2y.js → dist-B1wVsjRx.js} +110 -70
- package/dist/{dist-CCAzG3ec.mjs → dist-jHuKjwKy.mjs} +110 -70
- 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-B1wVsjRx.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-jHuKjwKy.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
|
|
@@ -7830,6 +7830,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7830
7830
|
/** Unix ms when the group was composed server-side. */
|
|
7831
7831
|
fetchedAt: number()
|
|
7832
7832
|
});
|
|
7833
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7834
|
+
* they were looking at, after the track itself is gone. */
|
|
7835
|
+
var ArchivedDebugNoteSchema = object({
|
|
7836
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7837
|
+
* same sentence about the same track lands on the row already there. */
|
|
7838
|
+
id: string(),
|
|
7839
|
+
/** The operator's own words, verbatim. */
|
|
7840
|
+
note: string(),
|
|
7841
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7842
|
+
deviceId: number().int(),
|
|
7843
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7844
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7845
|
+
sourceTrackId: string(),
|
|
7846
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7847
|
+
archivedAt: number().int(),
|
|
7848
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7849
|
+
trackStartedAt: number().int().nullable(),
|
|
7850
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7851
|
+
trackClass: string().nullable(),
|
|
7852
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7853
|
+
trackLabel: string().nullable()
|
|
7854
|
+
});
|
|
7855
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7856
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7857
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7858
|
+
deviceId: number().int().optional(),
|
|
7859
|
+
/** Max rows returned, newest-first. */
|
|
7860
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7861
|
+
});
|
|
7833
7862
|
/**
|
|
7834
7863
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7835
7864
|
* recordings and events management surfaces.
|
|
@@ -16480,14 +16509,14 @@ var alarmPanelCapability = {
|
|
|
16480
16509
|
code: string().min(1).optional()
|
|
16481
16510
|
}), _void(), {
|
|
16482
16511
|
kind: "mutation",
|
|
16483
|
-
auth: "
|
|
16512
|
+
auth: "protected"
|
|
16484
16513
|
}),
|
|
16485
16514
|
disarm: method(object({
|
|
16486
16515
|
deviceId: number().int().nonnegative(),
|
|
16487
16516
|
code: string().min(1).optional()
|
|
16488
16517
|
}), _void(), {
|
|
16489
16518
|
kind: "mutation",
|
|
16490
|
-
auth: "
|
|
16519
|
+
auth: "protected"
|
|
16491
16520
|
}),
|
|
16492
16521
|
/**
|
|
16493
16522
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16498,7 +16527,7 @@ var alarmPanelCapability = {
|
|
|
16498
16527
|
*/
|
|
16499
16528
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16500
16529
|
kind: "mutation",
|
|
16501
|
-
auth: "
|
|
16530
|
+
auth: "protected"
|
|
16502
16531
|
})
|
|
16503
16532
|
},
|
|
16504
16533
|
status: {
|
|
@@ -20478,7 +20507,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20478
20507
|
deviceId: number(),
|
|
20479
20508
|
trackId: string(),
|
|
20480
20509
|
flags: TrackFlagsPatchSchema
|
|
20481
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20510
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20482
20511
|
kind: "query",
|
|
20483
20512
|
auth: "admin"
|
|
20484
20513
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24553,7 +24582,7 @@ var brightnessCapability = {
|
|
|
24553
24582
|
percentage: number().min(0).max(100)
|
|
24554
24583
|
}), _void(), {
|
|
24555
24584
|
kind: "mutation",
|
|
24556
|
-
auth: "
|
|
24585
|
+
auth: "protected"
|
|
24557
24586
|
}) },
|
|
24558
24587
|
events: {
|
|
24559
24588
|
/**
|
|
@@ -24602,7 +24631,7 @@ var buttonCapability = {
|
|
|
24602
24631
|
deviceTypes: [DeviceType.Button],
|
|
24603
24632
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24604
24633
|
kind: "mutation",
|
|
24605
|
-
auth: "
|
|
24634
|
+
auth: "protected"
|
|
24606
24635
|
}) }
|
|
24607
24636
|
};
|
|
24608
24637
|
/**
|
|
@@ -24795,28 +24824,28 @@ var climateControlCapability = {
|
|
|
24795
24824
|
mode: HvacModeSchema
|
|
24796
24825
|
}), _void(), {
|
|
24797
24826
|
kind: "mutation",
|
|
24798
|
-
auth: "
|
|
24827
|
+
auth: "protected"
|
|
24799
24828
|
}),
|
|
24800
24829
|
setFanMode: method(object({
|
|
24801
24830
|
deviceId: number().int().nonnegative(),
|
|
24802
24831
|
fanMode: string().min(1)
|
|
24803
24832
|
}), _void(), {
|
|
24804
24833
|
kind: "mutation",
|
|
24805
|
-
auth: "
|
|
24834
|
+
auth: "protected"
|
|
24806
24835
|
}),
|
|
24807
24836
|
setPreset: method(object({
|
|
24808
24837
|
deviceId: number().int().nonnegative(),
|
|
24809
24838
|
preset: string().min(1)
|
|
24810
24839
|
}), _void(), {
|
|
24811
24840
|
kind: "mutation",
|
|
24812
|
-
auth: "
|
|
24841
|
+
auth: "protected"
|
|
24813
24842
|
}),
|
|
24814
24843
|
setTarget: method(object({
|
|
24815
24844
|
deviceId: number().int().nonnegative(),
|
|
24816
24845
|
target: number()
|
|
24817
24846
|
}), _void(), {
|
|
24818
24847
|
kind: "mutation",
|
|
24819
|
-
auth: "
|
|
24848
|
+
auth: "protected"
|
|
24820
24849
|
}),
|
|
24821
24850
|
setTargetRange: method(object({
|
|
24822
24851
|
deviceId: number().int().nonnegative(),
|
|
@@ -24824,28 +24853,28 @@ var climateControlCapability = {
|
|
|
24824
24853
|
targetHigh: number()
|
|
24825
24854
|
}), _void(), {
|
|
24826
24855
|
kind: "mutation",
|
|
24827
|
-
auth: "
|
|
24856
|
+
auth: "protected"
|
|
24828
24857
|
}),
|
|
24829
24858
|
setTargetHumidity: method(object({
|
|
24830
24859
|
deviceId: number().int().nonnegative(),
|
|
24831
24860
|
targetHumidity: number().min(0).max(100)
|
|
24832
24861
|
}), _void(), {
|
|
24833
24862
|
kind: "mutation",
|
|
24834
|
-
auth: "
|
|
24863
|
+
auth: "protected"
|
|
24835
24864
|
}),
|
|
24836
24865
|
setSwingVertical: method(object({
|
|
24837
24866
|
deviceId: number().int().nonnegative(),
|
|
24838
24867
|
on: boolean()
|
|
24839
24868
|
}), _void(), {
|
|
24840
24869
|
kind: "mutation",
|
|
24841
|
-
auth: "
|
|
24870
|
+
auth: "protected"
|
|
24842
24871
|
}),
|
|
24843
24872
|
setSwingHorizontal: method(object({
|
|
24844
24873
|
deviceId: number().int().nonnegative(),
|
|
24845
24874
|
on: boolean()
|
|
24846
24875
|
}), _void(), {
|
|
24847
24876
|
kind: "mutation",
|
|
24848
|
-
auth: "
|
|
24877
|
+
auth: "protected"
|
|
24849
24878
|
})
|
|
24850
24879
|
},
|
|
24851
24880
|
status: {
|
|
@@ -24945,7 +24974,7 @@ var colorCapability = {
|
|
|
24945
24974
|
color: ColorInputSchema
|
|
24946
24975
|
}), _void(), {
|
|
24947
24976
|
kind: "mutation",
|
|
24948
|
-
auth: "
|
|
24977
|
+
auth: "protected"
|
|
24949
24978
|
}) },
|
|
24950
24979
|
events: {
|
|
24951
24980
|
/**
|
|
@@ -25274,7 +25303,7 @@ var controlCapability = {
|
|
|
25274
25303
|
control: ControlSetValueInputSchema
|
|
25275
25304
|
}), _void(), {
|
|
25276
25305
|
kind: "mutation",
|
|
25277
|
-
auth: "
|
|
25306
|
+
auth: "protected"
|
|
25278
25307
|
}) },
|
|
25279
25308
|
status: {
|
|
25280
25309
|
schema: ControlStatusSchema,
|
|
@@ -25320,29 +25349,29 @@ var coverCapability = {
|
|
|
25320
25349
|
methods: {
|
|
25321
25350
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25322
25351
|
kind: "mutation",
|
|
25323
|
-
auth: "
|
|
25352
|
+
auth: "protected"
|
|
25324
25353
|
}),
|
|
25325
25354
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25326
25355
|
kind: "mutation",
|
|
25327
|
-
auth: "
|
|
25356
|
+
auth: "protected"
|
|
25328
25357
|
}),
|
|
25329
25358
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25330
25359
|
kind: "mutation",
|
|
25331
|
-
auth: "
|
|
25360
|
+
auth: "protected"
|
|
25332
25361
|
}),
|
|
25333
25362
|
setPosition: method(object({
|
|
25334
25363
|
deviceId: number().int().nonnegative(),
|
|
25335
25364
|
position: number().min(0).max(100)
|
|
25336
25365
|
}), _void(), {
|
|
25337
25366
|
kind: "mutation",
|
|
25338
|
-
auth: "
|
|
25367
|
+
auth: "protected"
|
|
25339
25368
|
}),
|
|
25340
25369
|
setTiltPosition: method(object({
|
|
25341
25370
|
deviceId: number().int().nonnegative(),
|
|
25342
25371
|
tiltPosition: number().min(0).max(100)
|
|
25343
25372
|
}), _void(), {
|
|
25344
25373
|
kind: "mutation",
|
|
25345
|
-
auth: "
|
|
25374
|
+
auth: "protected"
|
|
25346
25375
|
})
|
|
25347
25376
|
},
|
|
25348
25377
|
status: {
|
|
@@ -26125,28 +26154,28 @@ var fanControlCapability = {
|
|
|
26125
26154
|
percentage: number().min(0).max(100)
|
|
26126
26155
|
}), _void(), {
|
|
26127
26156
|
kind: "mutation",
|
|
26128
|
-
auth: "
|
|
26157
|
+
auth: "protected"
|
|
26129
26158
|
}),
|
|
26130
26159
|
setPreset: method(object({
|
|
26131
26160
|
deviceId: number().int().nonnegative(),
|
|
26132
26161
|
preset: string().min(1)
|
|
26133
26162
|
}), _void(), {
|
|
26134
26163
|
kind: "mutation",
|
|
26135
|
-
auth: "
|
|
26164
|
+
auth: "protected"
|
|
26136
26165
|
}),
|
|
26137
26166
|
setDirection: method(object({
|
|
26138
26167
|
deviceId: number().int().nonnegative(),
|
|
26139
26168
|
direction: FanDirectionSchema
|
|
26140
26169
|
}), _void(), {
|
|
26141
26170
|
kind: "mutation",
|
|
26142
|
-
auth: "
|
|
26171
|
+
auth: "protected"
|
|
26143
26172
|
}),
|
|
26144
26173
|
setOscillating: method(object({
|
|
26145
26174
|
deviceId: number().int().nonnegative(),
|
|
26146
26175
|
oscillating: boolean()
|
|
26147
26176
|
}), _void(), {
|
|
26148
26177
|
kind: "mutation",
|
|
26149
|
-
auth: "
|
|
26178
|
+
auth: "protected"
|
|
26150
26179
|
})
|
|
26151
26180
|
},
|
|
26152
26181
|
status: {
|
|
@@ -26368,21 +26397,21 @@ var humidifierCapability = {
|
|
|
26368
26397
|
on: boolean()
|
|
26369
26398
|
}), _void(), {
|
|
26370
26399
|
kind: "mutation",
|
|
26371
|
-
auth: "
|
|
26400
|
+
auth: "protected"
|
|
26372
26401
|
}),
|
|
26373
26402
|
setTargetHumidity: method(object({
|
|
26374
26403
|
deviceId: number().int().nonnegative(),
|
|
26375
26404
|
humidity: number().min(0).max(100)
|
|
26376
26405
|
}), _void(), {
|
|
26377
26406
|
kind: "mutation",
|
|
26378
|
-
auth: "
|
|
26407
|
+
auth: "protected"
|
|
26379
26408
|
}),
|
|
26380
26409
|
setMode: method(object({
|
|
26381
26410
|
deviceId: number().int().nonnegative(),
|
|
26382
26411
|
mode: string().min(1)
|
|
26383
26412
|
}), _void(), {
|
|
26384
26413
|
kind: "mutation",
|
|
26385
|
-
auth: "
|
|
26414
|
+
auth: "protected"
|
|
26386
26415
|
})
|
|
26387
26416
|
},
|
|
26388
26417
|
status: {
|
|
@@ -27083,15 +27112,15 @@ var lawnMowerControlCapability = {
|
|
|
27083
27112
|
methods: {
|
|
27084
27113
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27085
27114
|
kind: "mutation",
|
|
27086
|
-
auth: "
|
|
27115
|
+
auth: "protected"
|
|
27087
27116
|
}),
|
|
27088
27117
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27089
27118
|
kind: "mutation",
|
|
27090
|
-
auth: "
|
|
27119
|
+
auth: "protected"
|
|
27091
27120
|
}),
|
|
27092
27121
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27093
27122
|
kind: "mutation",
|
|
27094
|
-
auth: "
|
|
27123
|
+
auth: "protected"
|
|
27095
27124
|
})
|
|
27096
27125
|
},
|
|
27097
27126
|
status: {
|
|
@@ -27376,18 +27405,18 @@ var lockControlCapability = {
|
|
|
27376
27405
|
code: string().min(1).optional()
|
|
27377
27406
|
}), _void(), {
|
|
27378
27407
|
kind: "mutation",
|
|
27379
|
-
auth: "
|
|
27408
|
+
auth: "protected"
|
|
27380
27409
|
}),
|
|
27381
27410
|
unlock: method(object({
|
|
27382
27411
|
deviceId: number().int().nonnegative(),
|
|
27383
27412
|
code: string().min(1).optional()
|
|
27384
27413
|
}), _void(), {
|
|
27385
27414
|
kind: "mutation",
|
|
27386
|
-
auth: "
|
|
27415
|
+
auth: "protected"
|
|
27387
27416
|
}),
|
|
27388
27417
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27389
27418
|
kind: "mutation",
|
|
27390
|
-
auth: "
|
|
27419
|
+
auth: "protected"
|
|
27391
27420
|
})
|
|
27392
27421
|
},
|
|
27393
27422
|
status: {
|
|
@@ -27490,65 +27519,65 @@ var mediaPlayerCapability = {
|
|
|
27490
27519
|
methods: {
|
|
27491
27520
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27492
27521
|
kind: "mutation",
|
|
27493
|
-
auth: "
|
|
27522
|
+
auth: "protected"
|
|
27494
27523
|
}),
|
|
27495
27524
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27496
27525
|
kind: "mutation",
|
|
27497
|
-
auth: "
|
|
27526
|
+
auth: "protected"
|
|
27498
27527
|
}),
|
|
27499
27528
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27500
27529
|
kind: "mutation",
|
|
27501
|
-
auth: "
|
|
27530
|
+
auth: "protected"
|
|
27502
27531
|
}),
|
|
27503
27532
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27504
27533
|
kind: "mutation",
|
|
27505
|
-
auth: "
|
|
27534
|
+
auth: "protected"
|
|
27506
27535
|
}),
|
|
27507
27536
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27508
27537
|
kind: "mutation",
|
|
27509
|
-
auth: "
|
|
27538
|
+
auth: "protected"
|
|
27510
27539
|
}),
|
|
27511
27540
|
seek: method(object({
|
|
27512
27541
|
deviceId: number().int().nonnegative(),
|
|
27513
27542
|
positionMs: number().int().nonnegative()
|
|
27514
27543
|
}), _void(), {
|
|
27515
27544
|
kind: "mutation",
|
|
27516
|
-
auth: "
|
|
27545
|
+
auth: "protected"
|
|
27517
27546
|
}),
|
|
27518
27547
|
setVolume: method(object({
|
|
27519
27548
|
deviceId: number().int().nonnegative(),
|
|
27520
27549
|
volumeLevel: number().min(0).max(100)
|
|
27521
27550
|
}), _void(), {
|
|
27522
27551
|
kind: "mutation",
|
|
27523
|
-
auth: "
|
|
27552
|
+
auth: "protected"
|
|
27524
27553
|
}),
|
|
27525
27554
|
setMute: method(object({
|
|
27526
27555
|
deviceId: number().int().nonnegative(),
|
|
27527
27556
|
muted: boolean()
|
|
27528
27557
|
}), _void(), {
|
|
27529
27558
|
kind: "mutation",
|
|
27530
|
-
auth: "
|
|
27559
|
+
auth: "protected"
|
|
27531
27560
|
}),
|
|
27532
27561
|
setShuffle: method(object({
|
|
27533
27562
|
deviceId: number().int().nonnegative(),
|
|
27534
27563
|
shuffle: boolean()
|
|
27535
27564
|
}), _void(), {
|
|
27536
27565
|
kind: "mutation",
|
|
27537
|
-
auth: "
|
|
27566
|
+
auth: "protected"
|
|
27538
27567
|
}),
|
|
27539
27568
|
setRepeat: method(object({
|
|
27540
27569
|
deviceId: number().int().nonnegative(),
|
|
27541
27570
|
repeat: MediaPlayerRepeatSchema
|
|
27542
27571
|
}), _void(), {
|
|
27543
27572
|
kind: "mutation",
|
|
27544
|
-
auth: "
|
|
27573
|
+
auth: "protected"
|
|
27545
27574
|
}),
|
|
27546
27575
|
selectSource: method(object({
|
|
27547
27576
|
deviceId: number().int().nonnegative(),
|
|
27548
27577
|
source: string().min(1)
|
|
27549
27578
|
}), _void(), {
|
|
27550
27579
|
kind: "mutation",
|
|
27551
|
-
auth: "
|
|
27580
|
+
auth: "protected"
|
|
27552
27581
|
}),
|
|
27553
27582
|
playMedia: method(object({
|
|
27554
27583
|
deviceId: number().int().nonnegative(),
|
|
@@ -27559,7 +27588,7 @@ var mediaPlayerCapability = {
|
|
|
27559
27588
|
mediaType: string().min(1)
|
|
27560
27589
|
}), _void(), {
|
|
27561
27590
|
kind: "mutation",
|
|
27562
|
-
auth: "
|
|
27591
|
+
auth: "protected"
|
|
27563
27592
|
})
|
|
27564
27593
|
},
|
|
27565
27594
|
status: {
|
|
@@ -29152,27 +29181,27 @@ var petFeederCapability = {
|
|
|
29152
29181
|
hopper2: gramsPortion.optional()
|
|
29153
29182
|
}), _void(), {
|
|
29154
29183
|
kind: "mutation",
|
|
29155
|
-
auth: "
|
|
29184
|
+
auth: "protected"
|
|
29156
29185
|
}),
|
|
29157
29186
|
/** Cancel an in-progress manual feed. */
|
|
29158
29187
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29159
29188
|
kind: "mutation",
|
|
29160
|
-
auth: "
|
|
29189
|
+
auth: "protected"
|
|
29161
29190
|
}),
|
|
29162
29191
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29163
29192
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29164
29193
|
kind: "mutation",
|
|
29165
|
-
auth: "
|
|
29194
|
+
auth: "protected"
|
|
29166
29195
|
}),
|
|
29167
29196
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29168
29197
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29169
29198
|
kind: "mutation",
|
|
29170
|
-
auth: "
|
|
29199
|
+
auth: "protected"
|
|
29171
29200
|
}),
|
|
29172
29201
|
/** Call the pet with the recorded prompt (D3). */
|
|
29173
29202
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29174
29203
|
kind: "mutation",
|
|
29175
|
-
auth: "
|
|
29204
|
+
auth: "protected"
|
|
29176
29205
|
}),
|
|
29177
29206
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29178
29207
|
playSound: method(object({
|
|
@@ -29180,7 +29209,7 @@ var petFeederCapability = {
|
|
|
29180
29209
|
soundId: number().int().nonnegative()
|
|
29181
29210
|
}), _void(), {
|
|
29182
29211
|
kind: "mutation",
|
|
29183
|
-
auth: "
|
|
29212
|
+
auth: "protected"
|
|
29184
29213
|
}),
|
|
29185
29214
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29186
29215
|
setChildLock: method(object({
|
|
@@ -29188,7 +29217,7 @@ var petFeederCapability = {
|
|
|
29188
29217
|
on: boolean()
|
|
29189
29218
|
}), _void(), {
|
|
29190
29219
|
kind: "mutation",
|
|
29191
|
-
auth: "
|
|
29220
|
+
auth: "protected"
|
|
29192
29221
|
}),
|
|
29193
29222
|
/** Toggle the front indicator light. */
|
|
29194
29223
|
setIndicatorLight: method(object({
|
|
@@ -29196,7 +29225,7 @@ var petFeederCapability = {
|
|
|
29196
29225
|
on: boolean()
|
|
29197
29226
|
}), _void(), {
|
|
29198
29227
|
kind: "mutation",
|
|
29199
|
-
auth: "
|
|
29228
|
+
auth: "protected"
|
|
29200
29229
|
}),
|
|
29201
29230
|
/** Toggle the dispense chime. */
|
|
29202
29231
|
setFeedSound: method(object({
|
|
@@ -29204,7 +29233,7 @@ var petFeederCapability = {
|
|
|
29204
29233
|
on: boolean()
|
|
29205
29234
|
}), _void(), {
|
|
29206
29235
|
kind: "mutation",
|
|
29207
|
-
auth: "
|
|
29236
|
+
auth: "protected"
|
|
29208
29237
|
}),
|
|
29209
29238
|
/** Set the speaker / prompt volume level. */
|
|
29210
29239
|
setVolume: method(object({
|
|
@@ -29212,7 +29241,7 @@ var petFeederCapability = {
|
|
|
29212
29241
|
level: number().int().nonnegative()
|
|
29213
29242
|
}), _void(), {
|
|
29214
29243
|
kind: "mutation",
|
|
29215
|
-
auth: "
|
|
29244
|
+
auth: "protected"
|
|
29216
29245
|
})
|
|
29217
29246
|
},
|
|
29218
29247
|
status: {
|
|
@@ -31508,7 +31537,7 @@ var switchCapability = {
|
|
|
31508
31537
|
on: boolean()
|
|
31509
31538
|
}), _void(), {
|
|
31510
31539
|
kind: "mutation",
|
|
31511
|
-
auth: "
|
|
31540
|
+
auth: "protected"
|
|
31512
31541
|
}) },
|
|
31513
31542
|
events: { onStateChanged: { data: object({
|
|
31514
31543
|
deviceId: number(),
|
|
@@ -32496,30 +32525,30 @@ var vacuumControlCapability = {
|
|
|
32496
32525
|
methods: {
|
|
32497
32526
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32498
32527
|
kind: "mutation",
|
|
32499
|
-
auth: "
|
|
32528
|
+
auth: "protected"
|
|
32500
32529
|
}),
|
|
32501
32530
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32502
32531
|
kind: "mutation",
|
|
32503
|
-
auth: "
|
|
32532
|
+
auth: "protected"
|
|
32504
32533
|
}),
|
|
32505
32534
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32506
32535
|
kind: "mutation",
|
|
32507
|
-
auth: "
|
|
32536
|
+
auth: "protected"
|
|
32508
32537
|
}),
|
|
32509
32538
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32510
32539
|
kind: "mutation",
|
|
32511
|
-
auth: "
|
|
32540
|
+
auth: "protected"
|
|
32512
32541
|
}),
|
|
32513
32542
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32514
32543
|
kind: "mutation",
|
|
32515
|
-
auth: "
|
|
32544
|
+
auth: "protected"
|
|
32516
32545
|
}),
|
|
32517
32546
|
setFanSpeed: method(object({
|
|
32518
32547
|
deviceId: number().int().nonnegative(),
|
|
32519
32548
|
speed: string().min(1)
|
|
32520
32549
|
}), _void(), {
|
|
32521
32550
|
kind: "mutation",
|
|
32522
|
-
auth: "
|
|
32551
|
+
auth: "protected"
|
|
32523
32552
|
})
|
|
32524
32553
|
},
|
|
32525
32554
|
status: {
|
|
@@ -32563,22 +32592,22 @@ var valveCapability = {
|
|
|
32563
32592
|
methods: {
|
|
32564
32593
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32565
32594
|
kind: "mutation",
|
|
32566
|
-
auth: "
|
|
32595
|
+
auth: "protected"
|
|
32567
32596
|
}),
|
|
32568
32597
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32569
32598
|
kind: "mutation",
|
|
32570
|
-
auth: "
|
|
32599
|
+
auth: "protected"
|
|
32571
32600
|
}),
|
|
32572
32601
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32573
32602
|
kind: "mutation",
|
|
32574
|
-
auth: "
|
|
32603
|
+
auth: "protected"
|
|
32575
32604
|
}),
|
|
32576
32605
|
setPosition: method(object({
|
|
32577
32606
|
deviceId: number().int().nonnegative(),
|
|
32578
32607
|
position: number().min(0).max(100)
|
|
32579
32608
|
}), _void(), {
|
|
32580
32609
|
kind: "mutation",
|
|
32581
|
-
auth: "
|
|
32610
|
+
auth: "protected"
|
|
32582
32611
|
})
|
|
32583
32612
|
},
|
|
32584
32613
|
status: {
|
|
@@ -32677,21 +32706,21 @@ var waterHeaterCapability = {
|
|
|
32677
32706
|
temp: number().finite()
|
|
32678
32707
|
}), _void(), {
|
|
32679
32708
|
kind: "mutation",
|
|
32680
|
-
auth: "
|
|
32709
|
+
auth: "protected"
|
|
32681
32710
|
}),
|
|
32682
32711
|
setOperationMode: method(object({
|
|
32683
32712
|
deviceId: number().int().nonnegative(),
|
|
32684
32713
|
mode: string().min(1)
|
|
32685
32714
|
}), _void(), {
|
|
32686
32715
|
kind: "mutation",
|
|
32687
|
-
auth: "
|
|
32716
|
+
auth: "protected"
|
|
32688
32717
|
}),
|
|
32689
32718
|
setAway: method(object({
|
|
32690
32719
|
deviceId: number().int().nonnegative(),
|
|
32691
32720
|
on: boolean()
|
|
32692
32721
|
}), _void(), {
|
|
32693
32722
|
kind: "mutation",
|
|
32694
|
-
auth: "
|
|
32723
|
+
auth: "protected"
|
|
32695
32724
|
})
|
|
32696
32725
|
},
|
|
32697
32726
|
status: {
|
|
@@ -37961,6 +37990,12 @@ Object.freeze({
|
|
|
37961
37990
|
addonId: null,
|
|
37962
37991
|
access: "view"
|
|
37963
37992
|
},
|
|
37993
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37994
|
+
capName: "pipeline-analytics",
|
|
37995
|
+
capScope: "device",
|
|
37996
|
+
addonId: null,
|
|
37997
|
+
access: "view"
|
|
37998
|
+
},
|
|
37964
37999
|
"pipelineAnalytics.listEventKinds": {
|
|
37965
38000
|
capName: "pipeline-analytics",
|
|
37966
38001
|
capScope: "device",
|
|
@@ -41748,6 +41783,11 @@ Object.freeze({
|
|
|
41748
41783
|
form: "array",
|
|
41749
41784
|
optional: true
|
|
41750
41785
|
}],
|
|
41786
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41787
|
+
name: "deviceId",
|
|
41788
|
+
form: "single",
|
|
41789
|
+
optional: true
|
|
41790
|
+
}],
|
|
41751
41791
|
"pipelineAnalytics.listEventKinds": [{
|
|
41752
41792
|
name: "deviceId",
|
|
41753
41793
|
form: "single",
|
|
@@ -7830,6 +7830,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7830
7830
|
/** Unix ms when the group was composed server-side. */
|
|
7831
7831
|
fetchedAt: number()
|
|
7832
7832
|
});
|
|
7833
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7834
|
+
* they were looking at, after the track itself is gone. */
|
|
7835
|
+
var ArchivedDebugNoteSchema = object({
|
|
7836
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7837
|
+
* same sentence about the same track lands on the row already there. */
|
|
7838
|
+
id: string(),
|
|
7839
|
+
/** The operator's own words, verbatim. */
|
|
7840
|
+
note: string(),
|
|
7841
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7842
|
+
deviceId: number().int(),
|
|
7843
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7844
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7845
|
+
sourceTrackId: string(),
|
|
7846
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7847
|
+
archivedAt: number().int(),
|
|
7848
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7849
|
+
trackStartedAt: number().int().nullable(),
|
|
7850
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7851
|
+
trackClass: string().nullable(),
|
|
7852
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7853
|
+
trackLabel: string().nullable()
|
|
7854
|
+
});
|
|
7855
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7856
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7857
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7858
|
+
deviceId: number().int().optional(),
|
|
7859
|
+
/** Max rows returned, newest-first. */
|
|
7860
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7861
|
+
});
|
|
7833
7862
|
/**
|
|
7834
7863
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7835
7864
|
* recordings and events management surfaces.
|
|
@@ -16480,14 +16509,14 @@ var alarmPanelCapability = {
|
|
|
16480
16509
|
code: string().min(1).optional()
|
|
16481
16510
|
}), _void(), {
|
|
16482
16511
|
kind: "mutation",
|
|
16483
|
-
auth: "
|
|
16512
|
+
auth: "protected"
|
|
16484
16513
|
}),
|
|
16485
16514
|
disarm: method(object({
|
|
16486
16515
|
deviceId: number().int().nonnegative(),
|
|
16487
16516
|
code: string().min(1).optional()
|
|
16488
16517
|
}), _void(), {
|
|
16489
16518
|
kind: "mutation",
|
|
16490
|
-
auth: "
|
|
16519
|
+
auth: "protected"
|
|
16491
16520
|
}),
|
|
16492
16521
|
/**
|
|
16493
16522
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16498,7 +16527,7 @@ var alarmPanelCapability = {
|
|
|
16498
16527
|
*/
|
|
16499
16528
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16500
16529
|
kind: "mutation",
|
|
16501
|
-
auth: "
|
|
16530
|
+
auth: "protected"
|
|
16502
16531
|
})
|
|
16503
16532
|
},
|
|
16504
16533
|
status: {
|
|
@@ -20478,7 +20507,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20478
20507
|
deviceId: number(),
|
|
20479
20508
|
trackId: string(),
|
|
20480
20509
|
flags: TrackFlagsPatchSchema
|
|
20481
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20510
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20482
20511
|
kind: "query",
|
|
20483
20512
|
auth: "admin"
|
|
20484
20513
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24553,7 +24582,7 @@ var brightnessCapability = {
|
|
|
24553
24582
|
percentage: number().min(0).max(100)
|
|
24554
24583
|
}), _void(), {
|
|
24555
24584
|
kind: "mutation",
|
|
24556
|
-
auth: "
|
|
24585
|
+
auth: "protected"
|
|
24557
24586
|
}) },
|
|
24558
24587
|
events: {
|
|
24559
24588
|
/**
|
|
@@ -24602,7 +24631,7 @@ var buttonCapability = {
|
|
|
24602
24631
|
deviceTypes: [DeviceType.Button],
|
|
24603
24632
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24604
24633
|
kind: "mutation",
|
|
24605
|
-
auth: "
|
|
24634
|
+
auth: "protected"
|
|
24606
24635
|
}) }
|
|
24607
24636
|
};
|
|
24608
24637
|
/**
|
|
@@ -24795,28 +24824,28 @@ var climateControlCapability = {
|
|
|
24795
24824
|
mode: HvacModeSchema
|
|
24796
24825
|
}), _void(), {
|
|
24797
24826
|
kind: "mutation",
|
|
24798
|
-
auth: "
|
|
24827
|
+
auth: "protected"
|
|
24799
24828
|
}),
|
|
24800
24829
|
setFanMode: method(object({
|
|
24801
24830
|
deviceId: number().int().nonnegative(),
|
|
24802
24831
|
fanMode: string().min(1)
|
|
24803
24832
|
}), _void(), {
|
|
24804
24833
|
kind: "mutation",
|
|
24805
|
-
auth: "
|
|
24834
|
+
auth: "protected"
|
|
24806
24835
|
}),
|
|
24807
24836
|
setPreset: method(object({
|
|
24808
24837
|
deviceId: number().int().nonnegative(),
|
|
24809
24838
|
preset: string().min(1)
|
|
24810
24839
|
}), _void(), {
|
|
24811
24840
|
kind: "mutation",
|
|
24812
|
-
auth: "
|
|
24841
|
+
auth: "protected"
|
|
24813
24842
|
}),
|
|
24814
24843
|
setTarget: method(object({
|
|
24815
24844
|
deviceId: number().int().nonnegative(),
|
|
24816
24845
|
target: number()
|
|
24817
24846
|
}), _void(), {
|
|
24818
24847
|
kind: "mutation",
|
|
24819
|
-
auth: "
|
|
24848
|
+
auth: "protected"
|
|
24820
24849
|
}),
|
|
24821
24850
|
setTargetRange: method(object({
|
|
24822
24851
|
deviceId: number().int().nonnegative(),
|
|
@@ -24824,28 +24853,28 @@ var climateControlCapability = {
|
|
|
24824
24853
|
targetHigh: number()
|
|
24825
24854
|
}), _void(), {
|
|
24826
24855
|
kind: "mutation",
|
|
24827
|
-
auth: "
|
|
24856
|
+
auth: "protected"
|
|
24828
24857
|
}),
|
|
24829
24858
|
setTargetHumidity: method(object({
|
|
24830
24859
|
deviceId: number().int().nonnegative(),
|
|
24831
24860
|
targetHumidity: number().min(0).max(100)
|
|
24832
24861
|
}), _void(), {
|
|
24833
24862
|
kind: "mutation",
|
|
24834
|
-
auth: "
|
|
24863
|
+
auth: "protected"
|
|
24835
24864
|
}),
|
|
24836
24865
|
setSwingVertical: method(object({
|
|
24837
24866
|
deviceId: number().int().nonnegative(),
|
|
24838
24867
|
on: boolean()
|
|
24839
24868
|
}), _void(), {
|
|
24840
24869
|
kind: "mutation",
|
|
24841
|
-
auth: "
|
|
24870
|
+
auth: "protected"
|
|
24842
24871
|
}),
|
|
24843
24872
|
setSwingHorizontal: method(object({
|
|
24844
24873
|
deviceId: number().int().nonnegative(),
|
|
24845
24874
|
on: boolean()
|
|
24846
24875
|
}), _void(), {
|
|
24847
24876
|
kind: "mutation",
|
|
24848
|
-
auth: "
|
|
24877
|
+
auth: "protected"
|
|
24849
24878
|
})
|
|
24850
24879
|
},
|
|
24851
24880
|
status: {
|
|
@@ -24945,7 +24974,7 @@ var colorCapability = {
|
|
|
24945
24974
|
color: ColorInputSchema
|
|
24946
24975
|
}), _void(), {
|
|
24947
24976
|
kind: "mutation",
|
|
24948
|
-
auth: "
|
|
24977
|
+
auth: "protected"
|
|
24949
24978
|
}) },
|
|
24950
24979
|
events: {
|
|
24951
24980
|
/**
|
|
@@ -25274,7 +25303,7 @@ var controlCapability = {
|
|
|
25274
25303
|
control: ControlSetValueInputSchema
|
|
25275
25304
|
}), _void(), {
|
|
25276
25305
|
kind: "mutation",
|
|
25277
|
-
auth: "
|
|
25306
|
+
auth: "protected"
|
|
25278
25307
|
}) },
|
|
25279
25308
|
status: {
|
|
25280
25309
|
schema: ControlStatusSchema,
|
|
@@ -25320,29 +25349,29 @@ var coverCapability = {
|
|
|
25320
25349
|
methods: {
|
|
25321
25350
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25322
25351
|
kind: "mutation",
|
|
25323
|
-
auth: "
|
|
25352
|
+
auth: "protected"
|
|
25324
25353
|
}),
|
|
25325
25354
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25326
25355
|
kind: "mutation",
|
|
25327
|
-
auth: "
|
|
25356
|
+
auth: "protected"
|
|
25328
25357
|
}),
|
|
25329
25358
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25330
25359
|
kind: "mutation",
|
|
25331
|
-
auth: "
|
|
25360
|
+
auth: "protected"
|
|
25332
25361
|
}),
|
|
25333
25362
|
setPosition: method(object({
|
|
25334
25363
|
deviceId: number().int().nonnegative(),
|
|
25335
25364
|
position: number().min(0).max(100)
|
|
25336
25365
|
}), _void(), {
|
|
25337
25366
|
kind: "mutation",
|
|
25338
|
-
auth: "
|
|
25367
|
+
auth: "protected"
|
|
25339
25368
|
}),
|
|
25340
25369
|
setTiltPosition: method(object({
|
|
25341
25370
|
deviceId: number().int().nonnegative(),
|
|
25342
25371
|
tiltPosition: number().min(0).max(100)
|
|
25343
25372
|
}), _void(), {
|
|
25344
25373
|
kind: "mutation",
|
|
25345
|
-
auth: "
|
|
25374
|
+
auth: "protected"
|
|
25346
25375
|
})
|
|
25347
25376
|
},
|
|
25348
25377
|
status: {
|
|
@@ -26125,28 +26154,28 @@ var fanControlCapability = {
|
|
|
26125
26154
|
percentage: number().min(0).max(100)
|
|
26126
26155
|
}), _void(), {
|
|
26127
26156
|
kind: "mutation",
|
|
26128
|
-
auth: "
|
|
26157
|
+
auth: "protected"
|
|
26129
26158
|
}),
|
|
26130
26159
|
setPreset: method(object({
|
|
26131
26160
|
deviceId: number().int().nonnegative(),
|
|
26132
26161
|
preset: string().min(1)
|
|
26133
26162
|
}), _void(), {
|
|
26134
26163
|
kind: "mutation",
|
|
26135
|
-
auth: "
|
|
26164
|
+
auth: "protected"
|
|
26136
26165
|
}),
|
|
26137
26166
|
setDirection: method(object({
|
|
26138
26167
|
deviceId: number().int().nonnegative(),
|
|
26139
26168
|
direction: FanDirectionSchema
|
|
26140
26169
|
}), _void(), {
|
|
26141
26170
|
kind: "mutation",
|
|
26142
|
-
auth: "
|
|
26171
|
+
auth: "protected"
|
|
26143
26172
|
}),
|
|
26144
26173
|
setOscillating: method(object({
|
|
26145
26174
|
deviceId: number().int().nonnegative(),
|
|
26146
26175
|
oscillating: boolean()
|
|
26147
26176
|
}), _void(), {
|
|
26148
26177
|
kind: "mutation",
|
|
26149
|
-
auth: "
|
|
26178
|
+
auth: "protected"
|
|
26150
26179
|
})
|
|
26151
26180
|
},
|
|
26152
26181
|
status: {
|
|
@@ -26368,21 +26397,21 @@ var humidifierCapability = {
|
|
|
26368
26397
|
on: boolean()
|
|
26369
26398
|
}), _void(), {
|
|
26370
26399
|
kind: "mutation",
|
|
26371
|
-
auth: "
|
|
26400
|
+
auth: "protected"
|
|
26372
26401
|
}),
|
|
26373
26402
|
setTargetHumidity: method(object({
|
|
26374
26403
|
deviceId: number().int().nonnegative(),
|
|
26375
26404
|
humidity: number().min(0).max(100)
|
|
26376
26405
|
}), _void(), {
|
|
26377
26406
|
kind: "mutation",
|
|
26378
|
-
auth: "
|
|
26407
|
+
auth: "protected"
|
|
26379
26408
|
}),
|
|
26380
26409
|
setMode: method(object({
|
|
26381
26410
|
deviceId: number().int().nonnegative(),
|
|
26382
26411
|
mode: string().min(1)
|
|
26383
26412
|
}), _void(), {
|
|
26384
26413
|
kind: "mutation",
|
|
26385
|
-
auth: "
|
|
26414
|
+
auth: "protected"
|
|
26386
26415
|
})
|
|
26387
26416
|
},
|
|
26388
26417
|
status: {
|
|
@@ -27083,15 +27112,15 @@ var lawnMowerControlCapability = {
|
|
|
27083
27112
|
methods: {
|
|
27084
27113
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27085
27114
|
kind: "mutation",
|
|
27086
|
-
auth: "
|
|
27115
|
+
auth: "protected"
|
|
27087
27116
|
}),
|
|
27088
27117
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27089
27118
|
kind: "mutation",
|
|
27090
|
-
auth: "
|
|
27119
|
+
auth: "protected"
|
|
27091
27120
|
}),
|
|
27092
27121
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27093
27122
|
kind: "mutation",
|
|
27094
|
-
auth: "
|
|
27123
|
+
auth: "protected"
|
|
27095
27124
|
})
|
|
27096
27125
|
},
|
|
27097
27126
|
status: {
|
|
@@ -27376,18 +27405,18 @@ var lockControlCapability = {
|
|
|
27376
27405
|
code: string().min(1).optional()
|
|
27377
27406
|
}), _void(), {
|
|
27378
27407
|
kind: "mutation",
|
|
27379
|
-
auth: "
|
|
27408
|
+
auth: "protected"
|
|
27380
27409
|
}),
|
|
27381
27410
|
unlock: method(object({
|
|
27382
27411
|
deviceId: number().int().nonnegative(),
|
|
27383
27412
|
code: string().min(1).optional()
|
|
27384
27413
|
}), _void(), {
|
|
27385
27414
|
kind: "mutation",
|
|
27386
|
-
auth: "
|
|
27415
|
+
auth: "protected"
|
|
27387
27416
|
}),
|
|
27388
27417
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27389
27418
|
kind: "mutation",
|
|
27390
|
-
auth: "
|
|
27419
|
+
auth: "protected"
|
|
27391
27420
|
})
|
|
27392
27421
|
},
|
|
27393
27422
|
status: {
|
|
@@ -27490,65 +27519,65 @@ var mediaPlayerCapability = {
|
|
|
27490
27519
|
methods: {
|
|
27491
27520
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27492
27521
|
kind: "mutation",
|
|
27493
|
-
auth: "
|
|
27522
|
+
auth: "protected"
|
|
27494
27523
|
}),
|
|
27495
27524
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27496
27525
|
kind: "mutation",
|
|
27497
|
-
auth: "
|
|
27526
|
+
auth: "protected"
|
|
27498
27527
|
}),
|
|
27499
27528
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27500
27529
|
kind: "mutation",
|
|
27501
|
-
auth: "
|
|
27530
|
+
auth: "protected"
|
|
27502
27531
|
}),
|
|
27503
27532
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27504
27533
|
kind: "mutation",
|
|
27505
|
-
auth: "
|
|
27534
|
+
auth: "protected"
|
|
27506
27535
|
}),
|
|
27507
27536
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27508
27537
|
kind: "mutation",
|
|
27509
|
-
auth: "
|
|
27538
|
+
auth: "protected"
|
|
27510
27539
|
}),
|
|
27511
27540
|
seek: method(object({
|
|
27512
27541
|
deviceId: number().int().nonnegative(),
|
|
27513
27542
|
positionMs: number().int().nonnegative()
|
|
27514
27543
|
}), _void(), {
|
|
27515
27544
|
kind: "mutation",
|
|
27516
|
-
auth: "
|
|
27545
|
+
auth: "protected"
|
|
27517
27546
|
}),
|
|
27518
27547
|
setVolume: method(object({
|
|
27519
27548
|
deviceId: number().int().nonnegative(),
|
|
27520
27549
|
volumeLevel: number().min(0).max(100)
|
|
27521
27550
|
}), _void(), {
|
|
27522
27551
|
kind: "mutation",
|
|
27523
|
-
auth: "
|
|
27552
|
+
auth: "protected"
|
|
27524
27553
|
}),
|
|
27525
27554
|
setMute: method(object({
|
|
27526
27555
|
deviceId: number().int().nonnegative(),
|
|
27527
27556
|
muted: boolean()
|
|
27528
27557
|
}), _void(), {
|
|
27529
27558
|
kind: "mutation",
|
|
27530
|
-
auth: "
|
|
27559
|
+
auth: "protected"
|
|
27531
27560
|
}),
|
|
27532
27561
|
setShuffle: method(object({
|
|
27533
27562
|
deviceId: number().int().nonnegative(),
|
|
27534
27563
|
shuffle: boolean()
|
|
27535
27564
|
}), _void(), {
|
|
27536
27565
|
kind: "mutation",
|
|
27537
|
-
auth: "
|
|
27566
|
+
auth: "protected"
|
|
27538
27567
|
}),
|
|
27539
27568
|
setRepeat: method(object({
|
|
27540
27569
|
deviceId: number().int().nonnegative(),
|
|
27541
27570
|
repeat: MediaPlayerRepeatSchema
|
|
27542
27571
|
}), _void(), {
|
|
27543
27572
|
kind: "mutation",
|
|
27544
|
-
auth: "
|
|
27573
|
+
auth: "protected"
|
|
27545
27574
|
}),
|
|
27546
27575
|
selectSource: method(object({
|
|
27547
27576
|
deviceId: number().int().nonnegative(),
|
|
27548
27577
|
source: string().min(1)
|
|
27549
27578
|
}), _void(), {
|
|
27550
27579
|
kind: "mutation",
|
|
27551
|
-
auth: "
|
|
27580
|
+
auth: "protected"
|
|
27552
27581
|
}),
|
|
27553
27582
|
playMedia: method(object({
|
|
27554
27583
|
deviceId: number().int().nonnegative(),
|
|
@@ -27559,7 +27588,7 @@ var mediaPlayerCapability = {
|
|
|
27559
27588
|
mediaType: string().min(1)
|
|
27560
27589
|
}), _void(), {
|
|
27561
27590
|
kind: "mutation",
|
|
27562
|
-
auth: "
|
|
27591
|
+
auth: "protected"
|
|
27563
27592
|
})
|
|
27564
27593
|
},
|
|
27565
27594
|
status: {
|
|
@@ -29152,27 +29181,27 @@ var petFeederCapability = {
|
|
|
29152
29181
|
hopper2: gramsPortion.optional()
|
|
29153
29182
|
}), _void(), {
|
|
29154
29183
|
kind: "mutation",
|
|
29155
|
-
auth: "
|
|
29184
|
+
auth: "protected"
|
|
29156
29185
|
}),
|
|
29157
29186
|
/** Cancel an in-progress manual feed. */
|
|
29158
29187
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29159
29188
|
kind: "mutation",
|
|
29160
|
-
auth: "
|
|
29189
|
+
auth: "protected"
|
|
29161
29190
|
}),
|
|
29162
29191
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29163
29192
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29164
29193
|
kind: "mutation",
|
|
29165
|
-
auth: "
|
|
29194
|
+
auth: "protected"
|
|
29166
29195
|
}),
|
|
29167
29196
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29168
29197
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29169
29198
|
kind: "mutation",
|
|
29170
|
-
auth: "
|
|
29199
|
+
auth: "protected"
|
|
29171
29200
|
}),
|
|
29172
29201
|
/** Call the pet with the recorded prompt (D3). */
|
|
29173
29202
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29174
29203
|
kind: "mutation",
|
|
29175
|
-
auth: "
|
|
29204
|
+
auth: "protected"
|
|
29176
29205
|
}),
|
|
29177
29206
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29178
29207
|
playSound: method(object({
|
|
@@ -29180,7 +29209,7 @@ var petFeederCapability = {
|
|
|
29180
29209
|
soundId: number().int().nonnegative()
|
|
29181
29210
|
}), _void(), {
|
|
29182
29211
|
kind: "mutation",
|
|
29183
|
-
auth: "
|
|
29212
|
+
auth: "protected"
|
|
29184
29213
|
}),
|
|
29185
29214
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29186
29215
|
setChildLock: method(object({
|
|
@@ -29188,7 +29217,7 @@ var petFeederCapability = {
|
|
|
29188
29217
|
on: boolean()
|
|
29189
29218
|
}), _void(), {
|
|
29190
29219
|
kind: "mutation",
|
|
29191
|
-
auth: "
|
|
29220
|
+
auth: "protected"
|
|
29192
29221
|
}),
|
|
29193
29222
|
/** Toggle the front indicator light. */
|
|
29194
29223
|
setIndicatorLight: method(object({
|
|
@@ -29196,7 +29225,7 @@ var petFeederCapability = {
|
|
|
29196
29225
|
on: boolean()
|
|
29197
29226
|
}), _void(), {
|
|
29198
29227
|
kind: "mutation",
|
|
29199
|
-
auth: "
|
|
29228
|
+
auth: "protected"
|
|
29200
29229
|
}),
|
|
29201
29230
|
/** Toggle the dispense chime. */
|
|
29202
29231
|
setFeedSound: method(object({
|
|
@@ -29204,7 +29233,7 @@ var petFeederCapability = {
|
|
|
29204
29233
|
on: boolean()
|
|
29205
29234
|
}), _void(), {
|
|
29206
29235
|
kind: "mutation",
|
|
29207
|
-
auth: "
|
|
29236
|
+
auth: "protected"
|
|
29208
29237
|
}),
|
|
29209
29238
|
/** Set the speaker / prompt volume level. */
|
|
29210
29239
|
setVolume: method(object({
|
|
@@ -29212,7 +29241,7 @@ var petFeederCapability = {
|
|
|
29212
29241
|
level: number().int().nonnegative()
|
|
29213
29242
|
}), _void(), {
|
|
29214
29243
|
kind: "mutation",
|
|
29215
|
-
auth: "
|
|
29244
|
+
auth: "protected"
|
|
29216
29245
|
})
|
|
29217
29246
|
},
|
|
29218
29247
|
status: {
|
|
@@ -31508,7 +31537,7 @@ var switchCapability = {
|
|
|
31508
31537
|
on: boolean()
|
|
31509
31538
|
}), _void(), {
|
|
31510
31539
|
kind: "mutation",
|
|
31511
|
-
auth: "
|
|
31540
|
+
auth: "protected"
|
|
31512
31541
|
}) },
|
|
31513
31542
|
events: { onStateChanged: { data: object({
|
|
31514
31543
|
deviceId: number(),
|
|
@@ -32496,30 +32525,30 @@ var vacuumControlCapability = {
|
|
|
32496
32525
|
methods: {
|
|
32497
32526
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32498
32527
|
kind: "mutation",
|
|
32499
|
-
auth: "
|
|
32528
|
+
auth: "protected"
|
|
32500
32529
|
}),
|
|
32501
32530
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32502
32531
|
kind: "mutation",
|
|
32503
|
-
auth: "
|
|
32532
|
+
auth: "protected"
|
|
32504
32533
|
}),
|
|
32505
32534
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32506
32535
|
kind: "mutation",
|
|
32507
|
-
auth: "
|
|
32536
|
+
auth: "protected"
|
|
32508
32537
|
}),
|
|
32509
32538
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32510
32539
|
kind: "mutation",
|
|
32511
|
-
auth: "
|
|
32540
|
+
auth: "protected"
|
|
32512
32541
|
}),
|
|
32513
32542
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32514
32543
|
kind: "mutation",
|
|
32515
|
-
auth: "
|
|
32544
|
+
auth: "protected"
|
|
32516
32545
|
}),
|
|
32517
32546
|
setFanSpeed: method(object({
|
|
32518
32547
|
deviceId: number().int().nonnegative(),
|
|
32519
32548
|
speed: string().min(1)
|
|
32520
32549
|
}), _void(), {
|
|
32521
32550
|
kind: "mutation",
|
|
32522
|
-
auth: "
|
|
32551
|
+
auth: "protected"
|
|
32523
32552
|
})
|
|
32524
32553
|
},
|
|
32525
32554
|
status: {
|
|
@@ -32563,22 +32592,22 @@ var valveCapability = {
|
|
|
32563
32592
|
methods: {
|
|
32564
32593
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32565
32594
|
kind: "mutation",
|
|
32566
|
-
auth: "
|
|
32595
|
+
auth: "protected"
|
|
32567
32596
|
}),
|
|
32568
32597
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32569
32598
|
kind: "mutation",
|
|
32570
|
-
auth: "
|
|
32599
|
+
auth: "protected"
|
|
32571
32600
|
}),
|
|
32572
32601
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32573
32602
|
kind: "mutation",
|
|
32574
|
-
auth: "
|
|
32603
|
+
auth: "protected"
|
|
32575
32604
|
}),
|
|
32576
32605
|
setPosition: method(object({
|
|
32577
32606
|
deviceId: number().int().nonnegative(),
|
|
32578
32607
|
position: number().min(0).max(100)
|
|
32579
32608
|
}), _void(), {
|
|
32580
32609
|
kind: "mutation",
|
|
32581
|
-
auth: "
|
|
32610
|
+
auth: "protected"
|
|
32582
32611
|
})
|
|
32583
32612
|
},
|
|
32584
32613
|
status: {
|
|
@@ -32677,21 +32706,21 @@ var waterHeaterCapability = {
|
|
|
32677
32706
|
temp: number().finite()
|
|
32678
32707
|
}), _void(), {
|
|
32679
32708
|
kind: "mutation",
|
|
32680
|
-
auth: "
|
|
32709
|
+
auth: "protected"
|
|
32681
32710
|
}),
|
|
32682
32711
|
setOperationMode: method(object({
|
|
32683
32712
|
deviceId: number().int().nonnegative(),
|
|
32684
32713
|
mode: string().min(1)
|
|
32685
32714
|
}), _void(), {
|
|
32686
32715
|
kind: "mutation",
|
|
32687
|
-
auth: "
|
|
32716
|
+
auth: "protected"
|
|
32688
32717
|
}),
|
|
32689
32718
|
setAway: method(object({
|
|
32690
32719
|
deviceId: number().int().nonnegative(),
|
|
32691
32720
|
on: boolean()
|
|
32692
32721
|
}), _void(), {
|
|
32693
32722
|
kind: "mutation",
|
|
32694
|
-
auth: "
|
|
32723
|
+
auth: "protected"
|
|
32695
32724
|
})
|
|
32696
32725
|
},
|
|
32697
32726
|
status: {
|
|
@@ -37961,6 +37990,12 @@ Object.freeze({
|
|
|
37961
37990
|
addonId: null,
|
|
37962
37991
|
access: "view"
|
|
37963
37992
|
},
|
|
37993
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
37994
|
+
capName: "pipeline-analytics",
|
|
37995
|
+
capScope: "device",
|
|
37996
|
+
addonId: null,
|
|
37997
|
+
access: "view"
|
|
37998
|
+
},
|
|
37964
37999
|
"pipelineAnalytics.listEventKinds": {
|
|
37965
38000
|
capName: "pipeline-analytics",
|
|
37966
38001
|
capScope: "device",
|
|
@@ -41748,6 +41783,11 @@ Object.freeze({
|
|
|
41748
41783
|
form: "array",
|
|
41749
41784
|
optional: true
|
|
41750
41785
|
}],
|
|
41786
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41787
|
+
name: "deviceId",
|
|
41788
|
+
form: "single",
|
|
41789
|
+
optional: true
|
|
41790
|
+
}],
|
|
41751
41791
|
"pipelineAnalytics.listEventKinds": [{
|
|
41752
41792
|
name: "deviceId",
|
|
41753
41793
|
form: "single",
|
|
@@ -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-B1wVsjRx.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-jHuKjwKy.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
//#region src/ha-export/topics.ts
|
|
4
4
|
/**
|