Hi everyone,
I’ve been working on a custom integration called Advanced History.
It provides a dedicated Home Assistant History-style page, but uses the excellent Statistics Graph Chart Card for graph rendering.
Why I created it
Home Assistant’s built-in History page is very convenient for quickly selecting entities and viewing their history, but its graph customization is intentionally limited.
Statistics Graph Chart Card provides much more control over graph appearance and behavior, but normally requires cards to be configured on a dashboard beforehand.
Advanced History brings the two approaches together:
- select areas, devices, or entities like the native History page;
- choose a date range using Home Assistant’s Energy controls;
- then display the results using the more configurable Statistics Graph Chart Card.
Main features
- Native Home Assistant target picker
- Select multiple areas, devices, and entities
- Automatic numeric-history and state-timeline graphs
- Area names added to duplicate entity names where needed
- Floating Energy-style date navigation
- Previous-period and previous-year comparisons
- Full Statistics Graph Chart Card visual editor
- Separate integration-wide Card Defaults
- Named bookmarks containing targets, dates, and chart settings
- User-specific bookmarks synchronized between devices
- History of recently cleared or replaced charts
- Undo and Redo for incremental chart changes
- Saved date ranges and comparison modes
- Loading feedback when restoring larger saved ranges
- Optional redirection of an entity dialog’s Show more link
- Mobile-friendly layout
- Translations for several commonly used languages
When the final target is removed, the current chart is placed in History before the page resets to Today and turns comparison off.
Screenshots
The main Advanced History page
Multiple selected targets
Date comparison
The graph visual editor
Bookmarks and History
Requirements
Advanced History requires:
- Home Assistant
- HACS is recommended
- Statistics Graph Chart Card
Statistics Graph Chart Card is a separate dependency and is not bundled with Advanced History.
If it is missing, Advanced History displays an Install using HACS link and a Retry button.
Installation with HACS
Advanced History is currently installed as a custom HACS repository.
-
Install Statistics Graph Chart Card through HACS.
-
Open HACS → Integrations.
-
Open the three-dot menu.
-
Select Custom repositories.
-
Add the following repository:
https://github.com/andyblac/Advanced-History-Integration -
Select Integration as the category.
-
Search for Advanced History and install it.
-
Restart Home Assistant.
-
Open Settings → Devices & services → Add integration.
-
Search for Advanced History and complete the setup.
Project links
Current status
The current version is 0.9.0.
This is still a pre-1.0 development release, so configuration and behavior may change while I continue testing and improving it.
Feedback, testing, bug reports, and suggestions are very welcome. When reporting a problem, please include:
- Home Assistant version
- Advanced History version
- Statistics Graph Chart Card version
- Browser and device
- Any relevant browser-console or Home Assistant log messages
- Steps needed to reproduce the issue
Special thanks
A very special thanks to cataseven for creating Statistics Graph Chart Card, and for allowing and supporting its use in this project.
Advanced History is an independent community project. It is not an official Home Assistant, Open Home Foundation, HACS, or Statistics Graph Chart Card project.
























