Skip to content

Can not change helper settings (timer duration, counter min/max value, etc) after renaming helper entity id #134712

Open
@rrooggiieerr

Description

The problem

After changing a helper entity id changing any of the helper settings like timer duration, counter min/max value etc, is not taken into account. Only after a restart of HA the new settings are respected.

I tested this for the Timer, Counter and Number helper.

Create a test timer:
Screenshot 2025-01-04 at 21 23 31
Screenshot 2025-01-04 at 21 24 23

Change the timer entity id:
Screenshot 2025-01-04 at 21 25 06
Screenshot 2025-01-04 at 21 25 24

Change the timer duration:
Screenshot 2025-01-04 at 21 25 54
Timer duration is still the old value, also when you start the time.
Screenshot 2025-01-04 at 21 26 28

Similar behaviour for Counter and Input Number helper.

After a restart of HA everything works as expected.

If you change the entity name and change the settings together it still works. If you first change the entity id and then the settings it doesn't work.

What version of Home Assistant Core has the issue?

core-2024.12.5

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

Any helper integration

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2025-01-04 21:25:15.062 WARNING (Recorder) [homeassistant.components.recorder.entity_registry] Cannot migrate history for entity_id `timer.test` to `timer.test_renamed` because the new entity_id is already in use

Additional information

Might be related to #115747

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