Light Reilluminator: Record the history of light attributes for presence simulation

Do you simulate light activity while you’re away from home? If so, I built an integration you may be interested in. Announcing HA Light Reilluminator!

HA Light Reilluminator

HA Light Reilluminator records the history of light attributes, such as brightness or color temperature, in your recorder database.

Home Assistant used to record these attributes by default, but since 2024.8, the attributes have been removed from the recorder history. This integration restores them.

Why Record Light Attributes?

The primary reason is for accurate light presence simulation. Knowing the historic brightness and color temperature of your lights makes for a more convincing simulation.

This integration was built to be used alongside the component presence_simulation, but it will work for any uses case that needs light attributes from Home Assistant’s recorder database.

Downsides to Recording Light Attributes

Home Assistant originally removed light attributes because they can take up significant space in your recorder database. They specifically called out:

We have at least three cases where we can generate a massive amount of data in state_attributes:

  • Automations that frequently change light colors
  • Lights that report color changes during effects
  • Custom integrations like adaptive lighting that frequently change color temp

If these situations do not apply to you or you configure filters to exclude lights with frequent state changes (for example, Hue lights synced to your TV), the storage requirements for light attributes are minimal.


I developed this over the end-of-year holidays, and it’s been working fantastically. If you’re interested in trying it out for yourself, the installation directions are available in the GitHub repo.

1 Like