Releases: sxdjt/ha-heatmap-continued
Releases · sxdjt/ha-heatmap-continued
Release list
2026.7.8-beta.2
Fixed
- Multi-entity: combining entities from different
state_classfamilies (measurement vs total/total_increasing) silently rendered zeros or NaN. The card now shows an error message and the visual editor warns on incompatible pairings. - Editor: switching to daily mode while a secondary entity was configured produced an unrecoverable error card. The switch now clears the multi-entity options (combination is hourly-only).
Full details in CHANGELOG.md.
v2026.7.7-beta.1 (pre-release)
Pre-release for testing multi-entity (net energy) support. Not a final release.
Added
- Multi-entity support (hourly mode): optional
secondary_entity+operation(differenceorsum) renders the per-hour combination of two entities. Enables net-energy heatmaps such as grid import minus export without a template sensor. Entities are aligned by calendar day and hour; energy (total/total_increasing) gaps count as 0, measurement gaps yield no value. net energydiverging scale (blue-white-red) for signed results. With auto range, a difference centers zero on white by widening the range symmetrically. The visual editor suggests this scale automatically when a secondary entity is combined withdifference.
Testing
Deploy heatmap-card.js to /config/www/, hard-refresh, and confirm the console shows HEATMAP-CARD 2026.7.7-beta.1. Configure entity + secondary_entity + operation: difference + scale: net energy on your import/export sensors.
v1.2.0
[1.2.0] - 2026-06-04
Added
- Card suggestion support for HA 2026.6+: the card now appears in the "Community" section of the card picker when the user selects a sensor with a
state_classattribute (confirming the recorder tracks its history, which the heatmap requires to be meaningful).
v1.1.2
v1.1.1
v1.1.0
What's new
Added
- Daily heatmap mode (
mode: daily) - view one cell per calendar day instead of per hourweekscontrols how many weeks of history to show (default: 12)aggregateselects the daily statistic:mean(default),min, ormax- Rows are weeks (Mon-Sun) with locale-aware day labels; tooltip shows the exact date
- Visual editor exposes all three new options
- Thanks to @spikeygg for the suggestion
Fixed
- First-date data loss - the oldest day of fetched history was always silently dropped due to a null guard on row creation in both hourly data processors
- Device class picker broken in recent HA - migrated from deprecated
ha-select+mwc-list-itemtoha-selector, matching the same fix applied to the scale picker in v1.0.1 - Legend rendering - a stray double-quote in a tick element's inline style produced a malformed DOM node
- Tick label positioning - CSS typo (
position: relative:) caused the rule to be dropped - Editor dot-notation keys -
key.indexOf('.')always evaluated truthy, causing all simple config keys to be incorrectly treated as nested paths
Changed
- Visual editor: title field moved to the top; legend toggle added to Card elements section
- License simplified to MIT only
v1.1.0-beta.1
What's Changed
- Daily heatmap mode: set
mode: dailyto view day-level aggregates instead of hourly dataweeksoption controls how many weeks of history to show (default: 12)aggregateoption selects the daily statistic:mean(default),min, ormax- Rows represent weeks (Monday-Sunday); columns are days of the week with locale-aware labels
- Tooltip shows the exact calendar date for each cell
- Visual editor exposes mode, weeks, and aggregate controls
- Thanks to @spikeygg for the feature suggestion
v1.0.2
[1.0.2] - 2026-03-31
Fixed
- Console banner was displaying v1.0.0 instead of the correct version (omitted from v1.0.1 release)
- Updated release workflow action from
softprops/action-gh-release@v1to@v2to resolve Node.js 20 deprecation warning in GitHub Actions
v1.0.1
What's Changed
Fixed
- Color scale picker broken in recent Home Assistant versions after HA migrated from MWC to MD3 components; replaced
ha-selectwithha-selector
Changed
- License changed to MIT
- README clarity improvements
hacs.json: addedrender_readme: trueso HACS displays the README
v1.0.0
First release as Heatmap Card Continued.
Thanks to @kandsten for the original card and for graciously allowing this continuation.
Added
- Custom threshold editor in the visual editor - build color scales without editing YAML
- Configurable legend decimal places via
display.decimalsconfig option - Fahrenheit temperature color scales for all four built-in temperature scales
Changed
- Removed esbuild build system; all source modules merged into a single deployable
heatmap-card.jswith no build step required - Replaced broken
mwc-tab-barscale picker UI with a flatha-selectdropdown showing all built-in scales with gradient previews - Replaced
ha-combo-boxelements withha-selectthroughout the editor for reliable rendering in current HA versions - Inlined chroma.js, scale data, and device class mappings directly into the card file
Fixed
- Null values in
min_from/max_fromwere coercing to 0 inMath.min/Math.max, skewing auto-scaled range for sensors with data gaps