Skip to content

Releases: sxdjt/ha-heatmap-continued

2026.7.8-beta.2

2026.7.8-beta.2 Pre-release
Pre-release

Choose a tag to compare

@sxdjt sxdjt released this 08 Jul 07:09

Fixed

  • Multi-entity: combining entities from different state_class families (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

Choose a tag to compare

@sxdjt sxdjt released this 07 Jul 07:16

Pre-release for testing multi-entity (net energy) support. Not a final release.

Added

  • Multi-entity support (hourly mode): optional secondary_entity + operation (difference or sum) 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 energy diverging 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 with difference.

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

Choose a tag to compare

@sxdjt sxdjt released this 04 Jun 20:16

[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_class attribute (confirming the recorder tracks its history, which the heatmap requires to be meaningful).

v1.1.2

Choose a tag to compare

@sxdjt sxdjt released this 14 May 15:09

Fixed

  • Legend tick marks were misaligned with the gradient bar due to a stray left: -10px offset on the tick container.

v1.1.1

Choose a tag to compare

@sxdjt sxdjt released this 13 May 21:28

Fixed

  • Replace deprecated ha-textfield with ha-selector in visual editor for compatibility with HA 2026.5.1+. Affected: range min/max inputs, card title, days/weeks, and legend decimals fields.

v1.1.0

Choose a tag to compare

@sxdjt sxdjt released this 22 Apr 03:36

What's new

Added

  • Daily heatmap mode (mode: daily) - view one cell per calendar day instead of per hour
    • weeks controls how many weeks of history to show (default: 12)
    • aggregate selects the daily statistic: mean (default), min, or max
    • 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-item to ha-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

v1.1.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@sxdjt sxdjt released this 22 Apr 02:34

What's Changed

  • Daily heatmap mode: set mode: daily to view day-level aggregates instead of hourly data
    • weeks option controls how many weeks of history to show (default: 12)
    • aggregate option selects the daily statistic: mean (default), min, or max
    • 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

Choose a tag to compare

@sxdjt sxdjt released this 31 Mar 07:24

[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@v1 to @v2 to resolve Node.js 20 deprecation warning in GitHub Actions

v1.0.1

Choose a tag to compare

@sxdjt sxdjt released this 31 Mar 06:58

What's Changed

Fixed

  • Color scale picker broken in recent Home Assistant versions after HA migrated from MWC to MD3 components; replaced ha-select with ha-selector

Changed

  • License changed to MIT
  • README clarity improvements
  • hacs.json: added render_readme: true so HACS displays the README

v1.0.0

Choose a tag to compare

@sxdjt sxdjt released this 04 Mar 06:28

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.decimals config 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.js with no build step required
  • Replaced broken mwc-tab-bar scale picker UI with a flat ha-select dropdown showing all built-in scales with gradient previews
  • Replaced ha-combo-box elements with ha-select throughout 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_from were coercing to 0 in Math.min/Math.max, skewing auto-scaled range for sensors with data gaps