Hey! This release mainly upgrades our development workflow and dependencies, and fixes a few things that had been broken for a long time. We've swapped our build tool from the old rollup v2 for the new and shiny vite v8, and upgraded various dependencies including Node.js. Your configuration doesn't need any changes, but with this much moving underneath, this release may have broken something. If you run into anything, please don't hesitate to create an issue!
Visual editor has been fixed
The visual editor has been broken for a long time, and it finally works again. It has been rebuilt on Home Assistant's own form components, so it now looks and behaves like the editors of built-in cards and follows your theme.
Rebuilding the editor also let us drop a lot of code the card was carrying only for the old one. The card is now less than half the size it used to be, down from 491 kB to 194 kB.
Other fixes
- Environment Canada air quality warnings now show up on the card. Until now they were not recognized and were silently skipped. (#334)
- With
disable_swiperturned on, the card was showing every warning except the most severe one. It now shows the most severe warning, which is the whole point of the option. (#328)
For developers
We've added some improvements to the developer experience. Developing the card is much easier now.
pnpm run dev(#331) spins up a disposable Home Assistant in Docker, pre-seeded with the integrations and a dashboard full of example cards. You no longer need to work on your live Home Assistant instance.- Integrations are now covered by vitest (#332). These run on fixtures built from real entity state attributes. We'll be expanding this fixture set as we find new bugs and edge cases in integration code.
- The dev environment also ships a Home Assistant MCP server, so your AI agent can easily poke around the dev instance.
What's Changed
- Fix visual editor (Rewrite to
ha-form) by @MrBartusek in #321 - Fix
disable_swiperhiding the most severe alert by @MrBartusek in #328 - Migrate to vite v8 by @MrBartusek in #329
- Update
home-assistant-js-websocketto v9 by @MrBartusek in #330 - Add Home Assistant development environment by @MrBartusek in #331
- Add vitest tests for integrations by @MrBartusek in #332
- Map Environment Canada air quality warnings by @MrBartusek in #334
- Node 24 by @MrBartusek in #335
- Bump dependencies by @MrBartusek in #336
- Migrate to ESLint 10 flat config by @MrBartusek in #337
Full Changelog: v2.8.0...v2.9.0