v0.1.10
Bug fix
MAD false positives from floating-point noise — HA computes change as sum[i] - sum[i-1]. For sensors with large accumulated sums (e.g. a solar meter at 10 000+ kWh), floating-point error is ~1e-12. When peer changes at a given time-of-day are nearly identical (consistent sunny noon slot), the peer group MAD was ~1e-13 instead of 0. Any legitimate change that differed by even 0.1 kWh would score z ~10¹¹, far above any MAD factor, flagging hundreds of normal values as outliers.
Fix: MAD values below max(1e-9, abs(median) × 1e-6) (1 part-per-million of the median) are now treated as degenerate and skipped. Genuine outliers — where peers show real spread — are unaffected.