Skip to content

Advanced History 0.7.0

Choose a tag to compare

@andyblac andyblac released this 23 Jul 09:06

This is a substantial update containing all changes since 0.6.1.

Important upgrade notes

  • Update Statistics Graph Chart Card to its latest version before installing this release.
  • After updating Advanced History, restart Home Assistant and refresh the browser/app frontend.
  • Existing installations must remove and re-add the More Info service to receive the new default date-picker modes:
    • Day
    • Week
    • Month
    • Year
    • Last 24 hours
  • If you customized the More Info Card Defaults YAML, copy it before removing the service so it can be restored afterwards.
  • Existing bookmarks and Advanced History settings are retained.

Highlights

Shareable charts - in Bookmarks dialog.

  • Added shareable chart links.
  • Shared links contain the targets, chart configuration, date range, comparison and visibility state required to recreate the chart.
  • Links can be opened on another device or by another Home Assistant user with access to the referenced entities.
Screenshot 2026-07-23 at 09 57 40

Privacy-safe diagnostics

  • Added a diagnostics report to Graph Settings.
  • Reports include:
    • Advanced History, Home Assistant and Statistics Graph Chart Card versions
    • browser, language and time-zone information
    • selected period and comparison
    • sanitized chart configuration
    • detected data sources
    • entity metadata relevant to chart rendering
  • Entity IDs are replaced with anonymous aliases.
  • Friendly names, registry IDs, history values, bookmarks and private entity details are excluded.
  • Diagnostics can be previewed before copying.
Screenshot 2026-07-23 at 09 52 10 Screenshot 2026-07-23 at 09 52 24

Actual chart data-source badges

Charts now indicate which Home Assistant data source was used:

  • Recorder history
  • Long-term statistics
  • Mixed sources
  • Determining source

Detection follows the requests made by the rendered chart and refreshes when the date range or comparison changes.

Data-source badges are retained when navigating away from Advanced History and returning.

Screenshot 2026-07-23 at 09 54 19

Large-range detail modes

Large date ranges now use adaptive detail handling:

  • Automatic detail uses the card’s automatic grouping for faster loading and rendering.
  • Fine detail uses a denser grouping when more detail is required.
  • A banner explains the active mode and allows switching between them.
  • Fine detail remains selected when changing date ranges until it is explicitly changed or the chart is cleared.
  • The Group By picker is exposed where appropriate.
Screenshot 2026-07-23 at 14 20 08

Per-entity More Info graph settings

Administrators can now configure the More Info graph separately for individual entities.

  • Added an admin-only settings cog to supported More Info graphs.
  • Uses the same reusable visual/YAML editor as Advanced History.
  • Entity-specific settings are stored by Home Assistant and work across devices.
  • Added a confirmation dialog for resetting an entity to the More Info Card Defaults.
  • More Info controls, headings and graph alignment have been refined to better match Home Assistant’s native dialog.
Screenshot 2026-07-23 at 10 00 22

Improved More Info defaults

New More Info services now:

  • open using a rolling Last 24 hours period;
  • provide Day, Week, Month, Year and Last 24 hours picker modes;
  • respect the entity’s configured display precision;
  • use metadata-aware chart defaults;
  • retain tooltip and filled-area presentation;
  • better match native Home Assistant colours, typography and spacing.

Visual and YAML chart editing

  • Added a code-editor option to the current chart editor.
  • Visual and YAML modes share the same editor dialog and saved configuration.
  • YAML is validated before being applied.
  • Added localized guidance for the code editor.
  • Fixed comparison series disappearing after closing or saving the editor.
Screenshot 2026-07-23 at 10 02 02 Screenshot 2026-07-23 at 10 02 13

Metadata-aware entity defaults

  • Total and total-increasing sensors automatically use last-value aggregation where appropriate.
  • Explicitly configured aggregation always takes precedence.
  • Automatic options are included in diagnostics and More Info graph generation.

Native entity visibility

Clicking a selected target now uses Statistics Graph Chart Card’s native:

enabled: false

The entity remains selected and keeps its configured position, colour and settings while hidden.

  • Hidden targets remain visible in the target list.
  • Entity ordering is preserved.
  • Automatically assigned colours remain stable when hiding or showing entities.
  • Visibility state is retained in bookmarks, history and shared links.
  • Temporary visibility state is not incorrectly stored as a permanent editor override.
Screenshot 2026-07-23 at 10 04 44

Bookmark improvements

  • The Update action is now shown only for the bookmark that was actually loaded and subsequently edited.
  • Loading another bookmark resets bookmark ownership correctly.
  • Clearing the final target detaches the current chart from its bookmark.
  • Internal Energy synchronization and period restoration no longer mark bookmarks as edited.
  • Existing bookmarks can still be loaded and saved as new bookmarks.

Undo and redo improvements

  • Undo and redo are cleared when all targets are removed.
  • Loading a bookmark starts a new chart session with a clean undo/redo history.
  • Saved-period restoration no longer creates stale undo entries.
  • Undo state from a previous chart session is no longer shown after loading another bookmark.

Energy date synchronization

  • Saved date ranges and comparisons are restored more reliably.
  • The chart remains hidden behind the loading banner until Home Assistant confirms the restored Energy period.
  • Stale cached “today” data can no longer override a restored month or year.
  • The native picker, comparison banner and rendered graph now use the same confirmed period.
  • Fixed Energy comparisons being lost after editing chart settings.
  • Fixed date-picker synchronization when loading bookmarks and returning to the panel.

Other improvements

  • Renamed the More Info frontend module to reflect its expanded role.
  • Improved responsive More Info graph sizing and whitespace.
  • Improved state-timeline presentation and native colour matching.
  • Improved duplicate-name area handling through Statistics Graph Chart Card.
  • Fixed prerelease version badge handling.
  • Updated documentation and setup guidance.

Required dependency

Statistics Graph Chart Card v3.30 or newer is required.

Before installing Advanced History 0.7.0, update Statistics Graph Chart Card through HACS. The card remains a separate dependency and is not bundled with Advanced History.

Special thanks to cataseven for continuing to improve the card and for supporting its use by Advanced History.