Advanced History – a more powerful Home Assistant History panel / More-Info dialog. (uses the excellent Statistics Graph Chart Card for graph rendering)

Advanced History v2.0.0-beta.7

Fixes

  • Fixed the chart settings cog overlapping the secondary Y-axis labels.
  • Fixed the date picker failing to initialise when the Home Assistant Energy Dashboard has not been configured.
  • Advanced History now initialises its own Energy date-selection collection without requiring an Energy card on another dashboard.

Testing

  • Please test the date picker on systems where the Home Assistant Energy Dashboard is not configured.
  • Related to #5.

This is a beta release. Please report any regressions or unexpected behavior. Full release notes will follow with the final 2.0 release.

Please report any beta issues through GitHub and specify whether they affect the Advanced History panel or the More Info dialog.

Installing the beta through HACS

  1. Open HACS → Advanced History.
  2. Open the three-dot menu and select Redownload.
  3. Expand Need a different version?
  4. Select 2.0-beta.7 and download it.
  5. Restart Home Assistant and refresh the browser cache.

To receive future beta update notifications automatically, enable the repository’s Pre-releases switch entity in Home Assistant.

1 Like

Advanced History v2.0.0-beta.9

Changes

  • Added independent Automatic detail control for More Info charts.
  • More Info now follows the same Auto Scale override behaviour as the Advanced History panel.
    • Setting Points per hour disables inherited Auto Scale.
    • Setting Group by disables inherited Auto Scale.
    • Enabling the PPH or Group By picker disables inherited Auto Scale.
    • Explicit chart settings continue to override integration defaults.
    • Resetting an entity chart restores integration-level control.
  • Added cumulative migration support for older configurations, including upgrades from 1.x.
  • Improved More Info visual-editor option filtering.
  • Hidden the irrelevant Auto Scale control from state-timeline editors.
  • More Info settings now use their own More-Info settings heading.
  • Improved localisation for the new settings and descriptions.

This is a beta release. Please report any regressions or unexpected chart configuration behaviour.

Please report any beta issues through GitHub and specify whether they affect the Advanced History panel or the More Info dialog.

Installing the beta through HACS

  1. Open HACS → Advanced History.
  2. Open the three-dot menu and select Redownload.
  3. Expand Need a different version?
  4. Select 2.0-beta.8 and download it.
  5. Restart Home Assistant and refresh the browser cache.

To receive future beta update notifications automatically, enable the repository’s Pre-releases switch entity in Home Assistant.

v2.0.0-beta.10

Improvements

  • Completed missing chart-option translations.
  • Improved state colours for custom sensor timelines in More Info.
  • Matched custom-sensor timeline colours with Home Assistant’s Activity list.
  • Added delayed colour synchronisation so timelines remain correct while Activity data loads.

This is a beta release. Please report any regressions or unexpected chart configuration behaviour.

Please report any beta issues through GitHub and specify whether they affect the Advanced History panel or the More Info dialog.

Installing the beta through HACS

  1. Open HACS → Advanced History.
  2. Open the three-dot menu and select Redownload.
  3. Expand Need a different version?
  4. Select 2.0-beta.10 and download it.
  5. Restart Home Assistant and refresh the browser cache.

To receive future beta update notifications automatically, enable the repository’s Pre-releases switch entity in Home Assistant.

Advanced History v2.0.0

Version 2.0 is a major update focused on faster navigation, independent chart panels, flexible comparisons, improved configuration and a more consistent More-Info experience.

Highlights

  • Added multiple independent History panels with persistent tabs.
  • Panels can be renamed, reordered and closed.
  • Added rolling time presets and custom time ranges for day views.
  • Added flexible previous-period and previous-year comparisons.
  • Compare against multiple earlier periods or years.
  • Added secondary Y-axis target support.
  • Added an option to exclude Y2 entities from comparisons.
  • Added independent numeric and state-timeline chart defaults.
  • Added responsive state-timeline height based on visible rows.
  • Numeric chart height defaults to automatic sizing but remains user-configurable.
  • Added Automatic Detail with chart-level overrides.
  • Improved visual chart editing and configuration ownership.
  • Added user-owned, administrator and shared bookmarks.
  • Shared bookmarks are live, read-only aliases: owner updates are reflected automatically.
  • Added improved date-picker controls to More-Info charts.
  • Added localized frontend and chart-option text.

Navigation and comparisons

  • Added contextual comparison options based on the selected date range.
  • Added a comparison count selector for multiple previous periods or years.
  • Improved comparison summaries and previous-period graph styling.
  • Correctly handles rolling ranges, cross-midnight windows and future periods.
  • Switching panels, restoring bookmarks and returning to Advanced History now restores the correct live range.
  • Clearing a chart resets its time range and comparison state.

Chart configuration

  • Split integration defaults into separate numeric and state-timeline editors.
  • Chart and entity settings can override integration defaults.
  • Changing settings related to Automatic Detail stops automatic control for that chart.
  • Resetting the chart editor restores integration-controlled defaults.
  • Fixed visual-editor options that appeared to save but were not persisted.
  • Preserved explicit numeric chart-height settings during upgrades.
  • Restricted chart editing to charts owned by the current user.
  • Improved graph titles and editor layout.
  • Prevented the chart settings cog from overlapping the secondary Y-axis.

Bookmarks and sharing

  • Added administrator-managed and shared bookmark access.
  • Shared charts remain linked to their source bookmark instead of becoming disconnected copies.
  • Recipients cannot modify an administrator’s shared chart.
  • Deleting the source bookmark also removes its shares.
  • Improved bookmark restoration, loading state and rolling-range behaviour.

More-Info

  • More-Info now follows the same Automatic Detail and override rules as Advanced History.
  • Added independent More-Info integration settings and chart defaults.
  • Added configurable calendar and interval-picker modes.
  • Improved numeric and state chart handling.
  • Matched custom sensor timeline colours with Home Assistant Activity colours.
  • Improved state timeline and activity colour consistency.

Energy date picker

  • Fixed initialization when the Home Assistant Energy dashboard has not been configured.
  • Energy picker dependencies now load in standalone Advanced History panels.
  • Improved cold-load and panel-switch lifecycle handling.
  • Removed the redundant legacy Energy picker bootstrap.

Upgrade notes

  • Existing v1.x configuration entries are migrated automatically.
  • Existing explicit chart settings and numeric height values remain respected.
  • New numeric chart defaults use automatic height unless a height is explicitly configured.
  • Multiple panels require Statistics Graph Chart Card v4.02 or newer.
  • Statistics Graph Chart Card v3.32 or newer remains the minimum requirement for single-panel use.

Fixes and refinements

  • Fixed live graph entity-editor controls.
  • Fixed graph configuration overrides in panel and More-Info charts.
  • Fixed rolling charts disappearing during refresh.
  • Fixed state charts reserving incorrect toolbar space.
  • Fixed comparison state leaking between panels.
  • Fixed translations missing from chart option editors.
  • Improved dialogs, header spacing, tab navigation and responsive layouts.
  • Added a structured GitHub bug-report form.

Full changelog: Comparing v1.0.2...v2.0.0 · andyblac/Advanced-History-Integration · GitHub

does this card also an option to colour parts of a graph like the “fill color” in plotly graph card?
See added screenshot

for graph specific options, look at Statistic-Graph-Chart this is what renders the charts.

Advanced History v2.1.0-beta.1

What’s new

Add current panel to dashboard

The graphs in the currently active Advanced History panel can now be exported directly to a Home Assistant dashboard.

  • Uses Home Assistant’s native Add to dashboard flow.
  • Supports any editable Home Assistant dashboard and view.
  • Exports standard custom:statistics-graph-chart-card configurations.
  • Exports numeric and state-history graphs together.
  • Preserves resolved entities, attributes, entity options, colours, axes, comparisons, grouping, and graph settings.
  • Creates independent snapshots with no live link back to Advanced History.
  • Enables the Statistics Graph Chart Card’s internal date picker.
  • Synchronizes the date pickers when multiple graphs are exported together.
  • Preserves a suitable initial date-picker mode based on the active period.
  • Keeps exported cards editable through the Statistics Graph Chart Card visual editor.
  • Provides copyable YAML if Home Assistant’s native placement dialog is unavailable.

Deselected entities

The export dialog includes a Hide entities on load option when the panel contains deselected entities.

When enabled, those entities remain available and dimmed in the legend but are hidden from the graph when the card initially loads.

Layout and colours

  • Advanced History charts now use more of the available panel width.
  • Automatic colours remain distinct across Y1, Y2, and comparison series.
  • Multiple secondary-axis entities receive distinct colours.
  • The dashboard export preview uses more available width.

Fixes

  • Fixed the Compare option appearing selected after switching to a panel where comparison was disabled.
  • Fixed object-based comparison colour configurations.
  • Fixed repeated colours between primary-axis, secondary-axis, and comparison series.
  • Improved the dashboard export dialog title.

Feedback

Please report problems involving:

  • Dashboard or view selection
  • Multiple graph exports
  • Exported entity options
  • Hidden or deselected entities
  • Date-picker synchronization
  • Comparison data
  • Y1/Y2 colour allocation
  • YAML fallback

When reporting an issue, include your Home Assistant version, Advanced History version, Statistics Graph Chart Card version, browser or Companion App version, and any relevant diagnostics.

Full changelog: v2.0.1…v2.1.0-beta.1

Advanced History v2.1.0-beta.2

This beta improves the Show More workflow from entity More Info dialogs.

Changes

  • Fixed Show More opening an empty Advanced History panel.
  • Show More now opens the selected entity as a new Advanced History panel.
  • Existing panel tabs and charts are preserved.
  • The new panel is named using the entity’s friendly name.
  • Open Show more in Advanced History is now enabled by default.
  • Existing More Info configurations are migrated to enable the improved workflow.
  • Added a tooltip explaining panel-tab interaction.

Related to #8.

Testing requested

Please test the following:

  1. Open an entity’s More Info dialog.
  2. Select Show More.
  3. Confirm Advanced History opens with the selected entity displayed.
  4. Confirm any existing Advanced History panel tabs are preserved.
  5. Leave Advanced History and reopen it from the sidebar.
  6. Confirm the panel tabs are restored correctly.

Please report whether the issue affects the Advanced History panel, the More Info dialog, or both.

Updating to this beta through HACS

  1. Open HACS → Advanced History.
  2. Open the three-dot menu and select Redownload.
  3. Expand Need a different version?
  4. Select 2.1.0-beta.2 and download it.
  5. Restart Home Assistant.
  6. Hard-refresh the browser or clear the browser cache.

To receive future beta update notifications automatically, enable the repository’s Pre-releases switch entity in Home Assistant.

:test_tube: Advanced History v2.1.0-beta.3

This beta focuses on picker reliability, More Info activity synchronization, mixed-history graphs, and clearer comparison colours.

:sparkles: What’s new

  • Unavailable, deleted, or renamed entities remain visible in the target picker, making stale selections easy to identify and remove.
  • The More Info Activity log now follows the Advanced History date and interval selections.
  • When Advanced History More Info is disabled, the Activity log retains Home Assistant’s original behaviour.
  • When only one entity is visible, comparison periods temporarily use distinct colours:
    • Y1 receives the comparison palette when it is the only visible entity.
    • Y2 keeps its normal colour while a Y1 entity remains visible.
    • Y2 receives the comparison palette when all Y1 entities are hidden.
    • Normal entity colours return when another entity is unhidden.

:bug: Fixes

  • Fixed interval picker changes not updating the More Info Activity log.
  • Fixed entities containing both numeric attributes and categorical state history sometimes missing their state graph.
  • Numeric and state history now appear in separate, clearly labelled graph sections.

:broom: Maintenance

  • Removed obsolete picker implementations, unused frontend state, styles, and storage helpers.
  • General frontend cleanup following the recent picker and More Info changes.

:up_arrow: Updating with HACS

  1. Open HACS → Integrations → Advanced History.
  2. Select Update.
  3. If the beta is not offered automatically, open the three-dot menu, choose Redownload, and select v2.1.0-beta.3.
  4. Restart Home Assistant.
  5. Refresh your browser or fully close and reopen the Home Assistant app.

Make sure Statistics Graph Chart Card v3.32 or newer is installed.

:package: Manual update

  1. Download advanced_history.zip from this release.
  2. Replace /config/custom_components/advanced_history with the contents of the ZIP.
  3. Restart Home Assistant.
  4. Refresh the browser or reopen the Home Assistant app.

:white_check_mark: Suggested checks after updating

  • Confirm unavailable or deleted entities remain visible in the picker.
  • Open More Info and verify Activity follows both date and interval changes.
  • Graph an entity containing numeric attributes and state history and confirm both sections appear.
  • Enable comparisons, hide all but one entity, and confirm the temporary comparison colours behave correctly on both Y1 and Y2.

:warning: Beta notice

This is a beta release. Please report any unexpected behaviour through the GitHub issue tracker.

Full changelog: Comparing v2.1.0-beta.2...v2.1.0-beta.3 · andyblac/Advanced-History-Integration · GitHub

:rocket: Advanced History v2.1.0

Version 2.1 adds dashboard export, improves the More Info workflow, and delivers several chart, comparison, and colour-handling refinements.

:sparkles: What’s New

:bar_chart: Add current panel to dashboard

The currently active Advanced History panel can now be exported directly to a Home Assistant dashboard.

  • Uses Home Assistant’s native Add to dashboard flow.
  • Supports editable dashboards and views.
  • Exports standard custom:statistics-graph-chart-card configurations.
  • Exports numeric and state-history graphs together.
  • Preserves entities, attributes, colours, axes, comparisons, grouping, and graph settings.
  • Creates independent snapshots with no live link back to Advanced History.
  • Synchronizes date pickers when multiple graphs are exported together.
  • Keeps exported cards editable through the visual editor.
  • Provides copyable YAML when the native placement dialog is unavailable.
  • Includes an option to hide deselected entities when the cards initially load.

:magnifying_glass_tilted_left: Improved More Info workflow

  • The History section’s Show more link now opens the selected entity in a new Advanced History panel.
  • Existing panels and their current state are preserved.
  • The redirect is enabled by default but can be disabled in the integration settings.
  • Date and interval picker changes now synchronize the More Info Activity list with the displayed chart range.
  • The original Activity range is restored when the replacement chart is removed.
  • Added handling for the maximum panel limit.

:artist_palette: Charts and comparisons

  • Automatic colours remain distinct across Y1, Y2, and comparison series.
  • Comparison series receive distinct colours when only one primary series is visible.
  • Improved support for object-based comparison colour configurations.
  • Mixed numeric and state-history targets are split into their appropriate graph types, including when Single graph is enabled.
  • Improved stacked-chart endpoints when a selected range extends into the future.
  • Partial comparison periods stop at their shifted current time instead of extending values into unavailable future data.
  • Charts now use more of the available panel width.

:hammer_and_wrench: Fixes and improvements

  • Fixed the Compare control appearing selected after switching to a panel where comparison was disabled.
  • Unavailable entities remain visible in the target picker so they can be identified, deselected, or removed.
  • Added a panel-tab tooltip explaining rename and rearrangement controls.
  • Improved the dashboard export dialog title and preview sizing.
  • Removed obsolete frontend code from the previous target-picker implementation.

:package: Installation

  1. Update Advanced History through HACS.
  2. Restart Home Assistant.
  3. Refresh the browser or Companion App.

If the updated frontend does not appear, clear the browser cache or perform a hard refresh.

:warning: Requirements

Please ensure that Statistics Graph Chart Card is updated to its latest available version.

Multiple Advanced History panels require Statistics Graph Chart Card v4.02 or newer.


Full Changelog: v2.0.1…v2.1.0

in next update, add better panel exporting to dashboard…

there also a seek preak at new feature… Running Totals… charts can now use sensors that use total or total_increasing and automatically create chart for sum…

Hi Andy,
Have you looked much at history of a climate/thermostat card? The set point & actual temp lines are easy, but the standard history card seems to use the fill color of the actual temp to represent the current mode - off, cool, heat - and I’m not sure how to replicate that.

sorry, don’t fully follow can you post a screenshot… atm more-info follows HA colours as far as I tried, are you wanting Advance History Panel to do same ??

Here’s the standard climate history for my cooler:


Ugly, but the blue fill of the actual temperature shows when the cooler was on (unfilled or white is when it was off)

I’ll see what I can do…

best I could do is something like this, is this acceptable, obviously in the correct colours for HVAC.. this just an example…

this shows nighttime in grey bands…

Hi Andy,
That looks good to me.
So long as the information is there, I’m happy!
How d’ya do it?
And thanks!
Sandy