I can totaly agree. History is one of the core functions of Home Assistant. It cannot keep up with other systems and does not comply with the otherwise very modern smart home software. I tried myself in understanding the Source Code and was able to add at least a Previous and Next-Button to be able to move between the timeranges. It is Part of Home Assistants since the 2024-12-Release, see: add previous and next button to History and Logbook by boern99 · Pull Request #22802 · home-assistant/frontend · GitHub. We now try to improve the styles, so that the buttons can also be used on mobiles. As a next step, I currently also try to add buttons for Zoom-In and Out. Buttons are a quick win because they can be added relatively easily into the existing source code. To be able to scroll or zoom: This is more demanding: Looks like a new base would probably be necessary.
I also added some Information on this on my website[New: Home Assistant history: previous and next buttons]
Other aspects of the History card (I really don’t want to add a fresh WTH as it dilutes the votes)
Reorder the entities
deselect entites from view (but don’t delete from card).
more flexible time/date picker - e.g. not just last year but last 12 months or last x months or since date x (same for days/hours laxt 7 days 12hrs etc - this is different to ‘last week’).
Hi @baz123
Thanks for your interest and your contribution to improving this card in HA. There are certainly many other good and useful ideas that could be brought in.
Here just one more example:
The ability to hide the multiple timestamps in the X-axis and display them as desired. This would also make the graphs clearer, as I often find it pointless to see this information multiple times on one card, especially when you could work with the “readout cursor”, which I aske for in the linked feature request above
It would be ideal, for example, if you could flexibly choose how the time axis stamps are displayed:
Either as it is now, with one time axis stamp per graph.
Or only display it once (top or bottom or in the middle of several graphs)
Or display it twice (top and bottom)
Or display it three times (top, bottom and middle)
Or maybe even display it dynamically, so that there is only one timeline stamp, but it jumps when you scroll and so stays always visible.
Of course, it all depends on how many graphs you want to display at the same time and how you work with them, but it could definitely be helpful.
I use PlotlyJS card to explore history. The data selection engine is awesome, it allows you to select any data from HA, transform and combine them and present them in a nice UI. It’s not built-in but it wiill do the job until the history graph evolves.