⚠️ Release candidate. Only visible in HACS with "Show beta versions" turned on. Please report problems in the issues.
Changes to know about
- Plotly and chart types load on demand (#677). Only what a chart needs is downloaded:
- Dashboards without plotly cards load about 10× faster (the card adds 64 KB instead of 1.1 MB).
- Charts with only line or bar traces load about 3× faster.
- New chart types: maps (
scattermap,choroplethmap,densitymap) andquiver. All of Plotly's chart types are available now. - If files fail to load, the card shows a clear error with a Reload button.
- Dates follow Home Assistant's time zone setting (your profile's "local" or "server" time zone), or the new
time_zone:option. Give times as dates (new Date()), not numbers (Date.now()). Inon_clickand hover, x values are date strings in that time zone (#659). integratewithreset_every: 1dnow resets at calendar midnight, also on 23- and 25-hour days. Use24hfor fixed 24-hour steps (#659).- Trace names follow Home Assistant's new naming, and
name:accepts HA's list form, e.g.name: [{type: area}, {type: entity}](HA 2026.4 or newer) (#646). - Touch zoom works with
scrollZoom: false(#687). - Dependencies updated to clear security alerts (#676).
What's Changed
- Wait for the off-screen state in the resize test by @dbuezas in #688
- Keep touch zoom working with scrollZoom: false by @dbuezas in #687
- Update dependencies and tooling by @dbuezas in #676
- Load Plotly and chart types on demand by @dbuezas in #677
- Draw dates in Home Assistant's timezone by @dewi-ny-je in #659
- Trim the statistics refresh tests by @dbuezas in #692
- Read the visible range in one function by @dbuezas in #693
- Resolve default trace names via hass.formatEntityName by @bramkragten in #646
New Contributors
- @bramkragten made their first contribution in #646
Full Changelog: v4.0.0-rc.3...v4.0.0-rc.4