Database - Home Assistant
https://www.home-assistant.io/docs/backend/databaseHome Assistant uses database to store events and parameters for history and tracking. The default database used is SQLite and the database file is stored in your configuration directory (e.g., <path to config dir>/home-assistant_v2.db); however, other databases can be used.If you prefer to run a database server (e.g., PostgreSQL), use the recorder component.
Database - Home Assistant
www.home-assistant.io › docs › backendHome Assistant uses database to store events and parameters for history and tracking. The default database used is SQLite and the database file is stored in your configuration directory (e.g., <path to config dir>/home-assistant_v2.db); however, other databases can be used.