v3.2.0 - improved theme management and handling
Calendar Heatmap Card v3.2.0
π What's New
This release brings significant improvements to the Calendar Heatmap Card, focusing on theme handling, visual differentiation, and error resilience:
β¨ Theme-Aware Colors
- The card now automatically detects your Home Assistant theme and adjusts colors accordingly
- Improved contrast and readability in both light and dark themes
- Support for theme detection in parent elements for cards inside dashboards with different themes
π Better Visual Differentiation
- Intelligent intensity scaling for clearer visual distinction between activity durations
- Stepped approach with specific thresholds for common gaming session durations:
- Very short sessions (< 15 min)
- Short sessions (15-45 min)
- Medium sessions (45 min - 2 hours)
- Longer sessions (2-4 hours)
- High usage sessions (4-8 hours)
- Very high usage sessions (8+ hours)
π‘οΈ Enhanced Error Handling
- Fixed "Invalid time value" errors when processing history data
- Improved handling of invalid dates throughout the application
- Enhanced error resilience when fetching historical data
- Better handling of "no data" colors with appropriate opacity
π Full Changelog
See the CHANGELOG.md for a complete list of changes.
π§ Installation
HACS (Recommended)
- Add this repository as a custom repository in HACS
- Search for "Calendar Heatmap Card" and install it
- Restart Home Assistant
Manual Installation
- Download the
calendar-heatmap-card.js
file from this release - Upload it to your Home Assistant instance
- Add the resource reference to your Lovelace configuration
- Restart Home Assistant
π Documentation
For full documentation, see the README.md.