@camstack/addon-provider-homeassistant 1.2.615 → 1.2.616
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-DULXoGnO.mjs → dist-BQjwQmdj.mjs} +125 -2
- package/dist/{dist-i6ntIgzS.js → dist-DMbVsggA.js} +125 -2
- 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-DMbVsggA.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_zlib = require("node:zlib");
|
|
5
5
|
//#region src/ha-admin-link.ts
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as connectivityCapability, At as discriminatedUnion, B as floodCapability, C as buildAddonRouteProvider, Ct as defineEntryKind, D as carbonMonoxideCapability, Dt as _enum, E as calendarSourceCapability, F as deviceAdoptionCapability, Ft as string, G as lawnMowerControlCapability, H as humidifierCapability, It as union, J as motionCapability, K as lockControlCapability, L as enumSensorCapability, Lt as unknown, M as controlCapability, Mt as number, N as coverCapability, Nt as object, O as climateControlCapability, Ot as array, P as deviceAdminLinkCapability, Pt as record, Q as numericSensorCapability, R as eventEmitterCapability, Rt as url, S as brokerCapability, St as createEvent, T as buttonCapability, Tt as entryBody, U as humiditySensorCapability, V as gasCapability, W as imageCapability, X as notificationOutputCapability, Y as normalizeUnit, Z as notifierCapability, _ as automationControlCapability, _t as DeviceRole, at as scriptRunnerCapability, b as binaryCapability, ct as tamperCapability, d as TargetSchema, dt as vacuumControlCapability, et as parseAdminBase, f as accessoriesCapability, ft as valveCapability, g as ambientLightSensorCapability, gt as DeviceFeature, h as alarmPanelCapability, ht as weatherCapability, it as pressureSensorCapability, j as contactCapability, jt as literal, k as colorCapability, kt as boolean, lt as temperatureSensorCapability, m as airQualitySensorCapability, mt as waterHeaterCapability, n as BaseDevice, nt as prepareNotification, ot as smokeCapability, p as addonRoutesCapability, pt as vibrationCapability, q as mediaPlayerCapability, r as BaseDeviceProvider, rt as presenceCapability, s as EnumSensorDateTimeFormatSchema, st as switchCapability, tt as powerMeterCapability, ut as updateCapability, v as batteryCapability, vt as DeviceType, w as buildDeviceAdminUrl, wt as defineRecordKinds, x as brightnessCapability, xt as RecordSecretUnavailableError, y as bestLocationMatch, yt as errMsg, z as fanControlCapability, zt as EventCategory } from "./dist-
|
|
1
|
+
import { A as connectivityCapability, At as discriminatedUnion, B as floodCapability, C as buildAddonRouteProvider, Ct as defineEntryKind, D as carbonMonoxideCapability, Dt as _enum, E as calendarSourceCapability, F as deviceAdoptionCapability, Ft as string, G as lawnMowerControlCapability, H as humidifierCapability, It as union, J as motionCapability, K as lockControlCapability, L as enumSensorCapability, Lt as unknown, M as controlCapability, Mt as number, N as coverCapability, Nt as object, O as climateControlCapability, Ot as array, P as deviceAdminLinkCapability, Pt as record, Q as numericSensorCapability, R as eventEmitterCapability, Rt as url, S as brokerCapability, St as createEvent, T as buttonCapability, Tt as entryBody, U as humiditySensorCapability, V as gasCapability, W as imageCapability, X as notificationOutputCapability, Y as normalizeUnit, Z as notifierCapability, _ as automationControlCapability, _t as DeviceRole, at as scriptRunnerCapability, b as binaryCapability, ct as tamperCapability, d as TargetSchema, dt as vacuumControlCapability, et as parseAdminBase, f as accessoriesCapability, ft as valveCapability, g as ambientLightSensorCapability, gt as DeviceFeature, h as alarmPanelCapability, ht as weatherCapability, it as pressureSensorCapability, j as contactCapability, jt as literal, k as colorCapability, kt as boolean, lt as temperatureSensorCapability, m as airQualitySensorCapability, mt as waterHeaterCapability, n as BaseDevice, nt as prepareNotification, ot as smokeCapability, p as addonRoutesCapability, pt as vibrationCapability, q as mediaPlayerCapability, r as BaseDeviceProvider, rt as presenceCapability, s as EnumSensorDateTimeFormatSchema, st as switchCapability, tt as powerMeterCapability, ut as updateCapability, v as batteryCapability, vt as DeviceType, w as buildDeviceAdminUrl, wt as defineRecordKinds, x as brightnessCapability, xt as RecordSecretUnavailableError, y as bestLocationMatch, yt as errMsg, z as fanControlCapability, zt as EventCategory } from "./dist-BQjwQmdj.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { brotliCompressSync, deflateSync, gzipSync } from "node:zlib";
|
|
4
4
|
//#region src/ha-admin-link.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -686,6 +686,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
686
686
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
687
687
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
688
688
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
689
|
+
/**
|
|
690
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
691
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
692
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
693
|
+
*/
|
|
694
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
695
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
696
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
689
697
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
690
698
|
/**
|
|
691
699
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -5546,7 +5554,7 @@ var ZodIssueCode = {
|
|
|
5546
5554
|
var ZodFirstPartyTypeKind;
|
|
5547
5555
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5548
5556
|
//#endregion
|
|
5549
|
-
//#region ../types/dist/sleep-
|
|
5557
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
5550
5558
|
/**
|
|
5551
5559
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5552
5560
|
* window to float samples (D455).
|
|
@@ -43222,6 +43230,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
43222
43230
|
"alert-critical",
|
|
43223
43231
|
"alert-error",
|
|
43224
43232
|
"alert-critical-resolved",
|
|
43233
|
+
"rule-broken",
|
|
43234
|
+
"rule-repaired",
|
|
43225
43235
|
"camera-online",
|
|
43226
43236
|
"camera-offline",
|
|
43227
43237
|
"camera-disabled",
|
|
@@ -79820,6 +79830,8 @@ new Map(Object.entries({
|
|
|
79820
79830
|
"alert-critical": "system",
|
|
79821
79831
|
"alert-error": "system",
|
|
79822
79832
|
"alert-critical-resolved": "system",
|
|
79833
|
+
"rule-broken": "system",
|
|
79834
|
+
"rule-repaired": "system",
|
|
79823
79835
|
"storage-location-low": "system",
|
|
79824
79836
|
"storage-location-critical": "system",
|
|
79825
79837
|
"storage-location-ok": "system",
|
|
@@ -79954,6 +79966,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79954
79966
|
"alert-critical-resolved"
|
|
79955
79967
|
]
|
|
79956
79968
|
},
|
|
79969
|
+
{
|
|
79970
|
+
id: "rule-health",
|
|
79971
|
+
family: "system",
|
|
79972
|
+
label: "Notification rules",
|
|
79973
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
79974
|
+
},
|
|
79957
79975
|
{
|
|
79958
79976
|
id: "alarm",
|
|
79959
79977
|
family: "alarm",
|
|
@@ -80231,6 +80249,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
80231
80249
|
[...RULE_TEXT],
|
|
80232
80250
|
[...RULE_TEXT],
|
|
80233
80251
|
[...RULE_TEXT],
|
|
80252
|
+
[...RULE_TEXT],
|
|
80253
|
+
[...RULE_TEXT],
|
|
80254
|
+
[...RULE_TEXT],
|
|
80255
|
+
[...RULE_TEXT],
|
|
80234
80256
|
([...RULE_TEXT], [...UPDATES]),
|
|
80235
80257
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
80236
80258
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -80269,6 +80291,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
80269
80291
|
[...RULE_TEXT],
|
|
80270
80292
|
...STATE_SUMMARY_VARS
|
|
80271
80293
|
];
|
|
80294
|
+
new Map([
|
|
80295
|
+
{
|
|
80296
|
+
id: "device-connectivity",
|
|
80297
|
+
family: "device-events",
|
|
80298
|
+
label: "Device connectivity (offline / back online)",
|
|
80299
|
+
bad: ["device-offline"],
|
|
80300
|
+
recovery: ["device-online"],
|
|
80301
|
+
snapshotLabel: "Devices offline now",
|
|
80302
|
+
snapshotSection: "device-state"
|
|
80303
|
+
},
|
|
80304
|
+
{
|
|
80305
|
+
id: "device-switch",
|
|
80306
|
+
family: "device-events",
|
|
80307
|
+
label: "Device switched off / back on",
|
|
80308
|
+
bad: ["device-disabled"],
|
|
80309
|
+
recovery: ["device-enabled"],
|
|
80310
|
+
snapshotLabel: "Devices switched off now",
|
|
80311
|
+
snapshotSection: "device-state"
|
|
80312
|
+
},
|
|
80313
|
+
{
|
|
80314
|
+
id: "stream-connectivity",
|
|
80315
|
+
family: "device-events",
|
|
80316
|
+
label: "Stream connectivity (offline / back online)",
|
|
80317
|
+
bad: ["stream-offline"],
|
|
80318
|
+
recovery: ["stream-online"],
|
|
80319
|
+
snapshotLabel: "Streams offline now",
|
|
80320
|
+
snapshotSection: "streams"
|
|
80321
|
+
},
|
|
80322
|
+
{
|
|
80323
|
+
id: "battery",
|
|
80324
|
+
family: "device-events",
|
|
80325
|
+
label: "Battery (low / back to normal)",
|
|
80326
|
+
bad: ["device-battery-low"],
|
|
80327
|
+
recovery: ["device-battery-normal"],
|
|
80328
|
+
snapshotLabel: "Batteries low now",
|
|
80329
|
+
snapshotSection: "battery"
|
|
80330
|
+
},
|
|
80331
|
+
{
|
|
80332
|
+
id: "consumables",
|
|
80333
|
+
family: "device-events",
|
|
80334
|
+
label: "Consumables (low / replaced)",
|
|
80335
|
+
bad: ["device-consumable-low"],
|
|
80336
|
+
recovery: ["device-consumable-normal"],
|
|
80337
|
+
snapshotLabel: "Consumables low now",
|
|
80338
|
+
snapshotSection: "consumables"
|
|
80339
|
+
},
|
|
80340
|
+
{
|
|
80341
|
+
id: "tanks",
|
|
80342
|
+
family: "device-events",
|
|
80343
|
+
label: "Tanks (low or full / back to normal)",
|
|
80344
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
80345
|
+
recovery: ["device-tank-normal"],
|
|
80346
|
+
snapshotLabel: "Tanks low or full now",
|
|
80347
|
+
snapshotSection: "tanks"
|
|
80348
|
+
},
|
|
80349
|
+
{
|
|
80350
|
+
id: "recording-health",
|
|
80351
|
+
family: "device-events",
|
|
80352
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
80353
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
80354
|
+
recovery: ["recording-healthy"],
|
|
80355
|
+
snapshotLabel: "Recordings stalled now",
|
|
80356
|
+
snapshotSection: null
|
|
80357
|
+
},
|
|
80358
|
+
{
|
|
80359
|
+
id: "node-connectivity",
|
|
80360
|
+
family: "system",
|
|
80361
|
+
label: "Node connectivity (offline / back online)",
|
|
80362
|
+
bad: ["node-offline"],
|
|
80363
|
+
recovery: ["node-online"],
|
|
80364
|
+
snapshotLabel: "Nodes offline now",
|
|
80365
|
+
snapshotSection: "nodes"
|
|
80366
|
+
},
|
|
80367
|
+
{
|
|
80368
|
+
id: "storage-space",
|
|
80369
|
+
family: "system",
|
|
80370
|
+
label: "Storage space (low or critical / ok again)",
|
|
80371
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
80372
|
+
recovery: ["storage-location-ok"],
|
|
80373
|
+
snapshotLabel: "Storage locations low now",
|
|
80374
|
+
snapshotSection: null
|
|
80375
|
+
},
|
|
80376
|
+
{
|
|
80377
|
+
id: "critical-alerts",
|
|
80378
|
+
family: "system",
|
|
80379
|
+
label: "Critical alerts (raised / resolved)",
|
|
80380
|
+
bad: ["alert-critical"],
|
|
80381
|
+
recovery: ["alert-critical-resolved"],
|
|
80382
|
+
snapshotLabel: "Critical alerts open now",
|
|
80383
|
+
snapshotSection: null
|
|
80384
|
+
},
|
|
80385
|
+
{
|
|
80386
|
+
id: "rule-health",
|
|
80387
|
+
family: "system",
|
|
80388
|
+
label: "Rule health (broken / repaired)",
|
|
80389
|
+
bad: ["rule-broken"],
|
|
80390
|
+
recovery: ["rule-repaired"],
|
|
80391
|
+
snapshotLabel: "Notification rules broken now",
|
|
80392
|
+
snapshotSection: null
|
|
80393
|
+
}
|
|
80394
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
80272
80395
|
new Set([
|
|
80273
80396
|
"disarmed",
|
|
80274
80397
|
"armed_home",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("node:crypto");
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -687,6 +687,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
687
687
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
688
688
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
689
689
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
690
|
+
/**
|
|
691
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
692
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
693
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
694
|
+
*/
|
|
695
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
696
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
697
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
690
698
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
691
699
|
/**
|
|
692
700
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -5547,7 +5555,7 @@ var ZodIssueCode = {
|
|
|
5547
5555
|
var ZodFirstPartyTypeKind;
|
|
5548
5556
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5549
5557
|
//#endregion
|
|
5550
|
-
//#region ../types/dist/sleep-
|
|
5558
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
5551
5559
|
/**
|
|
5552
5560
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5553
5561
|
* window to float samples (D455).
|
|
@@ -43223,6 +43231,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
43223
43231
|
"alert-critical",
|
|
43224
43232
|
"alert-error",
|
|
43225
43233
|
"alert-critical-resolved",
|
|
43234
|
+
"rule-broken",
|
|
43235
|
+
"rule-repaired",
|
|
43226
43236
|
"camera-online",
|
|
43227
43237
|
"camera-offline",
|
|
43228
43238
|
"camera-disabled",
|
|
@@ -79821,6 +79831,8 @@ new Map(Object.entries({
|
|
|
79821
79831
|
"alert-critical": "system",
|
|
79822
79832
|
"alert-error": "system",
|
|
79823
79833
|
"alert-critical-resolved": "system",
|
|
79834
|
+
"rule-broken": "system",
|
|
79835
|
+
"rule-repaired": "system",
|
|
79824
79836
|
"storage-location-low": "system",
|
|
79825
79837
|
"storage-location-critical": "system",
|
|
79826
79838
|
"storage-location-ok": "system",
|
|
@@ -79955,6 +79967,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79955
79967
|
"alert-critical-resolved"
|
|
79956
79968
|
]
|
|
79957
79969
|
},
|
|
79970
|
+
{
|
|
79971
|
+
id: "rule-health",
|
|
79972
|
+
family: "system",
|
|
79973
|
+
label: "Notification rules",
|
|
79974
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
79975
|
+
},
|
|
79958
79976
|
{
|
|
79959
79977
|
id: "alarm",
|
|
79960
79978
|
family: "alarm",
|
|
@@ -80232,6 +80250,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
80232
80250
|
[...RULE_TEXT],
|
|
80233
80251
|
[...RULE_TEXT],
|
|
80234
80252
|
[...RULE_TEXT],
|
|
80253
|
+
[...RULE_TEXT],
|
|
80254
|
+
[...RULE_TEXT],
|
|
80255
|
+
[...RULE_TEXT],
|
|
80256
|
+
[...RULE_TEXT],
|
|
80235
80257
|
([...RULE_TEXT], [...UPDATES]),
|
|
80236
80258
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
80237
80259
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -80270,6 +80292,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
80270
80292
|
[...RULE_TEXT],
|
|
80271
80293
|
...STATE_SUMMARY_VARS
|
|
80272
80294
|
];
|
|
80295
|
+
new Map([
|
|
80296
|
+
{
|
|
80297
|
+
id: "device-connectivity",
|
|
80298
|
+
family: "device-events",
|
|
80299
|
+
label: "Device connectivity (offline / back online)",
|
|
80300
|
+
bad: ["device-offline"],
|
|
80301
|
+
recovery: ["device-online"],
|
|
80302
|
+
snapshotLabel: "Devices offline now",
|
|
80303
|
+
snapshotSection: "device-state"
|
|
80304
|
+
},
|
|
80305
|
+
{
|
|
80306
|
+
id: "device-switch",
|
|
80307
|
+
family: "device-events",
|
|
80308
|
+
label: "Device switched off / back on",
|
|
80309
|
+
bad: ["device-disabled"],
|
|
80310
|
+
recovery: ["device-enabled"],
|
|
80311
|
+
snapshotLabel: "Devices switched off now",
|
|
80312
|
+
snapshotSection: "device-state"
|
|
80313
|
+
},
|
|
80314
|
+
{
|
|
80315
|
+
id: "stream-connectivity",
|
|
80316
|
+
family: "device-events",
|
|
80317
|
+
label: "Stream connectivity (offline / back online)",
|
|
80318
|
+
bad: ["stream-offline"],
|
|
80319
|
+
recovery: ["stream-online"],
|
|
80320
|
+
snapshotLabel: "Streams offline now",
|
|
80321
|
+
snapshotSection: "streams"
|
|
80322
|
+
},
|
|
80323
|
+
{
|
|
80324
|
+
id: "battery",
|
|
80325
|
+
family: "device-events",
|
|
80326
|
+
label: "Battery (low / back to normal)",
|
|
80327
|
+
bad: ["device-battery-low"],
|
|
80328
|
+
recovery: ["device-battery-normal"],
|
|
80329
|
+
snapshotLabel: "Batteries low now",
|
|
80330
|
+
snapshotSection: "battery"
|
|
80331
|
+
},
|
|
80332
|
+
{
|
|
80333
|
+
id: "consumables",
|
|
80334
|
+
family: "device-events",
|
|
80335
|
+
label: "Consumables (low / replaced)",
|
|
80336
|
+
bad: ["device-consumable-low"],
|
|
80337
|
+
recovery: ["device-consumable-normal"],
|
|
80338
|
+
snapshotLabel: "Consumables low now",
|
|
80339
|
+
snapshotSection: "consumables"
|
|
80340
|
+
},
|
|
80341
|
+
{
|
|
80342
|
+
id: "tanks",
|
|
80343
|
+
family: "device-events",
|
|
80344
|
+
label: "Tanks (low or full / back to normal)",
|
|
80345
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
80346
|
+
recovery: ["device-tank-normal"],
|
|
80347
|
+
snapshotLabel: "Tanks low or full now",
|
|
80348
|
+
snapshotSection: "tanks"
|
|
80349
|
+
},
|
|
80350
|
+
{
|
|
80351
|
+
id: "recording-health",
|
|
80352
|
+
family: "device-events",
|
|
80353
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
80354
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
80355
|
+
recovery: ["recording-healthy"],
|
|
80356
|
+
snapshotLabel: "Recordings stalled now",
|
|
80357
|
+
snapshotSection: null
|
|
80358
|
+
},
|
|
80359
|
+
{
|
|
80360
|
+
id: "node-connectivity",
|
|
80361
|
+
family: "system",
|
|
80362
|
+
label: "Node connectivity (offline / back online)",
|
|
80363
|
+
bad: ["node-offline"],
|
|
80364
|
+
recovery: ["node-online"],
|
|
80365
|
+
snapshotLabel: "Nodes offline now",
|
|
80366
|
+
snapshotSection: "nodes"
|
|
80367
|
+
},
|
|
80368
|
+
{
|
|
80369
|
+
id: "storage-space",
|
|
80370
|
+
family: "system",
|
|
80371
|
+
label: "Storage space (low or critical / ok again)",
|
|
80372
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
80373
|
+
recovery: ["storage-location-ok"],
|
|
80374
|
+
snapshotLabel: "Storage locations low now",
|
|
80375
|
+
snapshotSection: null
|
|
80376
|
+
},
|
|
80377
|
+
{
|
|
80378
|
+
id: "critical-alerts",
|
|
80379
|
+
family: "system",
|
|
80380
|
+
label: "Critical alerts (raised / resolved)",
|
|
80381
|
+
bad: ["alert-critical"],
|
|
80382
|
+
recovery: ["alert-critical-resolved"],
|
|
80383
|
+
snapshotLabel: "Critical alerts open now",
|
|
80384
|
+
snapshotSection: null
|
|
80385
|
+
},
|
|
80386
|
+
{
|
|
80387
|
+
id: "rule-health",
|
|
80388
|
+
family: "system",
|
|
80389
|
+
label: "Rule health (broken / repaired)",
|
|
80390
|
+
bad: ["rule-broken"],
|
|
80391
|
+
recovery: ["rule-repaired"],
|
|
80392
|
+
snapshotLabel: "Notification rules broken now",
|
|
80393
|
+
snapshotSection: null
|
|
80394
|
+
}
|
|
80395
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
80273
80396
|
new Set([
|
|
80274
80397
|
"disarmed",
|
|
80275
80398
|
"armed_home",
|
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-DMbVsggA.js");
|
|
28
28
|
let node_crypto = require("node:crypto");
|
|
29
29
|
require("node:zlib");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Et as nodePin, Ft as string, I as deviceExportCapability, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, zt as EventCategory } from "../dist-
|
|
1
|
+
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Et as nodePin, Ft as string, I as deviceExportCapability, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, zt as EventCategory } from "../dist-BQjwQmdj.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
import "node:zlib";
|
|
4
4
|
import "node:fs";
|