Repository navigation
Releases
v0.9.0
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
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
< 0precedes≤ 0and> 25follows≥ 25. - Bugfixes.
v0.8.1
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
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_classrow option to forcetotalortotal_increasingwhere 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_classoverride 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_increasingentity 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_meanandmean_typefrom 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
suminstead of the day's delta.
Day cells now use HA'schange, which is computed against the last row even when it lies before the fetch window.
v0.7.0
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 builtcalendar-stats-card.js, and HACS installs and updates the card from there. - MIT license.