Home Assistant history CSV times do not match the local-time chart
Home Assistant users report that history charts show local time while downloaded CSV timestamps use UTC, making a selected interval and its exported rows harder to compare.
What someone actually noticed
A Home Assistant user says that a history graph and the CSV downloaded for the selected period do not appear to line up: the graph uses the local display time, while the export uses UTC. Another user compared a Europe/Berlin history view with its CSV after a daylight-saving change and found a different offset in older rows. A separate forum question asks how to convert exported UTC timestamps to the local display time.
The frontend issue was closed with an explanation that UTC export is intentional for machine-readable data. A maintainer likewise closed the Core report, saying no change is planned and that it is not a bug. The gap here is an understandable comparison or conversion workflow, not a claim that the stored timestamps are wrong.
Read the original signal: Home Assistant Core GitHub issue and maintainer responseWays to solve it
Without new software, keep the original UTC CSV, check the zone shown in the Home Assistant interface, and use a spreadsheet date-time conversion for comparison. Test dates on both sides of any daylight-saving transition instead of applying one fixed offset to the whole file.
If comparing exports to charts remains cumbersome, try a small offline preview and sidecar export with explicit UTC and local columns. Do not modify Home Assistant storage, promise to fix its range selection, or silently replace the raw UTC timestamps.
A small app you could build
History Time Lens
A local CSV preview that displays original UTC and chosen local times side by side, highlights daylight-saving offset changes, and exports an optional comparison copy without changing the source file.
Who might use it: Home Assistant users comparing downloaded history with the on-screen graph
- Open a downloaded history CSV locally without account access or upload
- Choose an IANA time zone and preview UTC and local timestamps side by side
- Flag repeated or skipped local hours at daylight-saving transitions
- Save a separate CSV with both time columns while preserving the original
What to verify before building
- Ask the original reporters whether a clearly labeled UTC export and spreadsheet conversion already resolve their comparison task.
- Test actual Home Assistant history exports from several versions and time zones, including daylight-saving transitions and repeated local hours.
- Measure whether users can match a chart interval to exported rows faster with a dual-time preview than with their current spreadsheet workflow.
Reality check
These are independent reports of confusion, not evidence of a large market or willingness to pay. The product deliberately keeps UTC as the canonical timestamp; changing it could damage diagnostic or machine-readable use. A spreadsheet conversion or clearer upstream export labeling may be sufficient, and the exact CSV variants and daylight-saving edge cases need testing before a converter could be trusted.
An observation is not market validation. Check other reports and talk to the people who experience this before committing more than a tiny experiment.