github MrBartusek/MeteoalarmCard v2.9.0

4 hours ago

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

visual-editor

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_swiper turned 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

Home Assistant dev instance with example cards for each integration

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

Full Changelog: v2.8.0...v2.9.0

Don't miss a new MeteoalarmCard release

NewReleases is sending notifications on new releases.