---
title: "Last Changed Keeper"
description: "Last Changed Keeper is a Marketplace integration for Home Assistant. It has 63 installs sharing analytics, works locally and was last updated October 1, 2026."
canonical: "https://vulpo.app/integrations/marketplace/hisweid-last-changed-keeper"
url: "https://vulpo.app/integrations/marketplace/hisweid-last-changed-keeper.md"
last-updated: "2026-10-22"
version: "1.4"
---

# Last Changed Keeper

> Last Changed Keeper is a Marketplace integration for Home Assistant. It has 63 installs sharing analytics, works locally and was last updated October 1, 2026.

Last Changed Keeper restores the real last changed time of entities after a Home Assistant restart. Normally that value resets to the restart time, so the integration reads the true start of each entity's current value from the recorder and writes it back directly on the entity, without extra sensors. It only backdates entities whose value did not change across the restart, and it leaves entities alone once they are no longer fresh. Selection can cover all entities, or specific domains, labels, areas and individual entities, with an exclusion list, and it can also restore last updated and the last triggered time of automations and scripts. It adds a restore now button, a sensor for restored entities, and a verify action that compares live values with stored ones without changing anything. It runs locally and is set up in the UI.

Automatic summary of the README and code of hiSweid/last\_changed\_keeper. 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=hiSweid&repository=last_changed_keeper&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=hiSweid&repository=last_changed_keeper&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.

### Last Changed Keeper

- **Track all entities (ignores domains/entities/labels/areas below)**
- **Domains**
- **Additional individual entities**
- **Labels**
- **Areas**
- **Excluded entities**
- **Only patch if last\_changed is younger than (seconds)**
- **Periodic snapshot every (seconds, 0 = off)**
- **Also restore last\_updated**
- **Also restore automation/script last\_triggered**
- **Self-check a few minutes after boot (logs mismatches)**
- **Retry delays in seconds (comma-separated)**
- **Bulk history query batch size (entities per query)**

Also asked when changing the connection.

### After setup

- **Track all entities (ignores domains/entities/labels/areas below)**
- **Domains**
- **Additional individual entities**
- **Labels**
- **Areas**
- **Excluded entities**
- **Only patch if last\_changed is younger than (seconds)**
- **Periodic snapshot every (seconds, 0 = off)**
- **Also restore last\_updated**
- **Also restore automation/script last\_triggered**
- **Self-check a few minutes after boot (logs mismatches)**
- **Retry delays in seconds (comma-separated)**
- **Bulk history query batch size (entities per query)**

Texts from the code of [hiSweid/last\_changed\_keeper](https://github.com/hiSweid/last_changed_keeper).

## Entities

- **Buttons**: Restore now
- **Sensors**: Restored entities

## Actions

- **Restore now**: Runs a restore pass immediately and writes back the real last\_changed for all currently fresh entities.
- **Verify**: Compares the live last\_changed of every currently watched entity against the value derived from the recorder/store, without patching anything. Returns any mismatches found - useful for diagnosing "the value looks wrong" reports.

## Troubleshooting

- **Diagnostics**: Downloads a diagnostics file to attach to a bug report.
- **Repair notices**: Notices it can show in Settings, Repairs:
  Last Changed Keeper: incompatible HA version

## From the README

> Keeps the real "last changed" time of your entities after a Home Assistant restart. Normally last\_changed jumps to the restart time ("2 seconds ago" instead of "17 minutes ago"); this integration restores the true time from the recorder — directly on the entity, no extra sensors.

From the README of [hiSweid/last\_changed\_keeper](https://github.com/hiSweid/last_changed_keeper#readme), [MIT License](https://spdx.org/licenses/MIT.html). Shortened.

## At a glance

- Kind: Marketplace integration
- Category: [Sensors](https://vulpo.app/integrations/category/sensors.md)
- Number: 63 installs sharing analytics; 29 GitHub stars
- Connection: Works locally
- Upkeep: Updated in the last 6 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: v0.9.16, last updated October 1, 2026
- Domain: `last_changed_keeper`
- Source: <https://github.com/hiSweid/last_changed_keeper>
- Issues: <https://github.com/hiSweid/last_changed_keeper/issues>
- Screenshot: https://vulpo.app/integrations-img/cc424992ef5eff76.webp (from hiSweid/last\_changed\_keeper's README)
- Screenshot: https://vulpo.app/integrations-img/e81038147ed34d67.webp (from hiSweid/last\_changed\_keeper's README)

In Vulpo: Button card, Chart card, Apple Watch

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/hisweid-last-changed-keeper

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/hisweid-last-changed-keeper
- 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
