@camstack/addon-provider-homeassistant 1.2.134 → 1.2.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-CBess7Ok.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-Byg3We_8.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
|
|
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5359
5359
|
var ZodFirstPartyTypeKind;
|
|
5360
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5361
5361
|
//#endregion
|
|
5362
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-vl6nBE8d.mjs
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5365
5365
|
* window to float samples (D455).
|
|
@@ -31526,6 +31526,15 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31526
31526
|
}), _void(), {
|
|
31527
31527
|
kind: "mutation",
|
|
31528
31528
|
auth: "admin"
|
|
31529
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31530
|
+
kind: "mutation",
|
|
31531
|
+
auth: "admin"
|
|
31532
|
+
}), method(object({ deviceId: number() }), number().int().nullable()), method(object({
|
|
31533
|
+
deviceId: number(),
|
|
31534
|
+
seconds: number().int().min(0).max(3600)
|
|
31535
|
+
}), _void(), {
|
|
31536
|
+
kind: "mutation",
|
|
31537
|
+
auth: "admin"
|
|
31529
31538
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31530
31539
|
deviceId: number(),
|
|
31531
31540
|
enabled: boolean()
|
|
@@ -40768,6 +40777,12 @@ Object.freeze({
|
|
|
40768
40777
|
addonId: null,
|
|
40769
40778
|
access: "create"
|
|
40770
40779
|
},
|
|
40780
|
+
"ptz.captureHomeHere": {
|
|
40781
|
+
capName: "ptz",
|
|
40782
|
+
capScope: "device",
|
|
40783
|
+
addonId: null,
|
|
40784
|
+
access: "create"
|
|
40785
|
+
},
|
|
40771
40786
|
"ptz.continuousMove": {
|
|
40772
40787
|
capName: "ptz",
|
|
40773
40788
|
capScope: "device",
|
|
@@ -40786,6 +40801,12 @@ Object.freeze({
|
|
|
40786
40801
|
addonId: null,
|
|
40787
40802
|
access: "view"
|
|
40788
40803
|
},
|
|
40804
|
+
"ptz.getHomeReturnSeconds": {
|
|
40805
|
+
capName: "ptz",
|
|
40806
|
+
capScope: "device",
|
|
40807
|
+
addonId: null,
|
|
40808
|
+
access: "view"
|
|
40809
|
+
},
|
|
40789
40810
|
"ptz.getOptions": {
|
|
40790
40811
|
capName: "ptz",
|
|
40791
40812
|
capScope: "device",
|
|
@@ -40840,6 +40861,12 @@ Object.freeze({
|
|
|
40840
40861
|
addonId: null,
|
|
40841
40862
|
access: "create"
|
|
40842
40863
|
},
|
|
40864
|
+
"ptz.setHomeReturnSeconds": {
|
|
40865
|
+
capName: "ptz",
|
|
40866
|
+
capScope: "device",
|
|
40867
|
+
addonId: null,
|
|
40868
|
+
access: "create"
|
|
40869
|
+
},
|
|
40843
40870
|
"ptz.stop": {
|
|
40844
40871
|
capName: "ptz",
|
|
40845
40872
|
capScope: "device",
|
|
@@ -44003,6 +44030,11 @@ Object.freeze({
|
|
|
44003
44030
|
form: "single",
|
|
44004
44031
|
optional: false
|
|
44005
44032
|
}],
|
|
44033
|
+
"ptz.captureHomeHere": [{
|
|
44034
|
+
name: "deviceId",
|
|
44035
|
+
form: "single",
|
|
44036
|
+
optional: false
|
|
44037
|
+
}],
|
|
44006
44038
|
"ptz.continuousMove": [{
|
|
44007
44039
|
name: "deviceId",
|
|
44008
44040
|
form: "single",
|
|
@@ -44018,6 +44050,11 @@ Object.freeze({
|
|
|
44018
44050
|
form: "single",
|
|
44019
44051
|
optional: false
|
|
44020
44052
|
}],
|
|
44053
|
+
"ptz.getHomeReturnSeconds": [{
|
|
44054
|
+
name: "deviceId",
|
|
44055
|
+
form: "single",
|
|
44056
|
+
optional: false
|
|
44057
|
+
}],
|
|
44021
44058
|
"ptz.getOptions": [{
|
|
44022
44059
|
name: "deviceId",
|
|
44023
44060
|
form: "single",
|
|
@@ -44063,6 +44100,11 @@ Object.freeze({
|
|
|
44063
44100
|
form: "single",
|
|
44064
44101
|
optional: false
|
|
44065
44102
|
}],
|
|
44103
|
+
"ptz.setHomeReturnSeconds": [{
|
|
44104
|
+
name: "deviceId",
|
|
44105
|
+
form: "single",
|
|
44106
|
+
optional: false
|
|
44107
|
+
}],
|
|
44066
44108
|
"ptz.stop": [{
|
|
44067
44109
|
name: "deviceId",
|
|
44068
44110
|
form: "single",
|
|
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5359
5359
|
var ZodFirstPartyTypeKind;
|
|
5360
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5361
5361
|
//#endregion
|
|
5362
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-vl6nBE8d.mjs
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5365
5365
|
* window to float samples (D455).
|
|
@@ -31526,6 +31526,15 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31526
31526
|
}), _void(), {
|
|
31527
31527
|
kind: "mutation",
|
|
31528
31528
|
auth: "admin"
|
|
31529
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31530
|
+
kind: "mutation",
|
|
31531
|
+
auth: "admin"
|
|
31532
|
+
}), method(object({ deviceId: number() }), number().int().nullable()), method(object({
|
|
31533
|
+
deviceId: number(),
|
|
31534
|
+
seconds: number().int().min(0).max(3600)
|
|
31535
|
+
}), _void(), {
|
|
31536
|
+
kind: "mutation",
|
|
31537
|
+
auth: "admin"
|
|
31529
31538
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31530
31539
|
deviceId: number(),
|
|
31531
31540
|
enabled: boolean()
|
|
@@ -40768,6 +40777,12 @@ Object.freeze({
|
|
|
40768
40777
|
addonId: null,
|
|
40769
40778
|
access: "create"
|
|
40770
40779
|
},
|
|
40780
|
+
"ptz.captureHomeHere": {
|
|
40781
|
+
capName: "ptz",
|
|
40782
|
+
capScope: "device",
|
|
40783
|
+
addonId: null,
|
|
40784
|
+
access: "create"
|
|
40785
|
+
},
|
|
40771
40786
|
"ptz.continuousMove": {
|
|
40772
40787
|
capName: "ptz",
|
|
40773
40788
|
capScope: "device",
|
|
@@ -40786,6 +40801,12 @@ Object.freeze({
|
|
|
40786
40801
|
addonId: null,
|
|
40787
40802
|
access: "view"
|
|
40788
40803
|
},
|
|
40804
|
+
"ptz.getHomeReturnSeconds": {
|
|
40805
|
+
capName: "ptz",
|
|
40806
|
+
capScope: "device",
|
|
40807
|
+
addonId: null,
|
|
40808
|
+
access: "view"
|
|
40809
|
+
},
|
|
40789
40810
|
"ptz.getOptions": {
|
|
40790
40811
|
capName: "ptz",
|
|
40791
40812
|
capScope: "device",
|
|
@@ -40840,6 +40861,12 @@ Object.freeze({
|
|
|
40840
40861
|
addonId: null,
|
|
40841
40862
|
access: "create"
|
|
40842
40863
|
},
|
|
40864
|
+
"ptz.setHomeReturnSeconds": {
|
|
40865
|
+
capName: "ptz",
|
|
40866
|
+
capScope: "device",
|
|
40867
|
+
addonId: null,
|
|
40868
|
+
access: "create"
|
|
40869
|
+
},
|
|
40843
40870
|
"ptz.stop": {
|
|
40844
40871
|
capName: "ptz",
|
|
40845
40872
|
capScope: "device",
|
|
@@ -44003,6 +44030,11 @@ Object.freeze({
|
|
|
44003
44030
|
form: "single",
|
|
44004
44031
|
optional: false
|
|
44005
44032
|
}],
|
|
44033
|
+
"ptz.captureHomeHere": [{
|
|
44034
|
+
name: "deviceId",
|
|
44035
|
+
form: "single",
|
|
44036
|
+
optional: false
|
|
44037
|
+
}],
|
|
44006
44038
|
"ptz.continuousMove": [{
|
|
44007
44039
|
name: "deviceId",
|
|
44008
44040
|
form: "single",
|
|
@@ -44018,6 +44050,11 @@ Object.freeze({
|
|
|
44018
44050
|
form: "single",
|
|
44019
44051
|
optional: false
|
|
44020
44052
|
}],
|
|
44053
|
+
"ptz.getHomeReturnSeconds": [{
|
|
44054
|
+
name: "deviceId",
|
|
44055
|
+
form: "single",
|
|
44056
|
+
optional: false
|
|
44057
|
+
}],
|
|
44021
44058
|
"ptz.getOptions": [{
|
|
44022
44059
|
name: "deviceId",
|
|
44023
44060
|
form: "single",
|
|
@@ -44063,6 +44100,11 @@ Object.freeze({
|
|
|
44063
44100
|
form: "single",
|
|
44064
44101
|
optional: false
|
|
44065
44102
|
}],
|
|
44103
|
+
"ptz.setHomeReturnSeconds": [{
|
|
44104
|
+
name: "deviceId",
|
|
44105
|
+
form: "single",
|
|
44106
|
+
optional: false
|
|
44107
|
+
}],
|
|
44066
44108
|
"ptz.stop": [{
|
|
44067
44109
|
name: "deviceId",
|
|
44068
44110
|
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-CBess7Ok.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-Byg3We_8.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
//#region src/ha-export/topics.ts
|
|
4
4
|
/**
|