Skip to content

andyblac/Advanced-History-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced History icon

Advanced History

A Home Assistant-style History panel with more powerful, configurable graphs.

Home Assistant custom integration HACS custom repository Version MIT licence

Note

Advanced History is currently in pre-release development. Configuration and behavior may change before version 1.0.0.

What is Advanced History?

Advanced History provides a dedicated Home Assistant sidebar panel that keeps the familiar History-page workflow while using Statistics Graph Chart Card for graph rendering. It can also optionally replace the native History graph inside entity More Info dialogs.

It includes native target selection, Energy-style date navigation and comparisons, visual graph editing, reusable bookmarks, chart history, Undo/Redo, and independent defaults for the sidebar and More Info graphs.

Why was it created?

Home Assistant's built-in History page is quick and convenient, but its graph customization is intentionally limited. Statistics Graph Chart Card offers much more control, but normally needs a dashboard card to be configured in advance.

Advanced History brings those two ideas together: select targets as you would in History, then explore them with the more capable graph card without building a separate dashboard for every combination.

Highlights

  • Select multiple areas, devices, or entities with Home Assistant's native target picker.
  • Display numeric history and state timelines.
  • Navigate dates and compare periods with native Energy controls.
  • Edit the current chart through the Statistics Graph Chart Card visual editor.
  • Define integration-wide Card Defaults through YAML or the visual editor.
  • Save complete charts as user-scoped bookmarks synchronized across devices.
  • Restore recently cleared charts and use Undo/Redo for incremental changes.
  • Optionally open entity-dialog Show more links in Advanced History.
  • Optionally replace native entity More Info History graphs with independently configured Statistics Graph Chart Card graphs.
  • Match Home Assistant's numeric, state, axis, grid, theme, and timezone behavior in More Info dialogs.

Requirements

If the graph card is missing, Advanced History displays an Install using HACS link and a Retry button.

Installation

HACS

  1. Install Statistics Graph Chart Card v3.30 or newer through HACS.

  2. Open HACS → Integrations.

  3. Open the three-dot menu and select Custom repositories.

  4. Add this repository as an Integration:

    https://github.com/andyblac/Advanced-History-Integration
    
  5. Search for Advanced History and install it.

  6. Restart Home Assistant.

  7. Open Settings → Devices & services → Add integration.

  8. Search for Advanced History and complete setup.

  9. Confirm the integration contains separate Advanced History and More-Info services, then open Advanced History from the sidebar.

New installations create both services automatically. The More Info graph replacement has its own enable switch, optional calendar, YAML defaults, and visual editor.

Manual

  1. Install Statistics Graph Chart Card v3.30 or newer and register it as a dashboard resource.
  2. Copy custom_components/advanced_history into /config/custom_components/advanced_history.
  3. Restart Home Assistant.
  4. Add Advanced History from Settings → Devices & services.

Existing installations from before 0.6.0

After updating, open Settings → Devices & services → Advanced History, select Add service, and complete Set up More-Info. This creates the optional More Info graph replacement without changing the sidebar panel configuration.

Documentation

Full setup, usage, configuration, and troubleshooting documentation is available in the Advanced History Wiki.

Special thanks

Special thanks to cataseven for creating Statistics Graph Chart Card, and for allowing and supporting its use in this project.

Graph rendering and the visual graph editor are provided at runtime by Statistics Graph Chart Card. It is not bundled with Advanced History and remains licensed under the GNU General Public License v3.0.

Native controls and localization are supplied by the Home Assistant frontend. HACS provides the optional community installation and update channel.

Licence and project status

Advanced History was created by andyblac and is released under the MIT Licence.

This is an independent community project. It is not an official Home Assistant, Open Home Foundation, HACS, or Statistics Graph Chart Card project, and is not endorsed by those projects or their maintainers.

About

A configurable Home Assistant History panel powered by Statistics Graph Chart Card.

Topics

Resources

License

Stars

6 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors