Releases: BTNBx/xPower-Flow-Card
Releases · BTNBx/xPower-Flow-Card
Release list
xPower Flow Card v1.3.20
xPower Flow Card v1.3.19
v1.4.11
Visual
- Main SVG viewBox height 487 -> 470: kills the dead band under the battery node (content ends ~463). Scales with width, so the phone gap shrinks proportionally. Compact mode unaffected, nothing sits below y=470. Also v1.4.7 gap fix used mm by mistake (4mm ~ 15px); now 4px.
Full Changelog: v1.3.18...v1.3.19
xPower Flow Card v1.3.18
v1.3.18
Animation
- True pass-through relay: Home outlet delayed -T/2 so its pulse departs the inverter the instant the inlet pulse front arrives (was: departed only after inlet fully drained). Home -> EV keeps zero delay, which now chains exactly off the pulse arriving at Home.
Fixes
- Dual-color SOC numbers invisible on iOS (WebKit ignores clip-path on SVG , layers cancel out). Replaced text clip-paths with nested viewport cropping battery + EV pill. Desktop unchanged.
Full Changelog: v1.3.17...v1.3.18
xPower Flow Card v1.3.17
v1.3.17
Visual
- Power values vertically aligned to a consistent ~15px from each icon's visual edge (solar y=82->81, grid y=268->265) real geometry varies but perceived gap is now even
- Removed green pulse on the battery fill while charging (dimming made the number hard to read); solid green fill + bolt remain
Features
- New option
grid_threshold(W, default 0): grid readings below it count as 0 value dims, flow stops, icon goes inactive, autarky unaffected by standby draw
Fixes
- Battery no longer shows green charging state at 100% SOC (residual standby draw kept it green)
- Battery node alignment: icon group now centers on the pill body (values below no longer look shifted right)
- Battery power/daily/runtime rows moved up 8px gap to icon now matches the Home node
- Flows/LEDs frozen when the OS has "reduce motion" enabled v1.3.16 honored it unconditionally. Now gated by new config
animations: 'auto' (default, follow OS) or 'always' (ignore OS). Applied via :host(.rm) class instead of a hard @media rule; tween respects the same setting.
Full Changelog: v1.3.16...v1.3.17
xPower Flow Card v1.3.16
v1.3.16
Features
- Editor: one-click entity auto-detection reads the HA Energy Dashboard preferences (daily energy stats) and applies power-sensor heuristics; only fills empty fields
- Editor: live entity validation unknown entity ids get a red border and a warning
- Editor: field labels translated in all 8 languages
- EV SOC displayed as a mini iOS pill (matches the battery icon, green while charging)
Visual
- Smooth count-up tween on all main power values (600 ms, cubic ease-out)
- Sparkline areas now use vertical gradient fills
Accessibility
prefers-reduced-motionhonored: all animations off, values update instantlyprefers-color-schemefallback for theme auto-detection when HA theme info is absent
Full Changelog: v1.3.15...v1.3.16
xPower Flow Card v1.3.15
xPower Flow Card v1.3.14
- Bug fixing
Full Changelog: v1.3.13...v1.3.14
xPower Flow Card v1.3.13
- Bug fixing
Full Changelog: v1.3.12...v1.3.13
xPower Flow Card v1.3.12
v1.3.12
Features
- EV charging node new node in the bottom-right corner, below Home: car icon, charge power, optional SOC and daily charged energy
- New optional entities:
ev_power,ev_soc,daily_ev(visual editor + YAML) node is hidden when not configured - Animated Home → EV flow (green) with blinking charge bolt while charging; click opens more-info
Example
ev_power: sensor.wallbox_power # W
ev_soc: sensor.car_battery # % (optional)
daily_ev: sensor.wallbox_today # kWh (optional)Visual
- Battery icon redesigned iPhone-style SOC percentage now rendered inside the icon, over the fill level (white text with dark outline for legibility)
- Battery icon enlarged (scale 1.70 → 2.05); standalone SOC text row removed; daily/runtime rows moved up.
Full Changelog: v1.3.11...v1.3.12
xPower Flow Card v1.3.11
v1.3.11
Performance
hasssetter now diffs configured entity states, full DOM update is skipped when nothing relevant changed (previously ran on every state change of any HA entity)- Updates and history polling pause while the tab is hidden (
visibilitychange); instant refresh on return
Fixed
- Sparklines: 24h history is now bucketed by timestamp into 48 uniform 30-min slots with forward-fill, fixes time-axis distortion and wrong tooltip times caused by
significant_changes_onlyirregular sampling - Editor: identical config echo from HA no longer re-renders the form, so input focus is preserved while editing
- Autarky badge: ≥90% glow now works via SVG filter (previous CSS
box-shadowwas dead code on SVG elements) - Consistent null guards on battery level bar and flow line updates;
parseIntwith explicit radix in editor
Added
- Battery runtime: while charging, shows estimated time to 100% with ETA (mirrors the existing discharge estimate)
getGridOptions()for proper default sizing in HA sections view
Internal
- Removed duplicated/corrupted v1.3.6 changelog block and dead CSS
Full Changelog: v1.3.10...v1.3.11