Access to Database

Hi.

I have reprogrammed and renamed some of my devices. I’ve changed their purpose and the external (eg I2C) sensors attached to them.

Still their old names and auto-discovered devices appear in the registry.

I wish to delete them. If I delete the registry they reappear. Are tehy in teh SQL database? Can I delete them using the information here: https://www.home-assistant.io/docs/backend/database/ ?

Second question: I wish to obtain sensor log data from last week. Can it be obtained from the same database?

Thanks.

The database is merely history and recording. It doesn’t house the registry. The entities are in your .storage directory in the registry files.