Skip to content

When renaming a device, dialogue box for auto renaming entities is not displayed #26347

Description

@mateuszdrab

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Similarly to #19924, renaming a device does not show the entity renaming confirmation dialog and the entities are not renamed. Advanced mode is enabled and I tried toggling it off and on.

I experience the issue over multiple instances of HA, also one which I ran in safe mode. I think this started happening recently, perhaps after the update that changed the way in which devices and integration entries show or when the 'rename entity IDs' option was added in the menu.

I show two examples, one where the rename feature completely fails to rename the entities and other one where an already renamed device has some inconsistency in entity naming that can only be corrected manually.

Describe the behavior you expected

I'd like to be able to rename a device and have it's entities renamed as well.

Steps to reproduce the issue

Example one

  1. Open the rename dialog using the pencil button
Image
  1. Put new name in and click OK
Image
  1. Go into device
Image

The entities are not renamed and no dialog to do so was shown

Friendly name remains with the old name on all entities

Image

The rename entity IDs option does not even offer to rename any of the entities

Image

When I rename it back to the original name, the device name is removed from the prefix of the friendly name

Image

However, if I go ahead and manually change the friendly name of the entity like below:

Image

I am now given an option to rename the entity IDs as well

Image

Example two

  1. A previously renamed entity has some but not all of its entities renamed. In this case, the 'Living Room' camera was renamed to 'Living Room Tapo Camera'. The prompt did appear at the time; however, not all entities got renamed.
Image
  1. Clicking 'rename entity IDs' results in
Image
  1. Manually renaming one of the entities as
Image
  1. Now, suddently, 'rename entity IDs' can rename it
Image

What version of Home Assistant Core has the issue?

2025.7.4

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

Edge 138

Which operating system are you using to run this browser?

macOS 15.5, Android, iPhone

State of relevant entities

Problem-relevant frontend configuration

JavaScript errors shown in your browser console/inspector

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis has been marked as stale by the automated bot

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions