✨ New Features
📈 Trend indicators — stock‑ticker mode (#24)
Color values red/green, add up/down arrows and show the change or percent next to the value. Works great for stocks, crypto, energy prices and sports scores.
type: custom:strip-card
title: ""
entities:
- entity: sensor.binance_futures_market_binance_futures_btcusdt_price
name: BTC
icon: mdi:bitcoin
trend:
up_color: "#00FF00"
down_color: "#FF0000"
- entity: sensor.binance_futures_market_binance_futures_btcdomusdt_price
name: BTC Dominance
icon: mdi:bitcoin
trend:
up_color: "#00FF00"
down_color: "#FF0000"- entity: sensor.aapl
name: AAPL
trend:
source: baseline # memory | attribute | baseline
baseline: previous_close
show_delta: percent # → AAPL: 213.40 ▲ +1.6%Three change sources: memory (direction of the last observed change), attribute (an attribute that already holds a signed change, e.g. change), baseline (an attribute holding a reference value, e.g. previous_close). Fully configurable: threshold, show_arrow, up_icon/down_icon, show_delta (absolute/percent), delta_precision, up_color/down_color/flat_color, apply_to (value/name/unit/icon/arrow). Set trend: at card level to apply to all entities, and use the new trend / delta / prev_value template variables anywhere. Also editable from the UI editor.
⚡ Jinja conditionals now run locally
A if C else B (chainable), and / or / not, is none, is not none, is defined and True/False/None are now compiled and evaluated instantly in the browser — no server round‑trip:
value_color: "{{ 'limegreen' if trend == 'up' else 'red' if trend == 'down' else 'gray' }}"🔌 Instant server templates (WebSocket push)
Templates that still need the HA server (full Jinja) now use a WebSocket render_template subscription: the server pushes a new result the moment any referenced entity changes. The old 30‑second REST polling remains only as an automatic fallback for older setups.
🌍 Locale‑aware number formatting
format_number: true (global or per entity) renders numeric values with the HA user's locale — 1,234.5 vs 1.234,5 — preserving the original decimals.
🔋 New toggles
pause_when_hidden(defaulttrue) — scrolling pauses while the card is off‑screen or the tab is hidden; great for wall tablets.respect_reduced_motion(defaulttrue) — honors the OS "reduce motion" accessibility setting.