Change (or alias) autogenerated entity IDs by ZHA

Hi there,
I’ve created Ansible recipes to install and configure my whole HASS setup mainly for disaster recovery.
I created automations based on recognizable entity IDs (e.g. living room, bedroom, etc.) after pairing my devices by renaming them from the UI.

This is fine for a manual setup, but not for an automated one. I’d prefer not to use the generated names. I see that someone else talked about using an alias but I understand that’s not implemented. Using an alias would be even better, but having something for automating entity ID renaming would be fine too. REST APIs don’t provide either though AFAICS.

What do you suggest?
Thanks!

Answering to myself: having investigated further about this, I ended up archiving (under version control in my case) the .storage directory. That’s the only sane way to backup a HASS configuration anyway.

EDIT: since the yaml announcement this can be even more sure.