HOLM Energy Cards 1.4.1: safer names and colours

·

🇫🇷 Version française

UPDATE · v1.4.1

A security release, ahead of the cards joining the default HACS catalog, with a fix for Spanish, Portuguese and Polish along the way.

🔒 Security

  • In all six cards, the names of your devices, rooms and grids, whether they come from the configuration, the entity or the Energy dashboard, are escaped before being displayed. Titles, labels and icons too.
  • A name containing < or " is shown as is, without breaking the card or running code.

🎨 Validated colours

  • Every colour option (color, solar_color, grid_colors, heat_color…) accepts #1f6aa8, rgb(…) / rgba(…), hsl(…), var(--my-variable) or a colour name (red).
  • A colour in any other format is ignored: the card uses the default colour.

🐛 Fix

  • In Spanish, Portuguese and Polish, the Power view of Production & consumption showed an error and the device chart fell back to raw history. This is fixed.

📖 Installation

  • The README now starts with searching for “HOLM Energy Cards” directly in HACS; the custom repository is still available in the meantime.

Update

Update through HACS, then reload the page (Ctrl + F5).

All the details: the HOLM Energy Cards page · the release on GitHub.

💬 A question? Open an issue on GitHub.