@camstack/addon-provider-homematic 1.2.78 → 1.2.79

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
@@ -10558,12 +10558,30 @@ var BackupDestinationInfoSchema = object({
10558
10558
  lastSuccessAt: number().optional(),
10559
10559
  /** Newest-archive size from `manifests.json`, or undefined. */
10560
10560
  lastSuccessSizeBytes: number().optional(),
10561
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10561
+ /**
10562
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10563
+ * destination, comma-joined. Absent when no enabled schedule targets it
10564
+ * — a destination nothing is scheduled to write to must not advertise a
10565
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10566
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10567
+ * and reading it made a destination with a DISABLED schedule claim a
10568
+ * nightly run.
10569
+ */
10562
10570
  cron: string().optional(),
10563
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10571
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10564
10572
  nextRunAt: number().optional(),
10565
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10566
- lastRunAt: number().optional()
10573
+ /**
10574
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10575
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10576
+ * newest archive that actually landed) and `lastError`.
10577
+ */
10578
+ lastAttemptAt: number().optional(),
10579
+ /**
10580
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10581
+ * landed the archive. A destination that has never been written to has
10582
+ * neither this nor `lastAttemptAt`.
10583
+ */
10584
+ lastError: string().optional()
10567
10585
  });
10568
10586
  /**
10569
10587
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10726,8 +10744,16 @@ var BackupScheduleSchema = object({
10726
10744
  retentionCount: number().int().min(1).max(1e3),
10727
10745
  /** Optional subset of source locations to include; omitted = all. */
10728
10746
  dataSources: array(string()).readonly().optional(),
10729
- /** ms-epoch of last successful run. */
10730
- lastRunAt: number().optional(),
10747
+ /**
10748
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10749
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10750
+ * "succeeded" — a run refused by every destination stamps it too.
10751
+ */
10752
+ lastAttemptAt: number().optional(),
10753
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10754
+ lastSuccessAt: number().optional(),
10755
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10756
+ lastError: string().optional(),
10731
10757
  /** ms-epoch of next computed firing (read-only, filled on list). */
10732
10758
  nextRunAt: number().optional()
10733
10759
  });
@@ -10776,14 +10802,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10776
10802
  locationId: string(),
10777
10803
  enabled: boolean(),
10778
10804
  retentionCount: number().int().min(1).max(1e3),
10779
- label: string().optional(),
10780
- /**
10781
- * Per-destination cron expression. Empty string clears the
10782
- * schedule (manual-only). Validated server-side via croner;
10783
- * malformed expressions reject the upsert with an actionable
10784
- * message.
10785
- */
10786
- cron: string().optional()
10805
+ label: string().optional()
10787
10806
  }), _void(), {
10788
10807
  kind: "mutation",
10789
10808
  auth: "admin"
package/dist/addon.mjs CHANGED
@@ -10559,12 +10559,30 @@ var BackupDestinationInfoSchema = object({
10559
10559
  lastSuccessAt: number().optional(),
10560
10560
  /** Newest-archive size from `manifests.json`, or undefined. */
10561
10561
  lastSuccessSizeBytes: number().optional(),
10562
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10562
+ /**
10563
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10564
+ * destination, comma-joined. Absent when no enabled schedule targets it
10565
+ * — a destination nothing is scheduled to write to must not advertise a
10566
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10567
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10568
+ * and reading it made a destination with a DISABLED schedule claim a
10569
+ * nightly run.
10570
+ */
10563
10571
  cron: string().optional(),
10564
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10572
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10565
10573
  nextRunAt: number().optional(),
10566
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10567
- lastRunAt: number().optional()
10574
+ /**
10575
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10576
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10577
+ * newest archive that actually landed) and `lastError`.
10578
+ */
10579
+ lastAttemptAt: number().optional(),
10580
+ /**
10581
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10582
+ * landed the archive. A destination that has never been written to has
10583
+ * neither this nor `lastAttemptAt`.
10584
+ */
10585
+ lastError: string().optional()
10568
10586
  });
10569
10587
  /**
10570
10588
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10727,8 +10745,16 @@ var BackupScheduleSchema = object({
10727
10745
  retentionCount: number().int().min(1).max(1e3),
10728
10746
  /** Optional subset of source locations to include; omitted = all. */
10729
10747
  dataSources: array(string()).readonly().optional(),
10730
- /** ms-epoch of last successful run. */
10731
- lastRunAt: number().optional(),
10748
+ /**
10749
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10750
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10751
+ * "succeeded" — a run refused by every destination stamps it too.
10752
+ */
10753
+ lastAttemptAt: number().optional(),
10754
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10755
+ lastSuccessAt: number().optional(),
10756
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10757
+ lastError: string().optional(),
10732
10758
  /** ms-epoch of next computed firing (read-only, filled on list). */
10733
10759
  nextRunAt: number().optional()
10734
10760
  });
@@ -10777,14 +10803,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10777
10803
  locationId: string(),
10778
10804
  enabled: boolean(),
10779
10805
  retentionCount: number().int().min(1).max(1e3),
10780
- label: string().optional(),
10781
- /**
10782
- * Per-destination cron expression. Empty string clears the
10783
- * schedule (manual-only). Validated server-side via croner;
10784
- * malformed expressions reject the upsert with an actionable
10785
- * message.
10786
- */
10787
- cron: string().optional()
10806
+ label: string().optional()
10788
10807
  }), _void(), {
10789
10808
  kind: "mutation",
10790
10809
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.78",
3
+ "version": "1.2.79",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",