Releases: antbald/nidia-dashboard-composer
v0.12.10
v0.12.9
v0.12.8
v0.12.7
update
v0.12.5
v0.12.4
v0.12.3 - Fixed anchored action bar glitch
This release fixes the graphical glitch where the bottom action bar would scroll with the content instead of staying anchored at the bottom of the screen.
v0.12.2 - Modern UI Overhaul
🎨 Modern UI Transformation
This release completely refactors the Dashboard Composer UI with a premium, scalable, and responsive design.
✨ New Features
- Sidebar-based Layout: Navigation is now organized in a sleek sidebar for better organization.
- Tabbed Interface: Separate sections for General Settings, Room Selection, Energy Module, and Preview.
- Glassmorphism Aesthetic: Modern UI with translucent cards, smooth gradients, and Inter typography.
- Full Responsive Design: Mobile-friendly interface with an adaptive hamburger menu.
- Live Preview: Enhanced JSON preview with syntax highlighting.
- Dynamic Backgrounds: Added support for modern gradient backgrounds.
🔧 Improvements
- Organized areas by Floor in the selection grid.
- Better visual feedback for saving and generating status.
- Simplified energy module configuration.
- Unified styling with Home Assistant theme variables.
v0.11.0 - Export Energy, EV Charging & Interactive Hotspot
🎉 Major Feature Release
This release significantly extends the Energy Image (Villetta) module with three powerful additions: Export Energy monitoring, EV Charging tracking, and an interactive hotspot for quick navigation.
✨ New Features
1. 📤 Export Energy Module (Conditional)
Monitor your energy export to the grid with dynamic visibility.
Features:
- ✅ Toggle in composer UI to enable/disable
- ✅ Export power sensor selector (required when enabled)
- ✅ Smart visibility: Shows ONLY when export > 0
- ✅ Conditional logic with exact 3-state pattern (
"0","0 W","0.0") - ✅ Overlay image with power label
- ✅ Label positioned at top 33%, left 7% (font-size 13px)
Image: sfondo-villetta-export.png (80KB)
2. 🚗 EV Charging Module (Conditional)
Track your electric vehicle charging power in real-time.
Features:
- ✅ Toggle in composer UI to enable/disable
- ✅ EV charging power sensor selector (required when enabled)
- ✅ Smart visibility: Shows ONLY when charging > 0
- ✅ Conditional logic with exact 3-state pattern (
"0","0 W","0.0") - ✅ Overlay image with charging power label
- ✅ Label positioned at top 72%, left 89% (font-size 13px)
Image: sfondo-villetta-auto.png (79KB)
3. 🎯 Interactive Hotspot Overlay (ALWAYS VISIBLE)
One-tap navigation to your energy dashboard from the villetta card.
Features:
- ✅ ALWAYS visible when Energy Image module is enabled
- ✅ Transparent overlay on top of all layers (z-index: 5)
- ✅ Clickable 50% width centered area
- ✅ Tap action: Navigate to
#energydashboard - ✅ Non-intrusive, works seamlessly with all other layers
Image: sfondo-villetta-trasparente.png (76KB)
User Experience:
Tap anywhere in the center of your energy card to instantly jump to the full energy dashboard!
🏗️ Technical Implementation
Backend Changes
Updated Files:
custom_components/.../generator/types.py- ExtendedEnergyVillettaConfigwith 4 new fieldscustom_components/.../storage.py- Added defaults for export and EV modulescustom_components/.../generator/modules/rooms.py- Implemented conditional logic + hotspot overlay
New Logic:
# Export conditional (lines 174-216)
# EV conditional (lines 218-260)
# Hotspot overlay (lines 262-278, z-index 5)Frontend Changes
Updated Files:
frontend/src/types.ts- Extended TypeScript interfacesfrontend/src/components/App.ts- Added UI toggles and sensor selectors
New UI Elements:
- Export Energy toggle + sensor selector
- EV toggle + sensor selector
- All visible only when Energy Image module is enabled
Storage Schema
New Fields (all disabled by default):
export_enabled: booleanexport_sensor: string | nullev_enabled: booleanev_sensor: string | null
📊 Layer Stacking Order
When all modules are enabled, elements are rendered in this order:
- Base labels (home consumption, import power) - Always visible
- Battery overlay + label - Always visible if enabled
- Photovoltaic (FV) conditional - Visible when production > 0
- Export conditional ✨ NEW - Visible when export > 0
- EV conditional ✨ NEW - Visible when charging > 0
- Hotspot overlay ✨ NEW - Always visible, z-index 5, clickable
🎨 New Assets
Three new overlay images added to the internal image folder:
| Image | Size | Purpose |
|---|---|---|
sfondo-villetta-export.png |
80KB | Export energy overlay |
sfondo-villetta-auto.png |
79KB | EV charging overlay |
sfondo-villetta-trasparente.png |
76KB | Interactive hotspot |
All images stored locally - No remote URLs in generated YAML ✅
✅ Quality Guarantees
Code Quality:
- ✅ All labels use font-size: 13px (consistent)
- ✅ All conditionals use exact 3-state pattern (consistent)
- ✅ Zero refactoring of existing code
- ✅ FV module logic unchanged
- ✅ Battery module logic unchanged
- ✅ Base labels unchanged
- ✅ Only local image paths in YAML
Testing:
- ✅ All 33 tests passing
- ✅ Zero regressions
- ✅ No conflicts with existing features
Compatibility:
- ✅ Fully backward compatible
- ✅ Existing configs work without changes
- ✅ New modules disabled by default
- ✅ No breaking changes
🚀 How to Use
Enable Export Energy
- Open Nidia Dashboard Composer
- Enable "Energy Image Module"
- Toggle "Export Energy" ON
- Select your export power sensor
- Save & Generate Dashboard
The export layer will automatically show when you're exporting energy to the grid!
Enable EV Charging
- Open Nidia Dashboard Composer
- Enable "Energy Image Module"
- Toggle "EV" ON
- Select your EV charging power sensor
- Save & Generate Dashboard
The EV layer will automatically show when your vehicle is charging!
Interactive Hotspot
The hotspot overlay is automatically enabled when Energy Image module is active. Just tap the center of your energy card to navigate to #energydashboard!
📦 What's Changed
Files Modified: 4
Files Created: 3 (new images)
Lines Added: 394
Lines Removed: 290
Frontend Bundle Size: 48.10 kB (from 43.60 kB)
🔄 Upgrade Path
Simply update to v0.11.0 via HACS. Your existing configuration will work without any changes. The new modules are disabled by default.
🤖 Generated with Claude Code