You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getLayoutOptions() for Sections Layout: The card now provides proper grid sizing hints to Home Assistant's sections layout. Horizontal layout snaps to 4 columns / 1 row, and vertical layout snaps to 2 columns / 3 rows. This prevents the card from being incorrectly sized or leaving empty space in sections-based dashboards.
getCardSize() for Masonry Layout: Added the standard getCardSize() method so the masonry layout engine can correctly estimate the card's height (1 row for horizontal, 3 rows for vertical).
Build Tooling
Rollup Bundling: Source code now lives in src/hatch-card.js. The root hatch-card.js is the built output, produced by npm run build. This matches the setup used in Simple Timer Card and Shopping List Card for a consistent development workflow across all three projects.