v2.9.0-rc2 — features + bug fixes (beta)
Pre-release
Pre-release
Install: HACS → Air Quality Card → ⋮ → "Redownload" → enable "Show beta versions" → pick v2.9.0-rc2.
What's new since rc1
Bug fixes (carried over from rc1)
- #22 — Time-based graph X axis (spikes appear at the correct time)
- CO2 status now correctly shows all 5 tiers including "Moderate"
- Humidity/temperature boundary off-by-one fixes
Features (new in rc2)
- #25 — Outdoor-only mode (already in rc1)
- #23 — Optional min/max per metric (
show_min_max: true) - #21 + #24 — Custom thresholds per metric (e.g.,
temperature_thresholds: [22, 25, 28, 31]) - #20 — Compact display mode (
display: compact) with HA-nativetap_action/hold_action/double_tap_action - #19 — Custom sensor order (
order: [temperature, humidity, co2, ...]) - #10 — Localization for status badge, recommendations, radon advisory titles, and editor labels (en/es/fr/de). Spanish/French/German contributed by @b0rv3g4r4 from PR #11.
Smoke-test checklist
Regressions from rc1 (highest priority)
- All sensors that worked in rc1 still render normally
- CO2 still shows "Moderate" for 800-1000 ppm range
- tVOC spikes still align with their actual time on the graph
- Outdoor-only configs still hide the recommendation strip
- Existing dashboards (no new config) look identical to rc1
New features
- Min/max — add
show_min_max: true→ confirm↓ X · ↑ Yline under each metric - Custom thresholds — try
temperature_thresholds: [22, 25, 28, 31]on a tropical-climate temp sensor → 28°C should now show "Warm" (orange), not "Hot" (red) - Compact mode —
display: compact+tap_action: { action: navigate, navigation_path: /your/path }→ card shrinks to title + badge and navigates on tap - Reorder —
order: [temperature, humidity, co2, pm10, pm25]→ sensors appear in that order - Localization — set HA language to Spanish (or override with
language: es) → status badge shows "Excelente"/"Bueno", recommendations show "Abre la ventana" etc.
Editor (visual config)
- Open the editor on an existing card. Confirm all sections render, labels show correctly, save and reload round-trips cleanly.
- In Advanced, confirm the new options appear:
show_min_max,order,display,tap_action,hold_action,double_tap_action,language.
Console check
Browser DevTools should show: AIR-QUALITY-CARD v2.9.0-rc2. No new errors compared to rc1.
Known limitations in rc2 (deferred to rc3 or stable)
- Per-sensor status labels (Safe / Low / Moderate / High / Dangerous on each metric) are not yet translated — they still show English. The status badge at the top is translated. Will land in a follow-up.
- Radon advisory subtitle prose ("EPA recommends mitigation above X") is still English; the title is translated.
- Editor doesn't have a UI picker for
<metric>_thresholds— set via YAML.
Tests
node test.js — 360 passed, 0 failed (up from 250 in rc1).
Credits
- Spanish/French/German translations: @b0rv3g4r4 (PR #11)
- WHO 2021 / ASHRAE / EPA threshold sources unchanged