v0.1.17 — Before/After Chart Preview
What's new
Before/after chart preview
After a scan, a line chart now appears above the outlier table showing the full time series:
- Dashed red line — current data (with spikes)
- Solid green line — simulated result after applying the fix
- Red dots on the before line mark flagged rows (filled = selected, hollow = unselected)
The green line updates live as you toggle checkboxes or change the replacement value. After applying a fix, the chart re-fetches from the database and re-renders to confirm the correction.
The chart uses ha-chart-base (HA's built-in Chart.js wrapper) and degrades gracefully if unavailable on older HA versions.
Note
I used Claude Code for some of these changes