Hi there,
I´m pretty new in the whole world of smart home end even newer in the Home Assistant arena. I started with HassOS for testing purposes. During onboarding I choosed a user name (“admin”…) I wanted to change afterwards - which seemed to not be possible using the UI.
So I scanned the /config/.storage directory and found some config files associated with user management like
- (!) auth
- (!) person
- (!) auth_module.totp
- (!) core.entity_registry
- auth_provider.homeassistant
- frontend.user_data_(LONG-ID)
Where the first four (bold) are the most relevant ones. So I renamed the user account in those files (I think only in “auth” and “person”), restarted HassOS and used the new username for logging in (still owner).
BUT that (stupid) action seems to have broken something. E. g. now
a) the person badge shows “n. a.” (not available) even the device tracker associated to the person entity states the person is at home
b) when clicking on the person badge I get a message “entity not available, it´s widowed…”
c) the entity page shows a “recovered” state next to the person entity
So my question is: what is the easiest way to fix that (without loosing data)?
- Can I fix the obviously missing link between the user accound and the person entity?
- Can I redo the onboarding without loosing all my data?
- Is there some other config storage next to the above mentioned files?
I already tried the procedure in https://www.home-assistant.io/docs/authentication/#lost-owner-password but it didn´t help.
Meanwhile I build up many things and don´t want to start from scratch with loosing all my data (entity/device/integration data, history, lovelace dashboards, …) so I´d prefer to fix what I stupidly crashed 
I searched the whole community and documentation which only provide the “lost password” information, nothing related to my situation unfortunately. I hope this forums section is fine for this issue by the way.
