Skip to content

v1.1.0: Lumina dashboard redesign, auto card install, device control modes, tariff calendar#57

Merged
traktore-org merged 3 commits into
mainfrom
develop
Apr 19, 2026
Merged

v1.1.0: Lumina dashboard redesign, auto card install, device control modes, tariff calendar#57
traktore-org merged 3 commits into
mainfrom
develop

Conversation

@traktore-org

Copy link
Copy Markdown
Owner

Summary

Major release with full dashboard visual overhaul, improved update workflow, and new features.

Dashboard Lumina Redesign (#56)

  • 3 new custom cards: sem-tab-header, sem-battery-card, sem-ev-status-card
  • Lumina tab headers on all 7 tabs with SVG glow icons and live stats
  • Battery hero with SOC arc ring and pulse animation
  • EV status with 3 visual states and animated lightning bolt
  • Section title styling with gradient dividers
  • Consistent decimal precision (kWh=1, W=0, CHF=2)

Auto Card Installation (#55)

  • Card JS files auto-install to /config/www/ on every restart
  • No more manual generate_dashboard needed after HACS updates
  • Self-healing: recreates www directory if deleted
  • Skips on first install (generate_dashboard handles initial setup)

Device Control Modes (#49)

  • off / peak_only (default) / surplus per device
  • Dashboard mode selector dropdown on Control tab

Tariff Calendar (#25)

  • User-defined HT/NT weekly schedule with Swiss provider presets
  • Schedule dashboard card with 24h timeline

Test plan

  • All 7 tabs + mobile: zero error cards (MCP verified)
  • Card auto-install: delete www + restart → 12 cards restored
  • HA-TEST validated: 205 entities, 0 errors
  • HA-PROD deploy

Closes #25, #49, #55, #56

🤖 Generated with Claude Code

belinea4071 and others added 3 commits April 19, 2026 10:58
)

New cards:
- sem-tab-header.js: Lumina header with SVG glow icon, live stats,
  dot-grid background. 7 tab configs (home/energy/battery/ev/control/
  costs/system) each with unique icon, color, and context-aware metrics.
- sem-battery-card.js: Battery hero with SOC arc ring, charge/discharge
  pulse animation, health/cycles/temperature metrics.
- sem-ev-status-card.js: EV status with 3 visual states (disconnected/
  connected/charging), animated lightning bolt, session and solar stats.

Dashboard template:
- Lumina tab headers on all 7 tabs
- Remove fold-entity-row "Welcome to SEM" (replaced by tab header)
- 20 mushroom-title-cards styled with lumina_title anchor (transparent
  background, gradient divider line)
- Battery hero: replace 4 mushroom cards with sem-battery-card
- EV hero: replace mushroom card with sem-ev-status-card
- Donut chart: EVAL formatters for clean decimal display
- Consistent precision: kWh=1dp, W=0dp, CHF=2dp, kW=1dp

Registered 3 new Lovelace resources (12 total).

Closes #56

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- New _async_install_card_assets() runs on every async_setup_entry
- Only activates if dashboard was previously generated (checks
  _install_dashboard_generated flag OR .storage/lovelace.sem-dashboard)
- Copies new/changed .js files from dashboard/card/ to /config/www/
- Self-healing: recreates www directory if deleted
- On first install: skips (generate_dashboard handles initial setup)
- On HACS update: auto-copies — restart is sufficient, no manual action

Tested: delete www cards + restart → 12 cards auto-restored, zero errors.

Also: bump version 1.0.x → 1.1.0, update README with v1.1.0 changes.

Closes #55

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@traktore-org traktore-org merged commit efc87c7 into main Apr 19, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant