@@ -406,224 +406,3 @@ daily_ev: sensor.wallbox_today # kWh (optional)
406406# ## v1.0.2
407407
408408- Initial public release.
409-
410-
411-
412-
413-
414-
415-
416-
417-
418-
419-
420-
421-
422-
423-
424- v1.3.28
425- - Auto power-unit detection. Power sensors reporting kW/MW are now
426- converted to W automatically (`power_unit : auto|W|kW`, default `auto`).
427- Fixes dull/inactive-looking nodes and frozen flow animations on
428- inverters that report power in kilowatts (e.g. Sigenergy).
429- - Performance : cached element lookups.** Shadow-DOM element references
430- are now cached instead of re-queried on every update (~100
431- ` getElementById` calls removed per tick). Most noticeable on always-on
432- panels and dashboards running several cards at once.
433- v1.3.27
434- - Autarky ring : slices now glide when the mix changes and the centre %
435- counts up/down like the power values (both honour reduced motion).
436- - Home flow bands use a fixed order (solar, battery, grid).
437- v1.3.26
438- - Extra consumption nodes : appliances, garage, heat pump, and a spare
439- " extra" node — each with its own power entity, icon, label, and flow
440- to the home.
441- - Energy price display with per-source price icons.
442- - Click a node to open its Home Assistant more-info dialog.
443- - Swedish (sv) translation added.
444- - Thanks to @Cm0n89 for this contribution.
445- v1.3.25
446- - Autarky mini-ring now split by source feeding the home : green = solar,
447- amber = battery, red = grid. Ring always fills to 100%; centre % stays
448- self-sufficiency (solar + battery share).
449- - Inverter->home flow line now split into the same source bands, ordered
450- smallest share (at inverter) to largest (at home); same pulse animation.
451- v1.3.23
452- - Fix : grid-export flow phase — resync compared 'fl' but the class is 'fL',
453- so the -T/2 outlet delay never applied while exporting. Corrected to 'fL'.
454- - Solar node (single MPPT) : daily kWh and PV voltage enlarged to match the
455- grid node (13px / 11px) and nudged right (x 314 -> 330) to clear the sun.
456- v1.3.22
457- - Autarky badge redesigned as a circular mini-ring (replaces the corner
458- pill) : green→lime progress arc, centered %, leaf glyph below, and the
459- " Autossuficiência" label hidden — revealed on hover (desktop) or tap
460- (mobile, 3s). Level colors kept (amber ≥50, orange ≥25, red <25); ≥90 glow.
461- v1.3.21
462- - Fix : 24h sparklines floated above the panel bottom when header text
463- wrapped (narrow layouts equalize panel heights); .sb svg margin-top
464- 4px -> auto pins each chart to the bottom of its panel.
465- v1.3.20
466- - Solar day ring : 270° arc (r=36) around the sun icon, sunrise→sunset
467- progress with amber gradient + position dot (opacity pulse only).
468- Sunrise/sunset times at the arc ends. Uses sun.sun (config : sun_entity),
469- hidden below horizon. Editor field added (8 languages).
470- - PV1/PV2 side info : centered columns (title / power / voltage) with
471- amber inward arrows outside the values. Single-MPPT keeps daily kWh right.
472- - SOLAR label y -2 → -10; viewBox top 0 → -8 (dot clearance at solar noon).
473- v1.3.19
474- Visual :
475- - Main SVG viewBox height 487 -> 470 : kills the dead band under the battery node (content ends ~463).
476- Scales with width, so the phone gap shrinks proportionally. Compact mode unaffected — nothing sits
477- below y=470. Also v1.4.7 gap fix used mm by mistake (4mm ~ 15px); now 4px.
478- v1.3.18
479- Animation :
480- - -T/2 outlet delay now applied to ALL flows leaving the inverter, not just Home :
481- battery while charging (fd) and grid while exporting (fl). Discharge/import stay inlet-phased.
482- v1.3.17
483- Animation :
484- - True pass-through relay : Home outlet delayed -T/2 so its pulse departs the inverter the instant
485- the inlet pulse front arrives (was : departed only after inlet fully drained). Home -> EV keeps
486- zero delay, which now chains exactly off the pulse arriving at Home.
487- v1.3.16
488- Fixes :
489- - Dual-color SOC numbers invisible on iOS (WebKit ignores clip-path on SVG <text>, layers cancel out).
490- Replaced text clip-paths with nested <svg> viewport cropping — battery + EV pill. Desktop unchanged.
491- v1.3.15
492- Visual :
493- - Gap between battery node and sparklines reduced 16px -> 8px
494- v1.3.14
495- Visual :
496- - Power values normalized to ~15px from each icon's visual edge (solar 82->81, grid 268->265)
497- v1.3.13
498- Features :
499- - New option `grid_threshold` (W, default 0) : grid readings below it count as 0 —
500- value dims, flow stops, icon goes inactive, autarky unaffected by standby draw
501- v1.3.12
502- Visual :
503- - Removed green pulse on the battery fill while charging (dimming made the number hard to read);
504- solid green fill + bolt remain
505- v1.3.11
506- Fixes :
507- - Battery no longer shows green charging state at 100% SOC (residual standby draw kept it green)
508- v1.3.10
509- Fixes :
510- - Battery node alignment : icon group now centers on the pill body (values below no longer look shifted right)
511- - Battery power/daily/runtime rows moved up 8px — gap to icon now matches the Home node
512- v1.3.9
513- Fixes :
514- - Flows/LEDs frozen when the OS has "reduce motion" enabled — v1.4.0 honored it unconditionally.
515- Now gated by new config `animations` : ' auto' (default, follow OS) or 'always' (ignore OS).
516- Applied via :host(.rm) class instead of a hard @media rule; tween respects the same setting.
517- v1.3.8
518- Features :
519- - Editor : one-click entity auto-detection (HA Energy Dashboard prefs + power-sensor heuristics)
520- - Editor : live entity validation — unknown entity ids get red border + warning
521- - Editor : field labels translated in all 8 languages
522- - EV SOC displayed as a mini iOS pill (matches battery, green while charging)
523- Visual :
524- - Smooth count-up tween on all main power values (600ms, cubic ease-out)
525- - Sparkline areas now use vertical gradient fills
526- Accessibility :
527- - prefers-reduced-motion honored : all animations off, values update instantly
528- - prefers-color-scheme fallback for theme auto-detection when HA theme info is absent
529- v1.3.7
530- Visual :
531- - Battery pill height reduced 20 -> 17, number 15 -> 13.5
532- - iOS dual-color number : part covered by the fill is dark, uncovered part inverts to the fill color
533- (two clipped text layers synced to the level width)
534- v1.3.6
535- Visual :
536- - Battery number enlarged 13 -> 15
537- v1.3.5
538- Visual :
539- - iOS charging state : white number + white bolt inside the green pill (number shifts left to fit bolt)
540- v1.3.4
541- Fixes :
542- - Battery number enlarged (10.5 -> 13) and truly centered — dominant-baseline dropped (Safari/iOS
543- renders it inconsistently), replaced with fixed baseline offset
544- v1.3.3
545- Fixes :
546- - Battery nub moved flush against the pill (was 2px gap)
547- v1.3.2
548- Visual :
549- - Battery icon now true iOS style : solid pill, level fill clipped by rounded shape, plain number (no %)
550- - Theme-aware : white fill/dark number on dark theme, inverted on light; state colors green/orange/red kept
551- v1.3.1
552- Visual :
553- - EV icon replaced with Tesla-style fastback silhouette (single smooth body curve, flush wheels)
554- v1.3.0
555- Animation :
556- - Relay-synced flows : all lines share one duration and phase — pulses arrive at the inverter,
557- and only then does the pulse depart toward Home (Home -> EV chained the same way)
558- - Inlet 0.75x speed factor removed (equal duration required for phase sync)
559- - All flow animations restart in the same frame on any direction/speed change (phase lock)
560- v1.2.9
561- Fixes :
562- - Battery node : removed vertical gap between power value and daily charge/discharge row (leftover from removed SOC row)
563- v1.2.8
564- Visual :
565- - Battery SOC color states : fill + inner % text turn orange at shutdown_soc+15, red at shutdown_soc
566- - Charging keeps green fill with white text
567- v1.2.7
568- Visual :
569- - Battery icon redesigned iPhone-style : SOC percentage rendered inside the icon over the fill level
570- - Icon enlarged (scale 1.70 -> 2.05); standalone SOC text row removed; daily/runtime rows moved up
571- v1.2.6
572- Features :
573- - EV charging node (bottom-right, below Home) : car icon, charge power, optional SOC + daily energy
574- - New optional entities : ev_power, ev_soc, daily_ev (editor + YAML); node hidden when not configured
575- - Animated Home -> EV flow (green), blinking bolt while charging; click opens more-info
576- v1.2.5
577- Performance :
578- - hass setter now diffs configured entity states — DOM update skipped when nothing relevant changed
579- - Updates + history polling paused while tab hidden; instant refresh on return (visibilitychange)
580- Fixes :
581- - Sparklines : history bucketed by timestamp into 48 uniform 30-min slots — fixes time-axis distortion
582- and wrong tooltip times caused by significant_changes_only irregular sampling
583- - Editor : identical config echo from HA no longer re-renders (input focus preserved)
584- - Autarky >=90% glow implemented via SVG filter (previous CSS box-shadow was dead code on SVG)
585- Features :
586- - Battery runtime : charging now shows time-to-100% ETA (mirrors discharge estimate)
587- - getGridOptions() for HA sections view sizing
588- v1.2.4
589- Fixes :
590- - Dual-MPPT crash : removed dead branch referencing dS before declaration (ReferenceError blanked the card)
591- - Autarky badge label now translated (was hard-coded PT)
592- - Build : outputs to dist/ (no longer overwrites source); release workflow uses npm install + uploads dist/ artifact
593- Changed :
594- - inverter_name HTML-escaped before SVG injection
595- - hass-more-info dispatched as CustomEvent
596- v1.2.3
597- Fixes :
598- - Solis polarity : bat_polarity changed to 'negative' (modbus reports charging as positive,
599- same convention as Deye/Sunsynk — no inversion needed)
600- - LCD inverter display : now shows load power (home consumption) instead of sum of all flows
601- Features :
602- v1.2.2 :
603- - Fix : PV daily/voltage text spacing from sun icon
604- - Dual MPPT layout : PV1 left of sun (▸ arrow), PV2 right (◂ arrow),
605- each with own voltage below; symmetrical layout
606- v1.2.1 :
607- - Fix : PV1/PV2 + voltage text overlapped sun icon (CSS .vd text-anchor:middle
608- overrides SVG presentation attribute; now inline style)
609- - Solis/modbus : optional split battery_charge + battery_discharge sensors
610- (both positive); card computes discharge-charge, bypasses polarity flag
611- - Three-phase grid voltage : optional grid_voltage_l2/l3, shown as L1/L2/L3 V
612- - Victron dual MPPT : added pv1_power + pv2_power entity fields in preset;
613- Solar node shows per-MPPT power breakdown when both sensors configured
614- Visual :
615- - Sub-labels font sizes increased : .vc 9.5px→11px, .vd 12px→13px, .vc battery 9.5px→11px
616- v1.2.0
617- Visual :
618- - Autarky badge moved to top-right corner
619- - Badge size reduced 15% (55x40 -> 47x34)
620- - Badge green softened — border/fill use low-alpha rgba instead of solid # 66BB6A;
621- status threshold colors (>=80/50/25%) also toned down
622- - Added 8mm spacing between battery data and sparklines row
623- Animation :
624- - Inlet flows (solar/grid/battery -> inverter) run at 75% of base speed — faster
625- - Outlet flow (inverter -> home) runs at base speed — slower
626- - Visual effect of energy accumulating at the inverter before flowing out to home
627- CSS Custom Properties :
628- - --xpf-flow-width flow line stroke width (default : 3)
629- - --xpf-dash-size dash segment size (default : 100; low value e.g. 8 = dot effect)
0 commit comments