⚠️ Release candidate. Only visible in HACS with "Show beta versions" turned on. Please report problems in the issues.
Changes to know about
resample: 1dnow starts at midnight in the card's time zone, also on 23- and 25-hour days.integratewithreset_everyin weeks, months or years now resets on the first weekday (from Home Assistant), the 1st of the month, or January 1st (#670, #707).- New
min_maxfilter: cuts dense data down to about 1000 points and keeps the highs, lows and gaps. Zooming in shows full detail again (#710). - New
show_extrema: true: labels the minimum and maximum of a trace (#696). - New
align_zero: true: puts zero at the same height on overlaid Y axes (#700). - New
align_timestampsfilter: matches stored series by timestamp, so you can combine them without resampling (#694, #709). - New
period: yearfor statistics (#702). - Cards share requests: cards that show the same data in the same time range send one request (#690).
- Live history no longer misses fast updates with
refresh_interval: auto(#695). - Fixes: the right margin for a second Y axis no longer depends on YAML order (#698). Trendlines keep numeric X values (#701). Templates can read default names and units anywhere (#697). The YAML editor accepts
overlaying: false(#708).
What's Changed
- Modern tooling: Rolldown, Vitest, TypeScript 7, oxlint by @dbuezas in #680
- Use bun instead of npm by @dbuezas in #684
- Use oxfmt instead of Prettier by @dbuezas in #681
- Format all files with oxfmt by @dbuezas in #703
- Calculate the automatic right margin after parsing entities by @rosenrot00 in #698
- Fetch only required statistics fields by @rosenrot00 in #689
- Document linked hover for stacked subplots by @rosenrot00 in #699
- Keep live history complete by @rosenrot00 in #695
- Show minimum and maximum values on traces by @rosenrot00 in #696
- Align stored series by timestamp by @rosenrot00 in #694
- Align calendar resampling and integration resets by @rosenrot00 in #670
- Resolve internal defaults on demand by @rosenrot00 in #697
- Share history and statistics requests between cards by @rosenrot00 in #690
- Support yearly statistics periods by @rosenrot00 in #702
- Preserve numeric X coordinates in trendlines by @rosenrot00 in #701
- Test the time zone round trip on DST change days only by @dbuezas in #704
- Refuse to install with npm, pnpm or yarn by @dbuezas in #705
- Accept overlaying: false in the YAML editor schema by @dewi-ny-je in #708
- Add optional zero alignment for overlaid Y axes by @rosenrot00 in #700
- Reset integrate on January 1st for whole-year reset_every by @dewi-ny-je in #707
- Bugfix/align timestamps edge cases by @dewi-ny-je in #709
- Add adaptive min/max downsampling by @rosenrot00 in #710
- Download all startup files of the card at once by @dbuezas in #711
Full Changelog: v4.0.0-rc.4...v4.0.0-rc.5