V2.0.0
Custom Gauge Card v2.0.0
New Features
Arc Control
arc_sweep(30–360°): controls the angular span of the gauge ringarc_start: sets the start angle from the top/12 o'clock position (clockwise)- Example:
arc_sweep: 270+arc_start: 135= C-shaped gauge
arc_sweep: 270
arc_start: 135SVG Scale Ticks
scale_ticks: true: renders an SVG graduation overlay on the gaugescale_steps: number of intervals between major ticksscale_labels: true: displays numeric values at each tick
scale_ticks: true
scale_steps: 5
scale_labels: trueTap Action
Configurable click behavior:
Visual Editor
- Full GUI editor with collapsible sections covering all card parameters
- Uses native HA components:
ha-selector,ha-entity-picker,ha-expansion-panel - Card now appears in the HA card picker UI with a live preview
Improved HA Integration
getCardSize(): correct card height in the HA grid layoutgetStubConfig(): minimal stub config for the HA visual card picker- Registration in
window.customCards
Changes
- Single self-contained file: the card is now a single IIFE file — no build step required
- Copy
custom-gauge-card.jsdirectly toconfig/www/and you're done - The modular
src/architecture and Rollup build pipeline have been removed
Installation / Update
HACS: automatic update available.
Manual: replace the old custom-gauge-card.js in config/www/ with the new file, then reload HA resources.
Full changelog: v1.0.4 → v2.0.0