Skip to content

customize.yaml not applied until entity is edited via UI — inconsistent refresh behavior #150079

@nbjsnb

Description

@nbjsnb

The problem

The problem

When customizing entity attributes using customize.yaml, the changes do not take effect — even after clicking “Reload Location & Customizations” or restarting Home Assistant Core.

However, if I go into the UI and edit the entity manually (e.g. change the friendly_name), then suddenly the settings in customize.yaml get applied.

This behavior is confusing and inconsistent. It seems the entity registry does not always refresh or re-apply customizations unless touched via UI.

What version of Home Assistant are you running?

core-2025.7.0

Steps to reproduce

  1. Add a valid customization to customize.yaml, e.g.:
sensor.xiaomi_cn_899825387_rrar00_compressor_frequency_p_12_11:
  friendly_name: compressor_frequency
  state_class: measurement
  device_class: duration
  unit_of_measurement: Hz

2.Click "Reload location & customizations" or restart Home Assistant

3.Nothing changes

4.Go to UI → Edit entity → Modify anything → Save

5.Suddenly the customization is applied

What version of Home Assistant Core has the issue?

core-2025.7.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions