---
title: "Import Statistics"
description: "Import Statistics is a Marketplace integration for Home Assistant. It has 1.2k installs sharing analytics, works locally and was last updated October 27, 2026."
canonical: "https://vulpo.app/integrations/marketplace/klausj1-homeassistant-statistics"
url: "https://vulpo.app/integrations/marketplace/klausj1-homeassistant-statistics.md"
last-updated: "2026-10-22"
version: "1.4"
---

# Import Statistics

> Import Statistics is a Marketplace integration for Home Assistant. It has 1.2k installs sharing analytics, works locally and was last updated October 27, 2026.

Import Statistics is an integration that imports and exports long-term statistics using CSV, TSV or JSON files. It adds actions only, with no entities or dashboard cards, and these are called from Developer Tools or from automations. One action imports hourly statistic values from a CSV or TSV file, and another accepts JSON data written into the YAML of the action. Export actions write hourly values to a CSV, TSV or JSON file, and a separate one exports a metadata-only inventory of all long-term statistics, which helps when planning a migration or comparing instances. Import settings cover the delimiter, decimal separator, datetime format and timezone, and the input file needs a unit column that matches units already stored. It works locally with every database Home Assistant supports and is set up in the UI.

Automatic summary of the README and code of klausj1/homeassistant-statistics. Something wrong, or are you the maintainer and want your own text here? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/hacs_repository/?owner=klausj1&repository=homeassistant-statistics&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=klausj1&repository=homeassistant-statistics&category=integration)

## Supports

- **Works locally**: Talks to your devices on your own network. No vendor cloud in between.
- **From the Marketplace**: Installed through the Marketplace, formerly HACS.
- **Actively maintained**: Its author released or pushed a change in the last six months.

## Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

## Actions

- **Import statistics from file**: Imports long term statistic values (1h) from tsv/csv file
  Fields: decimal, delimiter, filename, timezone\_identifier, datetime\_format
- **Import statistics from JSON**
- **Export Statistics Inventory**: Exports metadata-only inventory of all long-term statistics (no time-series data). Useful for migration planning and comparing statistics between Home Assistant instances.
  Fields: filename, delimiter, timezone\_identifier
- **Export Statistics to file**: Exports long term statistic values (1h) to a tsv/csv or a json file
  Fields: filename, entities, start\_time, end\_time, split\_by, timezone\_identifier, delimiter, decimal, counter\_fields, datetime\_format

## From the README

> A Home Assistant custom integration to import and export long-term statistics from CSV, TSV, or JSON files.
>
> Note: This integration provides actions only (no entities or dashboard cards). You call its actions from Developer Tools or automations.

From the README of [klausj1/homeassistant-statistics](https://github.com/klausj1/homeassistant-statistics#readme), [MIT License](https://spdx.org/licenses/MIT.html). Shortened.

## At a glance

- Kind: Marketplace integration
- Category: [Helpers](https://vulpo.app/integrations/category/helpers.md), Calculate a value
- Number: 1.2k installs sharing analytics; 186 GitHub stars
- Connection: Works locally
- Upkeep: Updated in the last 6 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: v5.3.0, last updated October 27, 2026
- Domain: `import_statistics`
- Source: <https://github.com/klausj1/homeassistant-statistics>
- Issues: <https://github.com/klausj1/homeassistant-statistics/issues>
- Screenshot: https://vulpo.app/integrations-img/3317d818a3e23bc5.webp (from klausj1/homeassistant-statistics's README)
- Screenshot: https://vulpo.app/integrations-img/9ae12e1478537c22.webp (from klausj1/homeassistant-statistics's README)

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-22. Source: https://vulpo.app/integrations/marketplace/klausj1-homeassistant-statistics

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/klausj1-homeassistant-statistics
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
