v2.0.3
Changelog
All notable changes to the Leneda HACS Integration will be documented in this file.
[v2.0.3] - 2026-02-12
๐ ๏ธ Build & Deployment
- Build Automation: Added
build-dashboard.batto automate the process of building the frontend and syncing it to the Home Assistant integration directory. - Version Sync: Unified versioning across
manifest.json,package.json, and the Dashboard UI.
[v2.0.2] - 2026-02-12
๐ฑ Mobile Responsiveness Overhaul
- Responsive Navigation: Replaced the desktop-only navigation bar with a mobile-friendly hamburger menu for screens smaller than 768px.
- Scrollable Time Selector: The range selector now supports horizontal touch scrolling, preventing the entire page from panning.
- Adaptive Modules: Optimized the dashboard layout for small screens, stacking stat cards, energy flow, and key metrics vertically for better legibility.
- Touch-Optimized UI: Increased spacing and touch targets across the dashboard for a premium mobile experience.
[v2.0.1] - 2026-02-11
๐ New Features
- Per-Panel Energy Chart: Visualize individual solar production sources with a new stacked bar chart. Now featuring distinct, high-contrast Lime/Teal/Emerald colors (#BEF527) for clear differentiation.
- Multi-Meter Sensor Support: Sensors are now correctly grouped under their respective physical meter devices (Consumption, Production, Gas) in Home Assistant.
- Solar-Adjusted Exceedance: Exceedance calculations now correctly subtract concurrent solar production from consumption at 15-minute intervals.
Overage = max(0, (Consumption - Solar) - Reference).
๐ Bug Fixes
- Feed-In Tariff Persistence: Fixed a critical issue where configured feed-in tariffs were not saving correctly due to a field name collision.
- Year Range Logic: "This Year" and "Last Year" buttons now work correctly in both HA and local dev (fixed missing logic cases).
- Average Feed-In Rate: Hardened calculation logic to prevent NaN values when sensors are unavailable.
- Local Development: Added support for multi-meter visualization and proper year ranges in the local dev environment.
[v2.0.0] - 2026-02-10
๐ Major Rewrites
- Complete Overhaul: The integration has been rewritten from the ground up for better performance, stability, and maintainability.
- New Frontend Architecture: Introduced a dedicated
frontend-srcdirectory using modern web technologies (Vite, TypeScript, standard web components) replaces the old dashboard logic. - Standalone Mode: Added a
standaloneserver for easier development and testing of the dashboard outside of Home Assistant.
โจ New Features
- Avant-Garde Dashboard: A completely new, high-performance visualization dashboard featuring:
- Glassmorphism UI design.
- Real-time animated energy flow.
- Interactive, zoomable charts.
- Comprehensive statistical breakdown (Self-sufficiency, Peak Power, etc.).
- Device Consolidation: Logic to automatically group multiple physical meters into single logical devices in Home Assistant.
- Energy Community Support: First-class support for tracking shared energy production and community consumption.
- Robust Error Handling: Improved resilience against API outages; the integration now gracefully handles connection drops without losing sensor state.
๐ ๏ธ Infrastructure
- CI/CD Pipelines: Added GitHub Actions for:
- Automated Releases (
release.yaml). - GitHub Pages deployment (
deploy_pages.yaml).
- Automated Releases (
- Documentation:
- Redrafted
README.mdwith clearer instructions and visual badges. - Added
SETUP_GUIDE.mdfor developers.
- Redrafted
๐๏ธ Removed
- Legacy "Basic" dashboard implementation.
- Redundant helper scripts from the
Old-workingbutbasicversion.