Skip to content

Needle Gauges, Soft Bands, Responsive Layout Engine & Semantic Fill Rendering

Choose a tag to compare

@cdelaet cdelaet released this 08 Jun 20:50

Sensor Bar Card Plus v1.4.0

A major visual and architectural update focused on responsive layouts, semantic rendering, and advanced gauge visualization.

Highlights

New Needle Gauge Mode

A completely new gauge-style visualization mode.

bar:
  needle: true

Features:

  • Smooth animated needle movement
  • Supports all fill styles
  • Edge-aware rendering at min/max
  • Adaptive contrast borders
  • Safari-safe glow rendering
  • Compact-dashboard friendly

New Soft Bands Fill Style

New soft_bands rendering mode with refined transition blending.

Features:

  • Smooth semantic color transitions
  • Improved precision and readability
  • Narrow-band protection
  • Optimized mobile rendering
  • Excellent pairing with needle mode

New Responsive Layout Engine

The responsive system was completely redesigned.

Improvements:

  • Deterministic responsive state selection
  • Hysteresis to prevent resize flicker
  • Better compact-card behavior
  • Top-right value fallback mode
  • Improved label usefulness detection
  • Smarter icon and label sacrifice priorities

Semantic Fill Rendering Pipeline

The rendering engine now separates:

  • semantic paint composition
  • animated reveal geometry

This enables:

  • correct above-target animation behavior
  • cleaner future extensibility
  • more robust overlay rendering
  • future multi-threshold fill support

Above-Target Animation Rework

above_target_color now:

  • animates correctly upward and downward
  • stays behind the shared animated reveal front
  • preserves correct endpoint rounding
  • behaves consistently with animation enabled or disabled

Additional Improvements

  • Improved marker layering
  • Stabilized overlay rendering
  • Reduced repaint thrashing
  • Unified typography system
  • Better compact inside-label behavior
  • Refined soft-band rendering polish
  • Improved Safari rendering behavior
  • Dedicated hero showcase dashboard
  • Expanded playground dashboard coverage

Configuration Improvements

Expanded structured configuration support for:

  • layout
  • scale
  • bar
  • target
  • baseline
  • peak
  • formatting

while remaining fully backward compatible.

Compatibility

v1.4.0 remains compatible with:

  • existing severity configurations
  • flat configuration syntax
  • existing dashboards

No migration is required.

HACS

This release is fully available through HACS.