Skip to content

Releases

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 15:52
c388d33

Warning

Vibe-coded project. This card was developed with AI assistance (Claude Code).
Expect AI-generated code and rapid iteration. Review before relying on it in production-critical setups.

Added

  • The month comparison can now also be opened from the month view by clicking a month's name, and now also shows the range selector.

Changed

  • Bumped dependencies.

Fixed

  • Consistent page loading behaviour: the threshold days table no longer appears before the data tables have loaded.

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 13 Sep 13:35
1fab2ce

Warning

Vibe-coded project. This card was developed with AI assistance (Claude Code).
Expect AI-generated code and rapid iteration. Review before relying on it in production-critical setups.

Changed

  • Performance improvements.

Fixed

  • Threshold days table: two rules on the same value now order by their bound, so < 0 precedes ≤ 0 and > 25 follows ≥ 25.
  • Bugfixes.

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 12 Sep 19:55
da3a3bd

Warning

Vibe-coded project. This card was developed with AI assistance (Claude Code).
Expect AI-generated code and rapid iteration. Review before relying on it in production-critical setups.

Fixed

  • Yearly view: months covered only by a predecessor take their total from the predecessor's HA monthly statistics instead of staying empty.
  • The month a predecessor is replaced in sums both sources' day values instead of only the main entity's part.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 18:35

Warning

Vibe-coded project. This card was developed with AI assistance (Claude Code).
Expect AI-generated code and rapid iteration. Review before relying on it in production-critical setups.

Added

  • External long-term statistics (domain:object_id) as entity rows, predecessors and expression operands.
    Kind, unit and name come from HA's statistics metadata (recorder/get_statistics_metadata).
  • state_class row option to force total or total_increasing where the metadata cannot tell them apart.
  • The editor picks from all statistics (entities and external) for rows and predecessors, and flags IDs without long-term statistics.

Changed

  • Editor: threshold rules and predecessor entries use HA form selectors (dropdown operator, date picker, statistic picker) inside outlined expansion panels.
  • Editor: row options are grouped into Display, Thresholds and Predecessors panels; fields carry helper text; toggles are switches.
  • Editor: the entity row only offers the visibility switches and the state_class override that apply to its kind.
  • Editor: an always-visible statistic picker under the row list adds entity rows; the card option sits above the list.
  • Editor: threshold panel headers name each period (> day 5 · month 100).
  • Rows whose ID has no long-term statistics show the ⚠ label prefix and empty cells, as documented.

Fixed

  • Editor: clearing an inline row picker removes the row instead of being ignored.
  • Editor: an unknown statistic ID in a formula warns but no longer blocks saving; a stored invalid formula shows its state when the editor opens.
  • Yearly view showed empty months, and empty whole years, wherever the main entity had no HA monthly bucket, even when a predecessor supplied the daily values.
    Every month with daily values now gets a summary; the cumulative total stays empty without an HA bucket.
  • An external predecessor of a total_increasing entity was skipped as a kind mismatch.
    A predecessor without a state object now inherits the main row's cumulative kind.
  • README no longer claims the card reads has_mean and mean_type from the statistics response.
  • The first recorded day of a year in a sparse statistic (imported data with rows only on days with a value) showed the all-time cumulative sum instead of the day's delta.
    Day cells now use HA's change, which is computed against the last row even when it lies before the fetch window.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 22:14

Warning

Vibe-coded project. This card was developed with AI assistance (Claude Code).
Expect AI-generated code and rapid iteration. Review before relying on it in production-critical setups.

First public release of Calendar Stats card

Added

  • Installation through HACS as a custom repository.
    GitHub Releases now carry the built calendar-stats-card.js, and HACS installs and updates the card from there.
  • MIT license.