Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 12:45
2dd3ada

Performance

  • Translations load on demand: in the release zip, the frontend files keep English only (reverse-proxy-card.js 108 KB → 76 KB) and each other language is its own <file>.i18n.<lang>.js file next to them, fetched the first time a card or the panel needs it. Home Assistant loads the card on every dashboard, so each page used to download and parse all 22 languages to use one. The cards and panel are defined once the page's language has arrived (a few milliseconds), so they render translated from the start.

Maintenance

  • The Marketplace now installs the release zip (zip_release), like the other ha-* integrations: the split files are only in it.
  • The repository keeps every language in the sources: the release runs scripts/split-frontend.mjs before building the zip, and the Validate workflow checks the split on a copy (every table is rebuilt from the split files and compared).