core: Renaming device does not rename all connected entities

The problem

This is maybe related to https://github.com/home-assistant/core/issues/32544.

I added an Aqara presence sensor via deconz. After clicking the property icon on the device page and renaming the device to motion-kitchen, HA asks if I want to rename the entity id’s. After acknowleding this, not all related entities have been renamed:

Only the presence sensor entity was renamed to binary_sensor.motionkitchen, the others kept their old entity id’s:

battery level: sensor.lightlevel_43_battery_level light level sensor: sensor.lightlevel_43

Could we unify this and rename all connected entitys? Or am I getting the confirmation dialog wrongly?

Environment

  • Home Assistant release with the issue: 0.106.5
  • Last working Home Assistant release (if known): n/a
  • Operating environment (Hass.io/Docker/Windows/etc.): hass.io
  • Integration causing this issue: deconz maybe?
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/deconz/

Problem-relevant configuration.yaml

n/a

Traceback/Error logs

n/a

Additional information

Screenshot 2020-03-06 20 48 17

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

I still see this happening in release 0.116.4

image

Sorry my bad, just quickly scanned the issue 😅

@springstanarris isn’t a deconz issue but a device / entity registry request

Thanks for the quick reply. I assume your mention has gone wrong. Did you want to mention @springstan ?