Xiaomi Definitions

Hi
Can someone tell me where Hass stores entities definitions overrides?
I deleted completely the mysql db but after rebooting without any intervention all old names are restored…???

Also: when I included the sensors for the first time inthe platform a badge for each of the properties was created with xiaomis internal ID:
For an Aquara human sensor I had one badge with lx (illuminance) and one for the motion binary sensor.
Now I have nothing although if I look into the entity registry (icons below inthe side tab) I can find all objects.

If there’s a way to completely reset the entities associated with a platform I would gladly do it since my xiaomi stuff is a little bit messy.

inside homassistant config folder there’s a “.storage” folder.

1 Like

Thankssss!