Releases: sxdjt/ha-multi-status-indicator-card
Releases · sxdjt/ha-multi-status-indicator-card
Release list
v2.4.0
v2.3.1
v2.3 - Add Visual Editor
Full GUI configuration without YAML
- Card Settings panel: title, columns, icon size, font size, colors, show last changed toggle
- Entities panel: add/remove entities with expansion panels for each
- Per-entity customization: entity picker, custom name, icon on/off, color on/off overrides
v2.2 - Performance Optimization
What's Changed
Performance Improvements 🚀
- Optimized render updates: Card now only re-renders when configured entities actually change state, not on every Home Assistant state update
- Change detection: Added
_hasEntitiesChanged()method to intelligently compare entity states between updates - Dramatic performance improvement: Eliminates unnecessary re-renders in systems with many entities updating frequently
Fixed
- Performance issue where card re-rendered on every HA state update (#1)
Credits
- Thanks to @andyp05 for reporting this issue and providing the initial optimized implementation approach
Full Changelog: v2.1...v2.2
v2.1.0 - Accessibility & Per-Item Overrides
What's New in v2.1.0
Added
- Per-item
show_last_changedoverride: Individual items can now override the globalshow_last_changedsetting - Full accessibility support:
- Keyboard navigation with Tab, Enter, and Space keys
- ARIA labels and roles for screen readers
- Focus indicators with visible outline
- Long-press support: Hold any item for 500ms to open the more-info dialog
- Unavailable state handling: Entities that are unavailable or unknown now display a grayed-out alert icon instead of being hidden
- Error notifications: Failed service calls now show toast notifications with error details
Changed
- Event handling: Switched to event delegation pattern for better performance (single event listeners instead of per-item)
- DOM architecture: Styles and container are now created once and persisted, with only content updated on state changes
- Smart state detection: Domain-aware logic for determining "on" state (covers check position, climate ignores "off", etc.)
Fixed
- Icon alignment: Icons now properly align when mixing items with and without timestamps using visibility-based spacing
- Render thrashing: Eliminated constant DOM recreation that caused flickering
- State object access: Fixed bug where
entity_idwas incorrectly accessed from state object
Performance
- Reduced re-renders through better component lifecycle management
- Event delegation eliminates need to re-attach listeners on every render
- Persistent style elements prevent CSS re-parsing
See CHANGELOG.md for complete version history.
Initial release
Multi Status Indicator Card v0.1
A compact, configurable Home Assistant custom card that displays multiple on/off entity states as labeled icons in a flexible grid layout. Supports optional tap-to-toggle, state-based coloring, and last-changed timestamps.
Features
- Compact layout optimized for dashboards
- Configurable number of columns
- Tap-to-toggle entities
- Custom icons for on/off states
- State-based color indicators
- Last changed time display (optional)
- Global and per-item customization
- Works great for sprinklers, lights, zones, and more
Full Changelog: https://github.com/sxdjt/multi-status-indicator-card/commits/v0.1