Horizontal Forecast Card v1.0.1
π What's New in v1.0.1
β¨ Features & Improvements
- Local SVG Weather Icons: Added embedded SVG icons for better reliability and offline functionality
- Enhanced Drag-to-Scroll: Improved horizontal scrolling with smooth drag interactions
- Visual Enhancements: Added vertical bar separators between forecast items for better clarity
- Production-Ready Build: Optimized build system with modern tooling and dependencies
- HACS Compliance: Full HACS integration with validation workflows and proper metadata
π οΈ Technical Improvements
- Updated build system with Rollup, TypeScript, and Babel optimization
- Minimized external dependencies for better performance
- Added comprehensive TypeScript types and interfaces
- Implemented proper error handling and validation
- Optimized bundle size with tree-shaking and minification
π Documentation & Developer Experience
- Comprehensive README with configuration examples
- Added preview images for HACS validation
- GitHub Actions workflow for automated HACS validation
- Proper issue templates for bug reports and feature requests
- Clear installation and configuration instructions
π§ Configuration Options
show_current: Display current weather conditionsshow_forecast: Show forecast dataforecast_days: Number of forecast days to displayname: Custom card title- Full entity and styling customization support
π¦ Installation
Via HACS (Recommended)
- Install HACS if you haven't already
- Go to HACS > Frontend
- Click the three dots in the top right corner
- Select "Custom repositories"
- Add this repository URL:
https://github.com/Matbe34/Horizontal-Forecast-Card - Select "Lovelace" as the category
- Click "Add"
- Install the card from HACS
Manual Installation
- Download the
horizontal-forecast-card.jsfile from this release - Copy it to your
wwwfolder in your Home Assistant configuration directory - Add the resource to your Lovelace configuration:
resources: - url: /local/horizontal-forecast-card.js type: module
π― Basic Configuration
type: custom:horizontal-forecast-card
entity: weather.your_weather_entity
name: Weather Forecast
show_current: true
show_forecast: true
forecast_days: 5πΌοΈ Preview
The card provides a clean, horizontal layout perfect for displaying weather forecasts with intuitive drag-to-scroll functionality and clear visual separators.
π Links
- Documentation
- Configuration Guide
- Report Issues
- HACS Integration
π·οΈ What's Included
- Production-ready JavaScript bundle (horizontal-forecast-card.js)
- Complete source code with TypeScript definitions
- HACS configuration and validation
- Comprehensive documentation and examples