I (believe) that when pairing all my zigbee devices, I did the same thing.
Paired the device, and on the add device screen, immediately gave it a friendly name.
But looking at my entity list, I seem to have a real mix of entity names, some of which have adopted the devices friendly name, and some that are just auto-generated, and I’m not sure why.
In some cases, some of the entities have a friendly name, and some are autogenerated… for the same device ?
When you rename a device, there is an option to update the entity_id. Make sure you click Yes. All entities with a common underlying name will be changed to your device name.
I’m not sure if you can get it to work again, there may be some underlying flag that keeps them in sync. You can try to rename the device to Lumi Lumi Motion AC02 without renaming the entity_id’s, then rename the device after and click yes to the entity_id question.