Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation.

Screenshots From the README of HamletDuFromage/ha_real-last-changed.

config

About

Real Last Changed is an integration that creates sensors tracking when other entities last changed state. It is meant to keep the last changed time useful after a Home Assistant restart, since the built-in value does not persist across reboots. Each sensor logs the last time an entity went from one valid state to another and keeps the previous valid state as an attribute. Setup happens in the UI, where a single sensor can be added for one chosen entity with an optional name. Another option matches entities by a pattern, with an optional regular expression mode. Both options accept optional from and to states, and the integration works locally.

Automatic summary of the README and code of HamletDuFromage/ha_real-last-changed. Something wrong, or are you the maintainer and want your own text here? Get in touch

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.

Provides

  • Sensors

Setting it up

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

Add Single Sensor

  • Entity to track
  • Name (optional)
  • From state (optional)
  • To state (optional)

Pattern Matching

  • Pattern (matches entity ID)
  • Use regex
  • From state (optional)
  • To state (optional)

Texts from the code of HamletDuFromage/ha_real-last-changed.

From the README

This component creates entities that track the last time an entity's state has actually been changed. This is meant to make last_changed useful even after a HA restart.

There have been multiple feature requests over the years to make the last changed state persist reboots.

  • Logs the last time an entity went from one valid state to another
  • Stores the last valid state in previous_valid_state attribute
From the README of HamletDuFromage/ha_real-last-changed, MIT License. Shortened.

Shows in Vulpo

Chart card, Apple Watch.

Information

Installs
88 sharing analytics
GitHub stars
40
Connection
Works locally
Upkeep
Updated in the last 6 months
Version
v0.7.0,
Category
Helpers, Store a value
Kind
Marketplace integration
Needs
Needs the Marketplace (HACS on 2026.10 and older)
Domain
real_last_changed

You might also like

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. About these numbers