Skip to content

Releases: MacSiem/ha-energy-optimizer

v3.4.6 — Chart.js local-first (privacy/offline)

Choose a tag to compare

@MacSiem MacSiem released this 28 Jun 16:46

Privacy/offline: both chart loaders now prefer the locally-vendored Chart.js and fall back to the CDN only if the local copy is absent (previously the main loader always used the CDN). Consistent with the rest of the HA Tools suite; no chart breakage if the local copy is missing.

v3.4.5 — fix dark-theme title contrast

Choose a tag to compare

@MacSiem MacSiem released this 28 Jun 14:36

Fix: in dark themes the card title and header text rendered dark-on-dark. The main card stylesheet lacked a :host(.bento-dark) token override (it existed only in the bundled panel/insights styles). Added the dark token mapping so --bento-text and related tokens follow the active HA theme.

v3.4.4 — fix invisible summary tiles + English demo badge

Choose a tag to compare

@MacSiem MacSiem released this 27 Jun 09:43

Fixes #1 (Screenshot does not show card).

  • Fix: dashboard summary tiles + power-draw banner used an invalid CSS gradient (var(--primary)cc) that resolved to no background, so tiles rendered as white text on transparent and looked blank. Replaced with color-mix().
  • Fix: data-source badge was hardcoded Polish; now English.
  • Docs: refreshed README screenshot showing the fully rendered card.

ha-energy-optimizer v3.4.3

Choose a tag to compare

@MacSiem MacSiem released this 15 Jun 05:42

HA-theme-driven dark/light: cards follow the active Home Assistant theme (luminance of --card-background-color in set hass -> :host(.bento-dark)) instead of OS prefers-color-scheme. Fixes hardcoded dark cosmetics on explicit dark themes where hass.themes.darkMode is false.

ha-energy-optimizer v3.4.2

Choose a tag to compare

@MacSiem MacSiem released this 15 Jun 05:09

HA-theme-driven dark/light: cards follow the active Home Assistant theme (luminance of --card-background-color in set hass -> :host(.bento-dark)) instead of OS prefers-color-scheme. Fixes hardcoded dark cosmetics on explicit dark themes where hass.themes.darkMode is false.

ha-energy-optimizer v3.4.1

Choose a tag to compare

@MacSiem MacSiem released this 14 Jun 22:51

HA-theme-driven dark/light: cards follow the active Home Assistant theme (luminance of --card-background-color in set hass -> :host(.bento-dark)) instead of OS prefers-color-scheme. Fixes hardcoded dark cosmetics on explicit dark themes where hass.themes.darkMode is false.

v3.4.0 — energy-email on HA Tools Email v2 WS API

Choose a tag to compare

@MacSiem MacSiem released this 13 Jun 08:00

Added

  • ha-energy-email now progressively uses the HA Tools Email v2.0.0 websocket API for SMTP status, server-side energy_report schedules, and backend send_now.

Changed

  • Legacy service/manual send, input_text recipient discovery, and localStorage schedule fallback remain available when the websocket backend is unavailable.

v3.3.0

Choose a tag to compare

@MacSiem MacSiem released this 12 Jun 14:14

One repo now ships three cards: ha-energy-optimizer, ha-energy-insights (24h/7d/30d breakdowns, top consumers), ha-energy-email (e-mail reports; manual send needs the optional ha-tools-email-integration backend). All cards are panel/sidebar-safe with render-error panels.

v3.2.2

Choose a tag to compare

@MacSiem MacSiem released this 12 Jun 12:54

Panel/sidebar mode: initialize data structures in constructor (no setConfig needed), render errors are shown in the UI instead of a blank panel.

v3.2.1

Choose a tag to compare

@MacSiem MacSiem released this 12 Jun 12:49

Fix: TypeError (reduce of empty array) crashing the card in panel/sidebar mode when no energy data is available yet.