@camstack/addon-provider-velux 0.2.139 → 0.2.141
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 +125 -2
- package/dist/addon.mjs +125 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
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
|
|
@@ -5414,7 +5422,7 @@ var ZodIssueCode = {
|
|
|
5414
5422
|
var ZodFirstPartyTypeKind;
|
|
5415
5423
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5424
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5425
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
5418
5426
|
/**
|
|
5419
5427
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5428
|
* window to float samples (D455).
|
|
@@ -42502,6 +42510,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42502
42510
|
"alert-critical",
|
|
42503
42511
|
"alert-error",
|
|
42504
42512
|
"alert-critical-resolved",
|
|
42513
|
+
"rule-broken",
|
|
42514
|
+
"rule-repaired",
|
|
42505
42515
|
"camera-online",
|
|
42506
42516
|
"camera-offline",
|
|
42507
42517
|
"camera-disabled",
|
|
@@ -78778,6 +78788,8 @@ new Map(Object.entries({
|
|
|
78778
78788
|
"alert-critical": "system",
|
|
78779
78789
|
"alert-error": "system",
|
|
78780
78790
|
"alert-critical-resolved": "system",
|
|
78791
|
+
"rule-broken": "system",
|
|
78792
|
+
"rule-repaired": "system",
|
|
78781
78793
|
"storage-location-low": "system",
|
|
78782
78794
|
"storage-location-critical": "system",
|
|
78783
78795
|
"storage-location-ok": "system",
|
|
@@ -78912,6 +78924,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
78912
78924
|
"alert-critical-resolved"
|
|
78913
78925
|
]
|
|
78914
78926
|
},
|
|
78927
|
+
{
|
|
78928
|
+
id: "rule-health",
|
|
78929
|
+
family: "system",
|
|
78930
|
+
label: "Notification rules",
|
|
78931
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
78932
|
+
},
|
|
78915
78933
|
{
|
|
78916
78934
|
id: "alarm",
|
|
78917
78935
|
family: "alarm",
|
|
@@ -79189,6 +79207,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
79189
79207
|
[...RULE_TEXT],
|
|
79190
79208
|
[...RULE_TEXT],
|
|
79191
79209
|
[...RULE_TEXT],
|
|
79210
|
+
[...RULE_TEXT],
|
|
79211
|
+
[...RULE_TEXT],
|
|
79212
|
+
[...RULE_TEXT],
|
|
79213
|
+
[...RULE_TEXT],
|
|
79192
79214
|
([...RULE_TEXT], [...UPDATES]),
|
|
79193
79215
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
79194
79216
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -79227,6 +79249,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
79227
79249
|
[...RULE_TEXT],
|
|
79228
79250
|
...STATE_SUMMARY_VARS
|
|
79229
79251
|
];
|
|
79252
|
+
new Map([
|
|
79253
|
+
{
|
|
79254
|
+
id: "device-connectivity",
|
|
79255
|
+
family: "device-events",
|
|
79256
|
+
label: "Device connectivity (offline / back online)",
|
|
79257
|
+
bad: ["device-offline"],
|
|
79258
|
+
recovery: ["device-online"],
|
|
79259
|
+
snapshotLabel: "Devices offline now",
|
|
79260
|
+
snapshotSection: "device-state"
|
|
79261
|
+
},
|
|
79262
|
+
{
|
|
79263
|
+
id: "device-switch",
|
|
79264
|
+
family: "device-events",
|
|
79265
|
+
label: "Device switched off / back on",
|
|
79266
|
+
bad: ["device-disabled"],
|
|
79267
|
+
recovery: ["device-enabled"],
|
|
79268
|
+
snapshotLabel: "Devices switched off now",
|
|
79269
|
+
snapshotSection: "device-state"
|
|
79270
|
+
},
|
|
79271
|
+
{
|
|
79272
|
+
id: "stream-connectivity",
|
|
79273
|
+
family: "device-events",
|
|
79274
|
+
label: "Stream connectivity (offline / back online)",
|
|
79275
|
+
bad: ["stream-offline"],
|
|
79276
|
+
recovery: ["stream-online"],
|
|
79277
|
+
snapshotLabel: "Streams offline now",
|
|
79278
|
+
snapshotSection: "streams"
|
|
79279
|
+
},
|
|
79280
|
+
{
|
|
79281
|
+
id: "battery",
|
|
79282
|
+
family: "device-events",
|
|
79283
|
+
label: "Battery (low / back to normal)",
|
|
79284
|
+
bad: ["device-battery-low"],
|
|
79285
|
+
recovery: ["device-battery-normal"],
|
|
79286
|
+
snapshotLabel: "Batteries low now",
|
|
79287
|
+
snapshotSection: "battery"
|
|
79288
|
+
},
|
|
79289
|
+
{
|
|
79290
|
+
id: "consumables",
|
|
79291
|
+
family: "device-events",
|
|
79292
|
+
label: "Consumables (low / replaced)",
|
|
79293
|
+
bad: ["device-consumable-low"],
|
|
79294
|
+
recovery: ["device-consumable-normal"],
|
|
79295
|
+
snapshotLabel: "Consumables low now",
|
|
79296
|
+
snapshotSection: "consumables"
|
|
79297
|
+
},
|
|
79298
|
+
{
|
|
79299
|
+
id: "tanks",
|
|
79300
|
+
family: "device-events",
|
|
79301
|
+
label: "Tanks (low or full / back to normal)",
|
|
79302
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
79303
|
+
recovery: ["device-tank-normal"],
|
|
79304
|
+
snapshotLabel: "Tanks low or full now",
|
|
79305
|
+
snapshotSection: "tanks"
|
|
79306
|
+
},
|
|
79307
|
+
{
|
|
79308
|
+
id: "recording-health",
|
|
79309
|
+
family: "device-events",
|
|
79310
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
79311
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
79312
|
+
recovery: ["recording-healthy"],
|
|
79313
|
+
snapshotLabel: "Recordings stalled now",
|
|
79314
|
+
snapshotSection: null
|
|
79315
|
+
},
|
|
79316
|
+
{
|
|
79317
|
+
id: "node-connectivity",
|
|
79318
|
+
family: "system",
|
|
79319
|
+
label: "Node connectivity (offline / back online)",
|
|
79320
|
+
bad: ["node-offline"],
|
|
79321
|
+
recovery: ["node-online"],
|
|
79322
|
+
snapshotLabel: "Nodes offline now",
|
|
79323
|
+
snapshotSection: "nodes"
|
|
79324
|
+
},
|
|
79325
|
+
{
|
|
79326
|
+
id: "storage-space",
|
|
79327
|
+
family: "system",
|
|
79328
|
+
label: "Storage space (low or critical / ok again)",
|
|
79329
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
79330
|
+
recovery: ["storage-location-ok"],
|
|
79331
|
+
snapshotLabel: "Storage locations low now",
|
|
79332
|
+
snapshotSection: null
|
|
79333
|
+
},
|
|
79334
|
+
{
|
|
79335
|
+
id: "critical-alerts",
|
|
79336
|
+
family: "system",
|
|
79337
|
+
label: "Critical alerts (raised / resolved)",
|
|
79338
|
+
bad: ["alert-critical"],
|
|
79339
|
+
recovery: ["alert-critical-resolved"],
|
|
79340
|
+
snapshotLabel: "Critical alerts open now",
|
|
79341
|
+
snapshotSection: null
|
|
79342
|
+
},
|
|
79343
|
+
{
|
|
79344
|
+
id: "rule-health",
|
|
79345
|
+
family: "system",
|
|
79346
|
+
label: "Rule health (broken / repaired)",
|
|
79347
|
+
bad: ["rule-broken"],
|
|
79348
|
+
recovery: ["rule-repaired"],
|
|
79349
|
+
snapshotLabel: "Notification rules broken now",
|
|
79350
|
+
snapshotSection: null
|
|
79351
|
+
}
|
|
79352
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
79230
79353
|
new Set([
|
|
79231
79354
|
"disarmed",
|
|
79232
79355
|
"armed_home",
|
package/dist/addon.mjs
CHANGED
|
@@ -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
|
|
@@ -5413,7 +5421,7 @@ var ZodIssueCode = {
|
|
|
5413
5421
|
var ZodFirstPartyTypeKind;
|
|
5414
5422
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5423
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5424
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
5417
5425
|
/**
|
|
5418
5426
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5427
|
* window to float samples (D455).
|
|
@@ -42501,6 +42509,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42501
42509
|
"alert-critical",
|
|
42502
42510
|
"alert-error",
|
|
42503
42511
|
"alert-critical-resolved",
|
|
42512
|
+
"rule-broken",
|
|
42513
|
+
"rule-repaired",
|
|
42504
42514
|
"camera-online",
|
|
42505
42515
|
"camera-offline",
|
|
42506
42516
|
"camera-disabled",
|
|
@@ -78777,6 +78787,8 @@ new Map(Object.entries({
|
|
|
78777
78787
|
"alert-critical": "system",
|
|
78778
78788
|
"alert-error": "system",
|
|
78779
78789
|
"alert-critical-resolved": "system",
|
|
78790
|
+
"rule-broken": "system",
|
|
78791
|
+
"rule-repaired": "system",
|
|
78780
78792
|
"storage-location-low": "system",
|
|
78781
78793
|
"storage-location-critical": "system",
|
|
78782
78794
|
"storage-location-ok": "system",
|
|
@@ -78911,6 +78923,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
78911
78923
|
"alert-critical-resolved"
|
|
78912
78924
|
]
|
|
78913
78925
|
},
|
|
78926
|
+
{
|
|
78927
|
+
id: "rule-health",
|
|
78928
|
+
family: "system",
|
|
78929
|
+
label: "Notification rules",
|
|
78930
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
78931
|
+
},
|
|
78914
78932
|
{
|
|
78915
78933
|
id: "alarm",
|
|
78916
78934
|
family: "alarm",
|
|
@@ -79188,6 +79206,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
79188
79206
|
[...RULE_TEXT],
|
|
79189
79207
|
[...RULE_TEXT],
|
|
79190
79208
|
[...RULE_TEXT],
|
|
79209
|
+
[...RULE_TEXT],
|
|
79210
|
+
[...RULE_TEXT],
|
|
79211
|
+
[...RULE_TEXT],
|
|
79212
|
+
[...RULE_TEXT],
|
|
79191
79213
|
([...RULE_TEXT], [...UPDATES]),
|
|
79192
79214
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
79193
79215
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -79226,6 +79248,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
79226
79248
|
[...RULE_TEXT],
|
|
79227
79249
|
...STATE_SUMMARY_VARS
|
|
79228
79250
|
];
|
|
79251
|
+
new Map([
|
|
79252
|
+
{
|
|
79253
|
+
id: "device-connectivity",
|
|
79254
|
+
family: "device-events",
|
|
79255
|
+
label: "Device connectivity (offline / back online)",
|
|
79256
|
+
bad: ["device-offline"],
|
|
79257
|
+
recovery: ["device-online"],
|
|
79258
|
+
snapshotLabel: "Devices offline now",
|
|
79259
|
+
snapshotSection: "device-state"
|
|
79260
|
+
},
|
|
79261
|
+
{
|
|
79262
|
+
id: "device-switch",
|
|
79263
|
+
family: "device-events",
|
|
79264
|
+
label: "Device switched off / back on",
|
|
79265
|
+
bad: ["device-disabled"],
|
|
79266
|
+
recovery: ["device-enabled"],
|
|
79267
|
+
snapshotLabel: "Devices switched off now",
|
|
79268
|
+
snapshotSection: "device-state"
|
|
79269
|
+
},
|
|
79270
|
+
{
|
|
79271
|
+
id: "stream-connectivity",
|
|
79272
|
+
family: "device-events",
|
|
79273
|
+
label: "Stream connectivity (offline / back online)",
|
|
79274
|
+
bad: ["stream-offline"],
|
|
79275
|
+
recovery: ["stream-online"],
|
|
79276
|
+
snapshotLabel: "Streams offline now",
|
|
79277
|
+
snapshotSection: "streams"
|
|
79278
|
+
},
|
|
79279
|
+
{
|
|
79280
|
+
id: "battery",
|
|
79281
|
+
family: "device-events",
|
|
79282
|
+
label: "Battery (low / back to normal)",
|
|
79283
|
+
bad: ["device-battery-low"],
|
|
79284
|
+
recovery: ["device-battery-normal"],
|
|
79285
|
+
snapshotLabel: "Batteries low now",
|
|
79286
|
+
snapshotSection: "battery"
|
|
79287
|
+
},
|
|
79288
|
+
{
|
|
79289
|
+
id: "consumables",
|
|
79290
|
+
family: "device-events",
|
|
79291
|
+
label: "Consumables (low / replaced)",
|
|
79292
|
+
bad: ["device-consumable-low"],
|
|
79293
|
+
recovery: ["device-consumable-normal"],
|
|
79294
|
+
snapshotLabel: "Consumables low now",
|
|
79295
|
+
snapshotSection: "consumables"
|
|
79296
|
+
},
|
|
79297
|
+
{
|
|
79298
|
+
id: "tanks",
|
|
79299
|
+
family: "device-events",
|
|
79300
|
+
label: "Tanks (low or full / back to normal)",
|
|
79301
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
79302
|
+
recovery: ["device-tank-normal"],
|
|
79303
|
+
snapshotLabel: "Tanks low or full now",
|
|
79304
|
+
snapshotSection: "tanks"
|
|
79305
|
+
},
|
|
79306
|
+
{
|
|
79307
|
+
id: "recording-health",
|
|
79308
|
+
family: "device-events",
|
|
79309
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
79310
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
79311
|
+
recovery: ["recording-healthy"],
|
|
79312
|
+
snapshotLabel: "Recordings stalled now",
|
|
79313
|
+
snapshotSection: null
|
|
79314
|
+
},
|
|
79315
|
+
{
|
|
79316
|
+
id: "node-connectivity",
|
|
79317
|
+
family: "system",
|
|
79318
|
+
label: "Node connectivity (offline / back online)",
|
|
79319
|
+
bad: ["node-offline"],
|
|
79320
|
+
recovery: ["node-online"],
|
|
79321
|
+
snapshotLabel: "Nodes offline now",
|
|
79322
|
+
snapshotSection: "nodes"
|
|
79323
|
+
},
|
|
79324
|
+
{
|
|
79325
|
+
id: "storage-space",
|
|
79326
|
+
family: "system",
|
|
79327
|
+
label: "Storage space (low or critical / ok again)",
|
|
79328
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
79329
|
+
recovery: ["storage-location-ok"],
|
|
79330
|
+
snapshotLabel: "Storage locations low now",
|
|
79331
|
+
snapshotSection: null
|
|
79332
|
+
},
|
|
79333
|
+
{
|
|
79334
|
+
id: "critical-alerts",
|
|
79335
|
+
family: "system",
|
|
79336
|
+
label: "Critical alerts (raised / resolved)",
|
|
79337
|
+
bad: ["alert-critical"],
|
|
79338
|
+
recovery: ["alert-critical-resolved"],
|
|
79339
|
+
snapshotLabel: "Critical alerts open now",
|
|
79340
|
+
snapshotSection: null
|
|
79341
|
+
},
|
|
79342
|
+
{
|
|
79343
|
+
id: "rule-health",
|
|
79344
|
+
family: "system",
|
|
79345
|
+
label: "Rule health (broken / repaired)",
|
|
79346
|
+
bad: ["rule-broken"],
|
|
79347
|
+
recovery: ["rule-repaired"],
|
|
79348
|
+
snapshotLabel: "Notification rules broken now",
|
|
79349
|
+
snapshotSection: null
|
|
79350
|
+
}
|
|
79351
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
79229
79352
|
new Set([
|
|
79230
79353
|
"disarmed",
|
|
79231
79354
|
"armed_home",
|
package/package.json
CHANGED