Skip to content

Releases: sergiocarracedo/sc-custom-cards

v1.6.0 - Area Card Variants

28 Feb 22:56

Choose a tag to compare

What's New

Area Card Variants

  • Added three size variants for the Area Card: default, compact, and mini
  • Each variant has proportional sizing for fonts, icons, gaps, padding, and border radius
  • Variants maintain readability with minimum 11px font sizes

Features

  • New ,variant property - Choose from ,default, ,compact, or ,mini
  • Proportional scaling - All elements scale appropriately with the variant
  • Visual editor support - Style and variant selectors in the card editor
  • Card editor preview - Preview heights match actual card dimensions

Improvements

  • Humidity chart Y-axis fixed to 0-100 scale
  • Chart heights adjusted per variant to prevent overflow
  • Entity summary gaps scale proportionally
  • Border radius and padding scale with variant size

Bug Fixes

  • Fixed chart overflow in compact and mini modes
  • Fixed entity summary alignment in all variants

Assets

dist/sc-custom-cards.js

v1.5.0 - Visual Configuration Editors

28 Feb 09:27

Choose a tag to compare

🎉 Major Release: Visual Configuration Editors

This release introduces comprehensive visual configuration editors for all custom cards, making it easier than ever to configure your Home Assistant dashboards through the UI.

✨ New Features

Visual Configuration Editors

  • Drag-and-drop interface for reordering summary items in Area Card
  • Quick-add buttons for common entity types (Presence, Lights, Doors, Alarms)
  • Inline editing with expandable sections for all configuration options
  • Confirmation dialogs before deleting items to prevent accidental data loss

Internationalization (i18n)

  • Custom localization system with support for 7 languages:
    • English (en)
    • Spanish (es)
    • Galician (gl)
    • French (fr)
    • German (de)
    • Catalan (ca)
    • Basque (eu)
  • All UI labels and help text are now translatable

Area Card Improvements

  • Simplified architecture by deprecating preset fields in favor of flexible summary system
  • Automatic migration of old preset configurations to new summary format
  • Better organization with clear entity grouping

Testing & Quality

  • Comprehensive unit test suite with >89% coverage (106/118 tests passing)
  • Vitest integration for fast, modern testing
  • Mock data factories for consistent test scenarios
  • Full test documentation in TESTING.md

🐛 Bug Fixes

  • Removed invalid entity selector area filter (not supported by Home Assistant API)
  • Fixed action field labels to use proper computeLabel callbacks
  • Corrected button appearance attribute typo
  • Various UI improvements and accessibility fixes

📚 Documentation

  • Added TESTING.md with comprehensive test suite documentation
  • Added Allium specification for complete domain modeling
  • Updated README with new editor features

🔧 Technical Improvements

  • TypeScript configuration updated to include test files for better IDE support
  • ESLint configuration cleaned up for consistent code style
  • Removed unused code and imports

📦 Migration Notes

Area Card users: Your existing configurations will be automatically migrated to the new summary system. The deprecated preset fields (presence, alarm, door, light) will be converted to summaries on first load.


Full Changelog

See CHANGELOG.md for detailed commit history.

v1.4.1

11 Oct 20:17

Choose a tag to compare

1.4.1 (2025-10-11)

Bug Fixes

  • ha-toolbar in HA 2025.10.0 that know uses Webawesome (9759c6d)

v1.4.0

26 May 20:46

Choose a tag to compare

1.4.0 (2025-05-26)

Features

v1.3.0

18 May 17:54

Choose a tag to compare

1.3.0 (2025-05-18)

Features

v1.1.0

13 May 20:35

Choose a tag to compare

1.1.0 (2025-05-13)

Features

Documentation

v1.0.1

11 May 19:11

Choose a tag to compare

1.0.1 (2025-05-11)

Bug Fixes

v1.0.0

11 May 19:04

Choose a tag to compare

1.0.0 (2025-05-11)

Features