v4.9.0
✨ Daylight Calendar Card v4.9.0
Important
Were you using this card before the rename from Skylight Calendar Card?
Please check Settings → Dashboards → Resources and remove any old Skylight resource:
❌ /hacsfiles/skylight-calendar-card/skylight-calendar-card.js
Keep only the current Daylight resource:
✅ /hacsfiles/daylight-calendar-card/skylight-calendar-card.js
The filename is still skylight-calendar-card.js; the folder should be daylight-calendar-card.
Stale resources can make new features appear missing or broken even when HACS shows the latest version. See the troubleshooting guide:
https://docs.daylightcalendar.com/troubleshooting#updated-to-the-latest-version-but-still-seeing-old-behavior
🆕 New Features
-
Custom Event Colors (
event_colors)- Override Home Assistant calendar colors with custom local colors.
- Customize the appearance of individual calendars while preserving all existing styling features.
-
Persistent Event Cache
- Added a persistent "last-known-good" event cache with stale-while-revalidate loading.
- Calendar data remains visible during temporary Home Assistant outages or slow reloads, resulting in a faster and more resilient experience.
-
Custom Header Items (
header_items)- Add structured custom content to the calendar header.
- Supports configurable text, icons, sensors, and other header elements for highly personalized dashboards.
-
Estonian Localization (
language)- Added Estonian (
et) language support.
- Added Estonian (
⚠️ Fixes / Behavior Changes
-
Improved Event Fetch Reliability
- Added retry throttling after complete calendar fetch failures to reduce unnecessary network requests during outages.
-
Event Modal Behavior
- Prevent accidental dismissal by clicking the modal backdrop.
-
Translation Improvements
- Normalized translation strings and added missing entries for new color-related features.
-
Build & Dependency Improvements
- Fixed Rollup optional native lockfile handling for more reliable builds across platforms.
📚 Documentation Improvements
- Added documentation for:
- Custom event colors
- Persistent event cache
- Custom header items
- Improved bug report template with additional troubleshooting guidance.
🙌 New Contributors
- Thanks to @LiivaneLord for adding Estonian language support!