rss-accordion: Unfolded
This is the initial public release of the rss-accordion Lovelace card.
Features Added
-
Core Functionality
- Fetches and displays feed items from Home Assistant sensor or event entities.
- Presents feed items in a collapsible accordion layout.
-
Animations & User Experience
- Accordion animations wait for images to load before expanding, preventing layout glitches.
- A loading indicator is displayed while images are loading.
-
Responsive Design
- The card uses a
ResizeObserverto automatically adjust the height of open items when the window is resized, ensuring all content remains visible.
- The card uses a
-
Date & Time Formatting
- The date and time display for each feed item respects the user’s 12-hour or 24-hour preference set in their Home Assistant profile.
-
Configuration & Documentation
- A Lovelace UI editor is available for easy configuration.
- The
new_pill_duration_hoursoption is available to control how long the "new" pill is shown. - Initial project documentation, including HACS installation instructions and configuration options.
Internal
- Added a centralized function (
_getFeedItems) for parsing data from all supported entity types. - Added tests for the new date formatting logic.
- Added mocks for
ResizeObserverto support the test suite in a JSDOM environment.