Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled device entities keep original name after renaming device #22424

Open
4 tasks done
mrspouse opened this issue Oct 18, 2024 · 0 comments
Open
4 tasks done

Disabled device entities keep original name after renaming device #22424

mrspouse opened this issue Oct 18, 2024 · 0 comments

Comments

@mrspouse
Copy link

mrspouse commented Oct 18, 2024

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

When renaming an entity disabled entities are not renamed

Describe the behavior you expected

All entities containing the old device name should be renamed, not just active ones

Steps to reproduce the issue

  1. Open device
  2. Click Edit in Top Right
  3. Update Device Name
  4. Do you also want to rename the entity IDs of your entities? - click RENAME...

What version of Home Assistant Core has the issue?

core- 2024.10.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

Proxmox 8.2.4

State of relevant entities

Example: Add new Motorola e14 phone. Device name 'moto e14'. Sensors include device name, e.g.
sensor.moto_e14_last_notification [enabled in companion app]
sensor.moto_e14_accent_color [disabled in companion app]

If I disable the accent_color sensor then rename the device (to 'M Phone') the disabled sensor id changes but the default name remains as the original. Enabling the sensor keeps the original name. See screenshots.

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

Disabled sensor:
Screenshot 2024-10-18 at 11 20 11
After enabling sensor:
Screenshot 2024-10-18 at 11 23 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant