Skip to content

Releases: antbald/nidia-dashboard-composer

v0.12.10

23 Dec 16:25

Choose a tag to compare

  • Fix panel bundle loading via /nidia_dashboard_composer_static\n- Restore Energy Villetta image references to /nidia-assets/villetta\n- Add Villetta asset set to repo for future releases

v0.12.9

23 Dec 15:57

Choose a tag to compare

Release v0.12.9

v0.12.8

23 Dec 15:49

Choose a tag to compare

Fix: correctly include Python changes for image paths which were missing in previous release. This release actually fixes the 'image not found' issue by pointing to /backgrounds/. Please update and restart HA.

v0.12.7

23 Dec 15:29

Choose a tag to compare

Refactor: Move villetta images to backgrounds/ folder and update paths. This organizes the assets better and ensures they are accessible via the standard static path logic. Ensure you refresh your browser cache after updating!

update

23 Dec 15:22

Choose a tag to compare

v0.12.6

Release v0.12.6

v0.12.5

23 Dec 15:12

Choose a tag to compare

Fix: ensure static path is always registered for assets. This ensures images in /www/ are always accessible via /nidia_dashboard_composer_static/ independently of install method.

v0.12.4

23 Dec 15:07

Choose a tag to compare

Add Energy Villetta images and update version.

v0.12.3 - Fixed anchored action bar glitch

19 Dec 13:12

Choose a tag to compare

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

19 Dec 12:01

Choose a tag to compare

🎨 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

19 Dec 09:25

Choose a tag to compare

🎉 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 - Extended EnergyVillettaConfig with 4 new fields
  • custom_components/.../storage.py - Added defaults for export and EV modules
  • custom_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 interfaces
  • frontend/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: boolean
  • export_sensor: string | null
  • ev_enabled: boolean
  • ev_sensor: string | null

📊 Layer Stacking Order

When all modules are enabled, elements are rendered in this order:

  1. Base labels (home consumption, import power) - Always visible
  2. Battery overlay + label - Always visible if enabled
  3. Photovoltaic (FV) conditional - Visible when production > 0
  4. Export conditional ✨ NEW - Visible when export > 0
  5. EV conditional ✨ NEW - Visible when charging > 0
  6. 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

  1. Open Nidia Dashboard Composer
  2. Enable "Energy Image Module"
  3. Toggle "Export Energy" ON
  4. Select your export power sensor
  5. Save & Generate Dashboard

The export layer will automatically show when you're exporting energy to the grid!

Enable EV Charging

  1. Open Nidia Dashboard Composer
  2. Enable "Energy Image Module"
  3. Toggle "EV" ON
  4. Select your EV charging power sensor
  5. 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