@camstack/addon-provider-homeassistant 1.2.101 → 1.2.102
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-CCAzG3ec.mjs → dist-CCXWoJdR.mjs} +69 -69
- package/dist/{dist-B8yYEg2y.js → dist-DAeDXQbg.js} +69 -69
- 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-DAeDXQbg.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-CCXWoJdR.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
|
|
@@ -16480,14 +16480,14 @@ var alarmPanelCapability = {
|
|
|
16480
16480
|
code: string().min(1).optional()
|
|
16481
16481
|
}), _void(), {
|
|
16482
16482
|
kind: "mutation",
|
|
16483
|
-
auth: "
|
|
16483
|
+
auth: "protected"
|
|
16484
16484
|
}),
|
|
16485
16485
|
disarm: method(object({
|
|
16486
16486
|
deviceId: number().int().nonnegative(),
|
|
16487
16487
|
code: string().min(1).optional()
|
|
16488
16488
|
}), _void(), {
|
|
16489
16489
|
kind: "mutation",
|
|
16490
|
-
auth: "
|
|
16490
|
+
auth: "protected"
|
|
16491
16491
|
}),
|
|
16492
16492
|
/**
|
|
16493
16493
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16498,7 +16498,7 @@ var alarmPanelCapability = {
|
|
|
16498
16498
|
*/
|
|
16499
16499
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16500
16500
|
kind: "mutation",
|
|
16501
|
-
auth: "
|
|
16501
|
+
auth: "protected"
|
|
16502
16502
|
})
|
|
16503
16503
|
},
|
|
16504
16504
|
status: {
|
|
@@ -24553,7 +24553,7 @@ var brightnessCapability = {
|
|
|
24553
24553
|
percentage: number().min(0).max(100)
|
|
24554
24554
|
}), _void(), {
|
|
24555
24555
|
kind: "mutation",
|
|
24556
|
-
auth: "
|
|
24556
|
+
auth: "protected"
|
|
24557
24557
|
}) },
|
|
24558
24558
|
events: {
|
|
24559
24559
|
/**
|
|
@@ -24602,7 +24602,7 @@ var buttonCapability = {
|
|
|
24602
24602
|
deviceTypes: [DeviceType.Button],
|
|
24603
24603
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24604
24604
|
kind: "mutation",
|
|
24605
|
-
auth: "
|
|
24605
|
+
auth: "protected"
|
|
24606
24606
|
}) }
|
|
24607
24607
|
};
|
|
24608
24608
|
/**
|
|
@@ -24795,28 +24795,28 @@ var climateControlCapability = {
|
|
|
24795
24795
|
mode: HvacModeSchema
|
|
24796
24796
|
}), _void(), {
|
|
24797
24797
|
kind: "mutation",
|
|
24798
|
-
auth: "
|
|
24798
|
+
auth: "protected"
|
|
24799
24799
|
}),
|
|
24800
24800
|
setFanMode: method(object({
|
|
24801
24801
|
deviceId: number().int().nonnegative(),
|
|
24802
24802
|
fanMode: string().min(1)
|
|
24803
24803
|
}), _void(), {
|
|
24804
24804
|
kind: "mutation",
|
|
24805
|
-
auth: "
|
|
24805
|
+
auth: "protected"
|
|
24806
24806
|
}),
|
|
24807
24807
|
setPreset: method(object({
|
|
24808
24808
|
deviceId: number().int().nonnegative(),
|
|
24809
24809
|
preset: string().min(1)
|
|
24810
24810
|
}), _void(), {
|
|
24811
24811
|
kind: "mutation",
|
|
24812
|
-
auth: "
|
|
24812
|
+
auth: "protected"
|
|
24813
24813
|
}),
|
|
24814
24814
|
setTarget: method(object({
|
|
24815
24815
|
deviceId: number().int().nonnegative(),
|
|
24816
24816
|
target: number()
|
|
24817
24817
|
}), _void(), {
|
|
24818
24818
|
kind: "mutation",
|
|
24819
|
-
auth: "
|
|
24819
|
+
auth: "protected"
|
|
24820
24820
|
}),
|
|
24821
24821
|
setTargetRange: method(object({
|
|
24822
24822
|
deviceId: number().int().nonnegative(),
|
|
@@ -24824,28 +24824,28 @@ var climateControlCapability = {
|
|
|
24824
24824
|
targetHigh: number()
|
|
24825
24825
|
}), _void(), {
|
|
24826
24826
|
kind: "mutation",
|
|
24827
|
-
auth: "
|
|
24827
|
+
auth: "protected"
|
|
24828
24828
|
}),
|
|
24829
24829
|
setTargetHumidity: method(object({
|
|
24830
24830
|
deviceId: number().int().nonnegative(),
|
|
24831
24831
|
targetHumidity: number().min(0).max(100)
|
|
24832
24832
|
}), _void(), {
|
|
24833
24833
|
kind: "mutation",
|
|
24834
|
-
auth: "
|
|
24834
|
+
auth: "protected"
|
|
24835
24835
|
}),
|
|
24836
24836
|
setSwingVertical: method(object({
|
|
24837
24837
|
deviceId: number().int().nonnegative(),
|
|
24838
24838
|
on: boolean()
|
|
24839
24839
|
}), _void(), {
|
|
24840
24840
|
kind: "mutation",
|
|
24841
|
-
auth: "
|
|
24841
|
+
auth: "protected"
|
|
24842
24842
|
}),
|
|
24843
24843
|
setSwingHorizontal: method(object({
|
|
24844
24844
|
deviceId: number().int().nonnegative(),
|
|
24845
24845
|
on: boolean()
|
|
24846
24846
|
}), _void(), {
|
|
24847
24847
|
kind: "mutation",
|
|
24848
|
-
auth: "
|
|
24848
|
+
auth: "protected"
|
|
24849
24849
|
})
|
|
24850
24850
|
},
|
|
24851
24851
|
status: {
|
|
@@ -24945,7 +24945,7 @@ var colorCapability = {
|
|
|
24945
24945
|
color: ColorInputSchema
|
|
24946
24946
|
}), _void(), {
|
|
24947
24947
|
kind: "mutation",
|
|
24948
|
-
auth: "
|
|
24948
|
+
auth: "protected"
|
|
24949
24949
|
}) },
|
|
24950
24950
|
events: {
|
|
24951
24951
|
/**
|
|
@@ -25274,7 +25274,7 @@ var controlCapability = {
|
|
|
25274
25274
|
control: ControlSetValueInputSchema
|
|
25275
25275
|
}), _void(), {
|
|
25276
25276
|
kind: "mutation",
|
|
25277
|
-
auth: "
|
|
25277
|
+
auth: "protected"
|
|
25278
25278
|
}) },
|
|
25279
25279
|
status: {
|
|
25280
25280
|
schema: ControlStatusSchema,
|
|
@@ -25320,29 +25320,29 @@ var coverCapability = {
|
|
|
25320
25320
|
methods: {
|
|
25321
25321
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25322
25322
|
kind: "mutation",
|
|
25323
|
-
auth: "
|
|
25323
|
+
auth: "protected"
|
|
25324
25324
|
}),
|
|
25325
25325
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25326
25326
|
kind: "mutation",
|
|
25327
|
-
auth: "
|
|
25327
|
+
auth: "protected"
|
|
25328
25328
|
}),
|
|
25329
25329
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25330
25330
|
kind: "mutation",
|
|
25331
|
-
auth: "
|
|
25331
|
+
auth: "protected"
|
|
25332
25332
|
}),
|
|
25333
25333
|
setPosition: method(object({
|
|
25334
25334
|
deviceId: number().int().nonnegative(),
|
|
25335
25335
|
position: number().min(0).max(100)
|
|
25336
25336
|
}), _void(), {
|
|
25337
25337
|
kind: "mutation",
|
|
25338
|
-
auth: "
|
|
25338
|
+
auth: "protected"
|
|
25339
25339
|
}),
|
|
25340
25340
|
setTiltPosition: method(object({
|
|
25341
25341
|
deviceId: number().int().nonnegative(),
|
|
25342
25342
|
tiltPosition: number().min(0).max(100)
|
|
25343
25343
|
}), _void(), {
|
|
25344
25344
|
kind: "mutation",
|
|
25345
|
-
auth: "
|
|
25345
|
+
auth: "protected"
|
|
25346
25346
|
})
|
|
25347
25347
|
},
|
|
25348
25348
|
status: {
|
|
@@ -26125,28 +26125,28 @@ var fanControlCapability = {
|
|
|
26125
26125
|
percentage: number().min(0).max(100)
|
|
26126
26126
|
}), _void(), {
|
|
26127
26127
|
kind: "mutation",
|
|
26128
|
-
auth: "
|
|
26128
|
+
auth: "protected"
|
|
26129
26129
|
}),
|
|
26130
26130
|
setPreset: method(object({
|
|
26131
26131
|
deviceId: number().int().nonnegative(),
|
|
26132
26132
|
preset: string().min(1)
|
|
26133
26133
|
}), _void(), {
|
|
26134
26134
|
kind: "mutation",
|
|
26135
|
-
auth: "
|
|
26135
|
+
auth: "protected"
|
|
26136
26136
|
}),
|
|
26137
26137
|
setDirection: method(object({
|
|
26138
26138
|
deviceId: number().int().nonnegative(),
|
|
26139
26139
|
direction: FanDirectionSchema
|
|
26140
26140
|
}), _void(), {
|
|
26141
26141
|
kind: "mutation",
|
|
26142
|
-
auth: "
|
|
26142
|
+
auth: "protected"
|
|
26143
26143
|
}),
|
|
26144
26144
|
setOscillating: method(object({
|
|
26145
26145
|
deviceId: number().int().nonnegative(),
|
|
26146
26146
|
oscillating: boolean()
|
|
26147
26147
|
}), _void(), {
|
|
26148
26148
|
kind: "mutation",
|
|
26149
|
-
auth: "
|
|
26149
|
+
auth: "protected"
|
|
26150
26150
|
})
|
|
26151
26151
|
},
|
|
26152
26152
|
status: {
|
|
@@ -26368,21 +26368,21 @@ var humidifierCapability = {
|
|
|
26368
26368
|
on: boolean()
|
|
26369
26369
|
}), _void(), {
|
|
26370
26370
|
kind: "mutation",
|
|
26371
|
-
auth: "
|
|
26371
|
+
auth: "protected"
|
|
26372
26372
|
}),
|
|
26373
26373
|
setTargetHumidity: method(object({
|
|
26374
26374
|
deviceId: number().int().nonnegative(),
|
|
26375
26375
|
humidity: number().min(0).max(100)
|
|
26376
26376
|
}), _void(), {
|
|
26377
26377
|
kind: "mutation",
|
|
26378
|
-
auth: "
|
|
26378
|
+
auth: "protected"
|
|
26379
26379
|
}),
|
|
26380
26380
|
setMode: method(object({
|
|
26381
26381
|
deviceId: number().int().nonnegative(),
|
|
26382
26382
|
mode: string().min(1)
|
|
26383
26383
|
}), _void(), {
|
|
26384
26384
|
kind: "mutation",
|
|
26385
|
-
auth: "
|
|
26385
|
+
auth: "protected"
|
|
26386
26386
|
})
|
|
26387
26387
|
},
|
|
26388
26388
|
status: {
|
|
@@ -27083,15 +27083,15 @@ var lawnMowerControlCapability = {
|
|
|
27083
27083
|
methods: {
|
|
27084
27084
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27085
27085
|
kind: "mutation",
|
|
27086
|
-
auth: "
|
|
27086
|
+
auth: "protected"
|
|
27087
27087
|
}),
|
|
27088
27088
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27089
27089
|
kind: "mutation",
|
|
27090
|
-
auth: "
|
|
27090
|
+
auth: "protected"
|
|
27091
27091
|
}),
|
|
27092
27092
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27093
27093
|
kind: "mutation",
|
|
27094
|
-
auth: "
|
|
27094
|
+
auth: "protected"
|
|
27095
27095
|
})
|
|
27096
27096
|
},
|
|
27097
27097
|
status: {
|
|
@@ -27376,18 +27376,18 @@ var lockControlCapability = {
|
|
|
27376
27376
|
code: string().min(1).optional()
|
|
27377
27377
|
}), _void(), {
|
|
27378
27378
|
kind: "mutation",
|
|
27379
|
-
auth: "
|
|
27379
|
+
auth: "protected"
|
|
27380
27380
|
}),
|
|
27381
27381
|
unlock: method(object({
|
|
27382
27382
|
deviceId: number().int().nonnegative(),
|
|
27383
27383
|
code: string().min(1).optional()
|
|
27384
27384
|
}), _void(), {
|
|
27385
27385
|
kind: "mutation",
|
|
27386
|
-
auth: "
|
|
27386
|
+
auth: "protected"
|
|
27387
27387
|
}),
|
|
27388
27388
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27389
27389
|
kind: "mutation",
|
|
27390
|
-
auth: "
|
|
27390
|
+
auth: "protected"
|
|
27391
27391
|
})
|
|
27392
27392
|
},
|
|
27393
27393
|
status: {
|
|
@@ -27490,65 +27490,65 @@ var mediaPlayerCapability = {
|
|
|
27490
27490
|
methods: {
|
|
27491
27491
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27492
27492
|
kind: "mutation",
|
|
27493
|
-
auth: "
|
|
27493
|
+
auth: "protected"
|
|
27494
27494
|
}),
|
|
27495
27495
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27496
27496
|
kind: "mutation",
|
|
27497
|
-
auth: "
|
|
27497
|
+
auth: "protected"
|
|
27498
27498
|
}),
|
|
27499
27499
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27500
27500
|
kind: "mutation",
|
|
27501
|
-
auth: "
|
|
27501
|
+
auth: "protected"
|
|
27502
27502
|
}),
|
|
27503
27503
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27504
27504
|
kind: "mutation",
|
|
27505
|
-
auth: "
|
|
27505
|
+
auth: "protected"
|
|
27506
27506
|
}),
|
|
27507
27507
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27508
27508
|
kind: "mutation",
|
|
27509
|
-
auth: "
|
|
27509
|
+
auth: "protected"
|
|
27510
27510
|
}),
|
|
27511
27511
|
seek: method(object({
|
|
27512
27512
|
deviceId: number().int().nonnegative(),
|
|
27513
27513
|
positionMs: number().int().nonnegative()
|
|
27514
27514
|
}), _void(), {
|
|
27515
27515
|
kind: "mutation",
|
|
27516
|
-
auth: "
|
|
27516
|
+
auth: "protected"
|
|
27517
27517
|
}),
|
|
27518
27518
|
setVolume: method(object({
|
|
27519
27519
|
deviceId: number().int().nonnegative(),
|
|
27520
27520
|
volumeLevel: number().min(0).max(100)
|
|
27521
27521
|
}), _void(), {
|
|
27522
27522
|
kind: "mutation",
|
|
27523
|
-
auth: "
|
|
27523
|
+
auth: "protected"
|
|
27524
27524
|
}),
|
|
27525
27525
|
setMute: method(object({
|
|
27526
27526
|
deviceId: number().int().nonnegative(),
|
|
27527
27527
|
muted: boolean()
|
|
27528
27528
|
}), _void(), {
|
|
27529
27529
|
kind: "mutation",
|
|
27530
|
-
auth: "
|
|
27530
|
+
auth: "protected"
|
|
27531
27531
|
}),
|
|
27532
27532
|
setShuffle: method(object({
|
|
27533
27533
|
deviceId: number().int().nonnegative(),
|
|
27534
27534
|
shuffle: boolean()
|
|
27535
27535
|
}), _void(), {
|
|
27536
27536
|
kind: "mutation",
|
|
27537
|
-
auth: "
|
|
27537
|
+
auth: "protected"
|
|
27538
27538
|
}),
|
|
27539
27539
|
setRepeat: method(object({
|
|
27540
27540
|
deviceId: number().int().nonnegative(),
|
|
27541
27541
|
repeat: MediaPlayerRepeatSchema
|
|
27542
27542
|
}), _void(), {
|
|
27543
27543
|
kind: "mutation",
|
|
27544
|
-
auth: "
|
|
27544
|
+
auth: "protected"
|
|
27545
27545
|
}),
|
|
27546
27546
|
selectSource: method(object({
|
|
27547
27547
|
deviceId: number().int().nonnegative(),
|
|
27548
27548
|
source: string().min(1)
|
|
27549
27549
|
}), _void(), {
|
|
27550
27550
|
kind: "mutation",
|
|
27551
|
-
auth: "
|
|
27551
|
+
auth: "protected"
|
|
27552
27552
|
}),
|
|
27553
27553
|
playMedia: method(object({
|
|
27554
27554
|
deviceId: number().int().nonnegative(),
|
|
@@ -27559,7 +27559,7 @@ var mediaPlayerCapability = {
|
|
|
27559
27559
|
mediaType: string().min(1)
|
|
27560
27560
|
}), _void(), {
|
|
27561
27561
|
kind: "mutation",
|
|
27562
|
-
auth: "
|
|
27562
|
+
auth: "protected"
|
|
27563
27563
|
})
|
|
27564
27564
|
},
|
|
27565
27565
|
status: {
|
|
@@ -29152,27 +29152,27 @@ var petFeederCapability = {
|
|
|
29152
29152
|
hopper2: gramsPortion.optional()
|
|
29153
29153
|
}), _void(), {
|
|
29154
29154
|
kind: "mutation",
|
|
29155
|
-
auth: "
|
|
29155
|
+
auth: "protected"
|
|
29156
29156
|
}),
|
|
29157
29157
|
/** Cancel an in-progress manual feed. */
|
|
29158
29158
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29159
29159
|
kind: "mutation",
|
|
29160
|
-
auth: "
|
|
29160
|
+
auth: "protected"
|
|
29161
29161
|
}),
|
|
29162
29162
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29163
29163
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29164
29164
|
kind: "mutation",
|
|
29165
|
-
auth: "
|
|
29165
|
+
auth: "protected"
|
|
29166
29166
|
}),
|
|
29167
29167
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29168
29168
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29169
29169
|
kind: "mutation",
|
|
29170
|
-
auth: "
|
|
29170
|
+
auth: "protected"
|
|
29171
29171
|
}),
|
|
29172
29172
|
/** Call the pet with the recorded prompt (D3). */
|
|
29173
29173
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29174
29174
|
kind: "mutation",
|
|
29175
|
-
auth: "
|
|
29175
|
+
auth: "protected"
|
|
29176
29176
|
}),
|
|
29177
29177
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29178
29178
|
playSound: method(object({
|
|
@@ -29180,7 +29180,7 @@ var petFeederCapability = {
|
|
|
29180
29180
|
soundId: number().int().nonnegative()
|
|
29181
29181
|
}), _void(), {
|
|
29182
29182
|
kind: "mutation",
|
|
29183
|
-
auth: "
|
|
29183
|
+
auth: "protected"
|
|
29184
29184
|
}),
|
|
29185
29185
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29186
29186
|
setChildLock: method(object({
|
|
@@ -29188,7 +29188,7 @@ var petFeederCapability = {
|
|
|
29188
29188
|
on: boolean()
|
|
29189
29189
|
}), _void(), {
|
|
29190
29190
|
kind: "mutation",
|
|
29191
|
-
auth: "
|
|
29191
|
+
auth: "protected"
|
|
29192
29192
|
}),
|
|
29193
29193
|
/** Toggle the front indicator light. */
|
|
29194
29194
|
setIndicatorLight: method(object({
|
|
@@ -29196,7 +29196,7 @@ var petFeederCapability = {
|
|
|
29196
29196
|
on: boolean()
|
|
29197
29197
|
}), _void(), {
|
|
29198
29198
|
kind: "mutation",
|
|
29199
|
-
auth: "
|
|
29199
|
+
auth: "protected"
|
|
29200
29200
|
}),
|
|
29201
29201
|
/** Toggle the dispense chime. */
|
|
29202
29202
|
setFeedSound: method(object({
|
|
@@ -29204,7 +29204,7 @@ var petFeederCapability = {
|
|
|
29204
29204
|
on: boolean()
|
|
29205
29205
|
}), _void(), {
|
|
29206
29206
|
kind: "mutation",
|
|
29207
|
-
auth: "
|
|
29207
|
+
auth: "protected"
|
|
29208
29208
|
}),
|
|
29209
29209
|
/** Set the speaker / prompt volume level. */
|
|
29210
29210
|
setVolume: method(object({
|
|
@@ -29212,7 +29212,7 @@ var petFeederCapability = {
|
|
|
29212
29212
|
level: number().int().nonnegative()
|
|
29213
29213
|
}), _void(), {
|
|
29214
29214
|
kind: "mutation",
|
|
29215
|
-
auth: "
|
|
29215
|
+
auth: "protected"
|
|
29216
29216
|
})
|
|
29217
29217
|
},
|
|
29218
29218
|
status: {
|
|
@@ -31508,7 +31508,7 @@ var switchCapability = {
|
|
|
31508
31508
|
on: boolean()
|
|
31509
31509
|
}), _void(), {
|
|
31510
31510
|
kind: "mutation",
|
|
31511
|
-
auth: "
|
|
31511
|
+
auth: "protected"
|
|
31512
31512
|
}) },
|
|
31513
31513
|
events: { onStateChanged: { data: object({
|
|
31514
31514
|
deviceId: number(),
|
|
@@ -32496,30 +32496,30 @@ var vacuumControlCapability = {
|
|
|
32496
32496
|
methods: {
|
|
32497
32497
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32498
32498
|
kind: "mutation",
|
|
32499
|
-
auth: "
|
|
32499
|
+
auth: "protected"
|
|
32500
32500
|
}),
|
|
32501
32501
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32502
32502
|
kind: "mutation",
|
|
32503
|
-
auth: "
|
|
32503
|
+
auth: "protected"
|
|
32504
32504
|
}),
|
|
32505
32505
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32506
32506
|
kind: "mutation",
|
|
32507
|
-
auth: "
|
|
32507
|
+
auth: "protected"
|
|
32508
32508
|
}),
|
|
32509
32509
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32510
32510
|
kind: "mutation",
|
|
32511
|
-
auth: "
|
|
32511
|
+
auth: "protected"
|
|
32512
32512
|
}),
|
|
32513
32513
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32514
32514
|
kind: "mutation",
|
|
32515
|
-
auth: "
|
|
32515
|
+
auth: "protected"
|
|
32516
32516
|
}),
|
|
32517
32517
|
setFanSpeed: method(object({
|
|
32518
32518
|
deviceId: number().int().nonnegative(),
|
|
32519
32519
|
speed: string().min(1)
|
|
32520
32520
|
}), _void(), {
|
|
32521
32521
|
kind: "mutation",
|
|
32522
|
-
auth: "
|
|
32522
|
+
auth: "protected"
|
|
32523
32523
|
})
|
|
32524
32524
|
},
|
|
32525
32525
|
status: {
|
|
@@ -32563,22 +32563,22 @@ var valveCapability = {
|
|
|
32563
32563
|
methods: {
|
|
32564
32564
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32565
32565
|
kind: "mutation",
|
|
32566
|
-
auth: "
|
|
32566
|
+
auth: "protected"
|
|
32567
32567
|
}),
|
|
32568
32568
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32569
32569
|
kind: "mutation",
|
|
32570
|
-
auth: "
|
|
32570
|
+
auth: "protected"
|
|
32571
32571
|
}),
|
|
32572
32572
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32573
32573
|
kind: "mutation",
|
|
32574
|
-
auth: "
|
|
32574
|
+
auth: "protected"
|
|
32575
32575
|
}),
|
|
32576
32576
|
setPosition: method(object({
|
|
32577
32577
|
deviceId: number().int().nonnegative(),
|
|
32578
32578
|
position: number().min(0).max(100)
|
|
32579
32579
|
}), _void(), {
|
|
32580
32580
|
kind: "mutation",
|
|
32581
|
-
auth: "
|
|
32581
|
+
auth: "protected"
|
|
32582
32582
|
})
|
|
32583
32583
|
},
|
|
32584
32584
|
status: {
|
|
@@ -32677,21 +32677,21 @@ var waterHeaterCapability = {
|
|
|
32677
32677
|
temp: number().finite()
|
|
32678
32678
|
}), _void(), {
|
|
32679
32679
|
kind: "mutation",
|
|
32680
|
-
auth: "
|
|
32680
|
+
auth: "protected"
|
|
32681
32681
|
}),
|
|
32682
32682
|
setOperationMode: method(object({
|
|
32683
32683
|
deviceId: number().int().nonnegative(),
|
|
32684
32684
|
mode: string().min(1)
|
|
32685
32685
|
}), _void(), {
|
|
32686
32686
|
kind: "mutation",
|
|
32687
|
-
auth: "
|
|
32687
|
+
auth: "protected"
|
|
32688
32688
|
}),
|
|
32689
32689
|
setAway: method(object({
|
|
32690
32690
|
deviceId: number().int().nonnegative(),
|
|
32691
32691
|
on: boolean()
|
|
32692
32692
|
}), _void(), {
|
|
32693
32693
|
kind: "mutation",
|
|
32694
|
-
auth: "
|
|
32694
|
+
auth: "protected"
|
|
32695
32695
|
})
|
|
32696
32696
|
},
|
|
32697
32697
|
status: {
|
|
@@ -16480,14 +16480,14 @@ var alarmPanelCapability = {
|
|
|
16480
16480
|
code: string().min(1).optional()
|
|
16481
16481
|
}), _void(), {
|
|
16482
16482
|
kind: "mutation",
|
|
16483
|
-
auth: "
|
|
16483
|
+
auth: "protected"
|
|
16484
16484
|
}),
|
|
16485
16485
|
disarm: method(object({
|
|
16486
16486
|
deviceId: number().int().nonnegative(),
|
|
16487
16487
|
code: string().min(1).optional()
|
|
16488
16488
|
}), _void(), {
|
|
16489
16489
|
kind: "mutation",
|
|
16490
|
-
auth: "
|
|
16490
|
+
auth: "protected"
|
|
16491
16491
|
}),
|
|
16492
16492
|
/**
|
|
16493
16493
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16498,7 +16498,7 @@ var alarmPanelCapability = {
|
|
|
16498
16498
|
*/
|
|
16499
16499
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16500
16500
|
kind: "mutation",
|
|
16501
|
-
auth: "
|
|
16501
|
+
auth: "protected"
|
|
16502
16502
|
})
|
|
16503
16503
|
},
|
|
16504
16504
|
status: {
|
|
@@ -24553,7 +24553,7 @@ var brightnessCapability = {
|
|
|
24553
24553
|
percentage: number().min(0).max(100)
|
|
24554
24554
|
}), _void(), {
|
|
24555
24555
|
kind: "mutation",
|
|
24556
|
-
auth: "
|
|
24556
|
+
auth: "protected"
|
|
24557
24557
|
}) },
|
|
24558
24558
|
events: {
|
|
24559
24559
|
/**
|
|
@@ -24602,7 +24602,7 @@ var buttonCapability = {
|
|
|
24602
24602
|
deviceTypes: [DeviceType.Button],
|
|
24603
24603
|
methods: { press: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24604
24604
|
kind: "mutation",
|
|
24605
|
-
auth: "
|
|
24605
|
+
auth: "protected"
|
|
24606
24606
|
}) }
|
|
24607
24607
|
};
|
|
24608
24608
|
/**
|
|
@@ -24795,28 +24795,28 @@ var climateControlCapability = {
|
|
|
24795
24795
|
mode: HvacModeSchema
|
|
24796
24796
|
}), _void(), {
|
|
24797
24797
|
kind: "mutation",
|
|
24798
|
-
auth: "
|
|
24798
|
+
auth: "protected"
|
|
24799
24799
|
}),
|
|
24800
24800
|
setFanMode: method(object({
|
|
24801
24801
|
deviceId: number().int().nonnegative(),
|
|
24802
24802
|
fanMode: string().min(1)
|
|
24803
24803
|
}), _void(), {
|
|
24804
24804
|
kind: "mutation",
|
|
24805
|
-
auth: "
|
|
24805
|
+
auth: "protected"
|
|
24806
24806
|
}),
|
|
24807
24807
|
setPreset: method(object({
|
|
24808
24808
|
deviceId: number().int().nonnegative(),
|
|
24809
24809
|
preset: string().min(1)
|
|
24810
24810
|
}), _void(), {
|
|
24811
24811
|
kind: "mutation",
|
|
24812
|
-
auth: "
|
|
24812
|
+
auth: "protected"
|
|
24813
24813
|
}),
|
|
24814
24814
|
setTarget: method(object({
|
|
24815
24815
|
deviceId: number().int().nonnegative(),
|
|
24816
24816
|
target: number()
|
|
24817
24817
|
}), _void(), {
|
|
24818
24818
|
kind: "mutation",
|
|
24819
|
-
auth: "
|
|
24819
|
+
auth: "protected"
|
|
24820
24820
|
}),
|
|
24821
24821
|
setTargetRange: method(object({
|
|
24822
24822
|
deviceId: number().int().nonnegative(),
|
|
@@ -24824,28 +24824,28 @@ var climateControlCapability = {
|
|
|
24824
24824
|
targetHigh: number()
|
|
24825
24825
|
}), _void(), {
|
|
24826
24826
|
kind: "mutation",
|
|
24827
|
-
auth: "
|
|
24827
|
+
auth: "protected"
|
|
24828
24828
|
}),
|
|
24829
24829
|
setTargetHumidity: method(object({
|
|
24830
24830
|
deviceId: number().int().nonnegative(),
|
|
24831
24831
|
targetHumidity: number().min(0).max(100)
|
|
24832
24832
|
}), _void(), {
|
|
24833
24833
|
kind: "mutation",
|
|
24834
|
-
auth: "
|
|
24834
|
+
auth: "protected"
|
|
24835
24835
|
}),
|
|
24836
24836
|
setSwingVertical: method(object({
|
|
24837
24837
|
deviceId: number().int().nonnegative(),
|
|
24838
24838
|
on: boolean()
|
|
24839
24839
|
}), _void(), {
|
|
24840
24840
|
kind: "mutation",
|
|
24841
|
-
auth: "
|
|
24841
|
+
auth: "protected"
|
|
24842
24842
|
}),
|
|
24843
24843
|
setSwingHorizontal: method(object({
|
|
24844
24844
|
deviceId: number().int().nonnegative(),
|
|
24845
24845
|
on: boolean()
|
|
24846
24846
|
}), _void(), {
|
|
24847
24847
|
kind: "mutation",
|
|
24848
|
-
auth: "
|
|
24848
|
+
auth: "protected"
|
|
24849
24849
|
})
|
|
24850
24850
|
},
|
|
24851
24851
|
status: {
|
|
@@ -24945,7 +24945,7 @@ var colorCapability = {
|
|
|
24945
24945
|
color: ColorInputSchema
|
|
24946
24946
|
}), _void(), {
|
|
24947
24947
|
kind: "mutation",
|
|
24948
|
-
auth: "
|
|
24948
|
+
auth: "protected"
|
|
24949
24949
|
}) },
|
|
24950
24950
|
events: {
|
|
24951
24951
|
/**
|
|
@@ -25274,7 +25274,7 @@ var controlCapability = {
|
|
|
25274
25274
|
control: ControlSetValueInputSchema
|
|
25275
25275
|
}), _void(), {
|
|
25276
25276
|
kind: "mutation",
|
|
25277
|
-
auth: "
|
|
25277
|
+
auth: "protected"
|
|
25278
25278
|
}) },
|
|
25279
25279
|
status: {
|
|
25280
25280
|
schema: ControlStatusSchema,
|
|
@@ -25320,29 +25320,29 @@ var coverCapability = {
|
|
|
25320
25320
|
methods: {
|
|
25321
25321
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25322
25322
|
kind: "mutation",
|
|
25323
|
-
auth: "
|
|
25323
|
+
auth: "protected"
|
|
25324
25324
|
}),
|
|
25325
25325
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25326
25326
|
kind: "mutation",
|
|
25327
|
-
auth: "
|
|
25327
|
+
auth: "protected"
|
|
25328
25328
|
}),
|
|
25329
25329
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
25330
25330
|
kind: "mutation",
|
|
25331
|
-
auth: "
|
|
25331
|
+
auth: "protected"
|
|
25332
25332
|
}),
|
|
25333
25333
|
setPosition: method(object({
|
|
25334
25334
|
deviceId: number().int().nonnegative(),
|
|
25335
25335
|
position: number().min(0).max(100)
|
|
25336
25336
|
}), _void(), {
|
|
25337
25337
|
kind: "mutation",
|
|
25338
|
-
auth: "
|
|
25338
|
+
auth: "protected"
|
|
25339
25339
|
}),
|
|
25340
25340
|
setTiltPosition: method(object({
|
|
25341
25341
|
deviceId: number().int().nonnegative(),
|
|
25342
25342
|
tiltPosition: number().min(0).max(100)
|
|
25343
25343
|
}), _void(), {
|
|
25344
25344
|
kind: "mutation",
|
|
25345
|
-
auth: "
|
|
25345
|
+
auth: "protected"
|
|
25346
25346
|
})
|
|
25347
25347
|
},
|
|
25348
25348
|
status: {
|
|
@@ -26125,28 +26125,28 @@ var fanControlCapability = {
|
|
|
26125
26125
|
percentage: number().min(0).max(100)
|
|
26126
26126
|
}), _void(), {
|
|
26127
26127
|
kind: "mutation",
|
|
26128
|
-
auth: "
|
|
26128
|
+
auth: "protected"
|
|
26129
26129
|
}),
|
|
26130
26130
|
setPreset: method(object({
|
|
26131
26131
|
deviceId: number().int().nonnegative(),
|
|
26132
26132
|
preset: string().min(1)
|
|
26133
26133
|
}), _void(), {
|
|
26134
26134
|
kind: "mutation",
|
|
26135
|
-
auth: "
|
|
26135
|
+
auth: "protected"
|
|
26136
26136
|
}),
|
|
26137
26137
|
setDirection: method(object({
|
|
26138
26138
|
deviceId: number().int().nonnegative(),
|
|
26139
26139
|
direction: FanDirectionSchema
|
|
26140
26140
|
}), _void(), {
|
|
26141
26141
|
kind: "mutation",
|
|
26142
|
-
auth: "
|
|
26142
|
+
auth: "protected"
|
|
26143
26143
|
}),
|
|
26144
26144
|
setOscillating: method(object({
|
|
26145
26145
|
deviceId: number().int().nonnegative(),
|
|
26146
26146
|
oscillating: boolean()
|
|
26147
26147
|
}), _void(), {
|
|
26148
26148
|
kind: "mutation",
|
|
26149
|
-
auth: "
|
|
26149
|
+
auth: "protected"
|
|
26150
26150
|
})
|
|
26151
26151
|
},
|
|
26152
26152
|
status: {
|
|
@@ -26368,21 +26368,21 @@ var humidifierCapability = {
|
|
|
26368
26368
|
on: boolean()
|
|
26369
26369
|
}), _void(), {
|
|
26370
26370
|
kind: "mutation",
|
|
26371
|
-
auth: "
|
|
26371
|
+
auth: "protected"
|
|
26372
26372
|
}),
|
|
26373
26373
|
setTargetHumidity: method(object({
|
|
26374
26374
|
deviceId: number().int().nonnegative(),
|
|
26375
26375
|
humidity: number().min(0).max(100)
|
|
26376
26376
|
}), _void(), {
|
|
26377
26377
|
kind: "mutation",
|
|
26378
|
-
auth: "
|
|
26378
|
+
auth: "protected"
|
|
26379
26379
|
}),
|
|
26380
26380
|
setMode: method(object({
|
|
26381
26381
|
deviceId: number().int().nonnegative(),
|
|
26382
26382
|
mode: string().min(1)
|
|
26383
26383
|
}), _void(), {
|
|
26384
26384
|
kind: "mutation",
|
|
26385
|
-
auth: "
|
|
26385
|
+
auth: "protected"
|
|
26386
26386
|
})
|
|
26387
26387
|
},
|
|
26388
26388
|
status: {
|
|
@@ -27083,15 +27083,15 @@ var lawnMowerControlCapability = {
|
|
|
27083
27083
|
methods: {
|
|
27084
27084
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27085
27085
|
kind: "mutation",
|
|
27086
|
-
auth: "
|
|
27086
|
+
auth: "protected"
|
|
27087
27087
|
}),
|
|
27088
27088
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27089
27089
|
kind: "mutation",
|
|
27090
|
-
auth: "
|
|
27090
|
+
auth: "protected"
|
|
27091
27091
|
}),
|
|
27092
27092
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27093
27093
|
kind: "mutation",
|
|
27094
|
-
auth: "
|
|
27094
|
+
auth: "protected"
|
|
27095
27095
|
})
|
|
27096
27096
|
},
|
|
27097
27097
|
status: {
|
|
@@ -27376,18 +27376,18 @@ var lockControlCapability = {
|
|
|
27376
27376
|
code: string().min(1).optional()
|
|
27377
27377
|
}), _void(), {
|
|
27378
27378
|
kind: "mutation",
|
|
27379
|
-
auth: "
|
|
27379
|
+
auth: "protected"
|
|
27380
27380
|
}),
|
|
27381
27381
|
unlock: method(object({
|
|
27382
27382
|
deviceId: number().int().nonnegative(),
|
|
27383
27383
|
code: string().min(1).optional()
|
|
27384
27384
|
}), _void(), {
|
|
27385
27385
|
kind: "mutation",
|
|
27386
|
-
auth: "
|
|
27386
|
+
auth: "protected"
|
|
27387
27387
|
}),
|
|
27388
27388
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27389
27389
|
kind: "mutation",
|
|
27390
|
-
auth: "
|
|
27390
|
+
auth: "protected"
|
|
27391
27391
|
})
|
|
27392
27392
|
},
|
|
27393
27393
|
status: {
|
|
@@ -27490,65 +27490,65 @@ var mediaPlayerCapability = {
|
|
|
27490
27490
|
methods: {
|
|
27491
27491
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27492
27492
|
kind: "mutation",
|
|
27493
|
-
auth: "
|
|
27493
|
+
auth: "protected"
|
|
27494
27494
|
}),
|
|
27495
27495
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27496
27496
|
kind: "mutation",
|
|
27497
|
-
auth: "
|
|
27497
|
+
auth: "protected"
|
|
27498
27498
|
}),
|
|
27499
27499
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27500
27500
|
kind: "mutation",
|
|
27501
|
-
auth: "
|
|
27501
|
+
auth: "protected"
|
|
27502
27502
|
}),
|
|
27503
27503
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27504
27504
|
kind: "mutation",
|
|
27505
|
-
auth: "
|
|
27505
|
+
auth: "protected"
|
|
27506
27506
|
}),
|
|
27507
27507
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27508
27508
|
kind: "mutation",
|
|
27509
|
-
auth: "
|
|
27509
|
+
auth: "protected"
|
|
27510
27510
|
}),
|
|
27511
27511
|
seek: method(object({
|
|
27512
27512
|
deviceId: number().int().nonnegative(),
|
|
27513
27513
|
positionMs: number().int().nonnegative()
|
|
27514
27514
|
}), _void(), {
|
|
27515
27515
|
kind: "mutation",
|
|
27516
|
-
auth: "
|
|
27516
|
+
auth: "protected"
|
|
27517
27517
|
}),
|
|
27518
27518
|
setVolume: method(object({
|
|
27519
27519
|
deviceId: number().int().nonnegative(),
|
|
27520
27520
|
volumeLevel: number().min(0).max(100)
|
|
27521
27521
|
}), _void(), {
|
|
27522
27522
|
kind: "mutation",
|
|
27523
|
-
auth: "
|
|
27523
|
+
auth: "protected"
|
|
27524
27524
|
}),
|
|
27525
27525
|
setMute: method(object({
|
|
27526
27526
|
deviceId: number().int().nonnegative(),
|
|
27527
27527
|
muted: boolean()
|
|
27528
27528
|
}), _void(), {
|
|
27529
27529
|
kind: "mutation",
|
|
27530
|
-
auth: "
|
|
27530
|
+
auth: "protected"
|
|
27531
27531
|
}),
|
|
27532
27532
|
setShuffle: method(object({
|
|
27533
27533
|
deviceId: number().int().nonnegative(),
|
|
27534
27534
|
shuffle: boolean()
|
|
27535
27535
|
}), _void(), {
|
|
27536
27536
|
kind: "mutation",
|
|
27537
|
-
auth: "
|
|
27537
|
+
auth: "protected"
|
|
27538
27538
|
}),
|
|
27539
27539
|
setRepeat: method(object({
|
|
27540
27540
|
deviceId: number().int().nonnegative(),
|
|
27541
27541
|
repeat: MediaPlayerRepeatSchema
|
|
27542
27542
|
}), _void(), {
|
|
27543
27543
|
kind: "mutation",
|
|
27544
|
-
auth: "
|
|
27544
|
+
auth: "protected"
|
|
27545
27545
|
}),
|
|
27546
27546
|
selectSource: method(object({
|
|
27547
27547
|
deviceId: number().int().nonnegative(),
|
|
27548
27548
|
source: string().min(1)
|
|
27549
27549
|
}), _void(), {
|
|
27550
27550
|
kind: "mutation",
|
|
27551
|
-
auth: "
|
|
27551
|
+
auth: "protected"
|
|
27552
27552
|
}),
|
|
27553
27553
|
playMedia: method(object({
|
|
27554
27554
|
deviceId: number().int().nonnegative(),
|
|
@@ -27559,7 +27559,7 @@ var mediaPlayerCapability = {
|
|
|
27559
27559
|
mediaType: string().min(1)
|
|
27560
27560
|
}), _void(), {
|
|
27561
27561
|
kind: "mutation",
|
|
27562
|
-
auth: "
|
|
27562
|
+
auth: "protected"
|
|
27563
27563
|
})
|
|
27564
27564
|
},
|
|
27565
27565
|
status: {
|
|
@@ -29152,27 +29152,27 @@ var petFeederCapability = {
|
|
|
29152
29152
|
hopper2: gramsPortion.optional()
|
|
29153
29153
|
}), _void(), {
|
|
29154
29154
|
kind: "mutation",
|
|
29155
|
-
auth: "
|
|
29155
|
+
auth: "protected"
|
|
29156
29156
|
}),
|
|
29157
29157
|
/** Cancel an in-progress manual feed. */
|
|
29158
29158
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29159
29159
|
kind: "mutation",
|
|
29160
|
-
auth: "
|
|
29160
|
+
auth: "protected"
|
|
29161
29161
|
}),
|
|
29162
29162
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
29163
29163
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29164
29164
|
kind: "mutation",
|
|
29165
|
-
auth: "
|
|
29165
|
+
auth: "protected"
|
|
29166
29166
|
}),
|
|
29167
29167
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
29168
29168
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29169
29169
|
kind: "mutation",
|
|
29170
|
-
auth: "
|
|
29170
|
+
auth: "protected"
|
|
29171
29171
|
}),
|
|
29172
29172
|
/** Call the pet with the recorded prompt (D3). */
|
|
29173
29173
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
29174
29174
|
kind: "mutation",
|
|
29175
|
-
auth: "
|
|
29175
|
+
auth: "protected"
|
|
29176
29176
|
}),
|
|
29177
29177
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
29178
29178
|
playSound: method(object({
|
|
@@ -29180,7 +29180,7 @@ var petFeederCapability = {
|
|
|
29180
29180
|
soundId: number().int().nonnegative()
|
|
29181
29181
|
}), _void(), {
|
|
29182
29182
|
kind: "mutation",
|
|
29183
|
-
auth: "
|
|
29183
|
+
auth: "protected"
|
|
29184
29184
|
}),
|
|
29185
29185
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
29186
29186
|
setChildLock: method(object({
|
|
@@ -29188,7 +29188,7 @@ var petFeederCapability = {
|
|
|
29188
29188
|
on: boolean()
|
|
29189
29189
|
}), _void(), {
|
|
29190
29190
|
kind: "mutation",
|
|
29191
|
-
auth: "
|
|
29191
|
+
auth: "protected"
|
|
29192
29192
|
}),
|
|
29193
29193
|
/** Toggle the front indicator light. */
|
|
29194
29194
|
setIndicatorLight: method(object({
|
|
@@ -29196,7 +29196,7 @@ var petFeederCapability = {
|
|
|
29196
29196
|
on: boolean()
|
|
29197
29197
|
}), _void(), {
|
|
29198
29198
|
kind: "mutation",
|
|
29199
|
-
auth: "
|
|
29199
|
+
auth: "protected"
|
|
29200
29200
|
}),
|
|
29201
29201
|
/** Toggle the dispense chime. */
|
|
29202
29202
|
setFeedSound: method(object({
|
|
@@ -29204,7 +29204,7 @@ var petFeederCapability = {
|
|
|
29204
29204
|
on: boolean()
|
|
29205
29205
|
}), _void(), {
|
|
29206
29206
|
kind: "mutation",
|
|
29207
|
-
auth: "
|
|
29207
|
+
auth: "protected"
|
|
29208
29208
|
}),
|
|
29209
29209
|
/** Set the speaker / prompt volume level. */
|
|
29210
29210
|
setVolume: method(object({
|
|
@@ -29212,7 +29212,7 @@ var petFeederCapability = {
|
|
|
29212
29212
|
level: number().int().nonnegative()
|
|
29213
29213
|
}), _void(), {
|
|
29214
29214
|
kind: "mutation",
|
|
29215
|
-
auth: "
|
|
29215
|
+
auth: "protected"
|
|
29216
29216
|
})
|
|
29217
29217
|
},
|
|
29218
29218
|
status: {
|
|
@@ -31508,7 +31508,7 @@ var switchCapability = {
|
|
|
31508
31508
|
on: boolean()
|
|
31509
31509
|
}), _void(), {
|
|
31510
31510
|
kind: "mutation",
|
|
31511
|
-
auth: "
|
|
31511
|
+
auth: "protected"
|
|
31512
31512
|
}) },
|
|
31513
31513
|
events: { onStateChanged: { data: object({
|
|
31514
31514
|
deviceId: number(),
|
|
@@ -32496,30 +32496,30 @@ var vacuumControlCapability = {
|
|
|
32496
32496
|
methods: {
|
|
32497
32497
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32498
32498
|
kind: "mutation",
|
|
32499
|
-
auth: "
|
|
32499
|
+
auth: "protected"
|
|
32500
32500
|
}),
|
|
32501
32501
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32502
32502
|
kind: "mutation",
|
|
32503
|
-
auth: "
|
|
32503
|
+
auth: "protected"
|
|
32504
32504
|
}),
|
|
32505
32505
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32506
32506
|
kind: "mutation",
|
|
32507
|
-
auth: "
|
|
32507
|
+
auth: "protected"
|
|
32508
32508
|
}),
|
|
32509
32509
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32510
32510
|
kind: "mutation",
|
|
32511
|
-
auth: "
|
|
32511
|
+
auth: "protected"
|
|
32512
32512
|
}),
|
|
32513
32513
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32514
32514
|
kind: "mutation",
|
|
32515
|
-
auth: "
|
|
32515
|
+
auth: "protected"
|
|
32516
32516
|
}),
|
|
32517
32517
|
setFanSpeed: method(object({
|
|
32518
32518
|
deviceId: number().int().nonnegative(),
|
|
32519
32519
|
speed: string().min(1)
|
|
32520
32520
|
}), _void(), {
|
|
32521
32521
|
kind: "mutation",
|
|
32522
|
-
auth: "
|
|
32522
|
+
auth: "protected"
|
|
32523
32523
|
})
|
|
32524
32524
|
},
|
|
32525
32525
|
status: {
|
|
@@ -32563,22 +32563,22 @@ var valveCapability = {
|
|
|
32563
32563
|
methods: {
|
|
32564
32564
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32565
32565
|
kind: "mutation",
|
|
32566
|
-
auth: "
|
|
32566
|
+
auth: "protected"
|
|
32567
32567
|
}),
|
|
32568
32568
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32569
32569
|
kind: "mutation",
|
|
32570
|
-
auth: "
|
|
32570
|
+
auth: "protected"
|
|
32571
32571
|
}),
|
|
32572
32572
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32573
32573
|
kind: "mutation",
|
|
32574
|
-
auth: "
|
|
32574
|
+
auth: "protected"
|
|
32575
32575
|
}),
|
|
32576
32576
|
setPosition: method(object({
|
|
32577
32577
|
deviceId: number().int().nonnegative(),
|
|
32578
32578
|
position: number().min(0).max(100)
|
|
32579
32579
|
}), _void(), {
|
|
32580
32580
|
kind: "mutation",
|
|
32581
|
-
auth: "
|
|
32581
|
+
auth: "protected"
|
|
32582
32582
|
})
|
|
32583
32583
|
},
|
|
32584
32584
|
status: {
|
|
@@ -32677,21 +32677,21 @@ var waterHeaterCapability = {
|
|
|
32677
32677
|
temp: number().finite()
|
|
32678
32678
|
}), _void(), {
|
|
32679
32679
|
kind: "mutation",
|
|
32680
|
-
auth: "
|
|
32680
|
+
auth: "protected"
|
|
32681
32681
|
}),
|
|
32682
32682
|
setOperationMode: method(object({
|
|
32683
32683
|
deviceId: number().int().nonnegative(),
|
|
32684
32684
|
mode: string().min(1)
|
|
32685
32685
|
}), _void(), {
|
|
32686
32686
|
kind: "mutation",
|
|
32687
|
-
auth: "
|
|
32687
|
+
auth: "protected"
|
|
32688
32688
|
}),
|
|
32689
32689
|
setAway: method(object({
|
|
32690
32690
|
deviceId: number().int().nonnegative(),
|
|
32691
32691
|
on: boolean()
|
|
32692
32692
|
}), _void(), {
|
|
32693
32693
|
kind: "mutation",
|
|
32694
|
-
auth: "
|
|
32694
|
+
auth: "protected"
|
|
32695
32695
|
})
|
|
32696
32696
|
},
|
|
32697
32697
|
status: {
|
|
@@ -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-DAeDXQbg.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-CCXWoJdR.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
//#region src/ha-export/topics.ts
|
|
4
4
|
/**
|