Recorder DB Path error

Hello,
I try to limit the history recording of my HA.

But I thing I do a error in my db_url, I use the Sqlite and Hassio.

Somebody know the correct path ?

Recoder DB

recorder:
purge_keep_days: 5
db_url: sqlite:////config/home-assistant_v2.db
include:
domains:
- sensor

Thx

You don’t need to configure the DB path if you’re using the default DB.

1 Like

If you’re using the default SQLite database that HA creates, you do not need to specify the db_url:

Edit: @Tediore ninja’d me

2 Likes

My bad lol

2 Likes

Ok thx, it’s because I see in the doc (wiki) required for this field.

It says db_url is optional.

Yes my bad.

I’m stupid :frowning:

Mmm, no. You’re human.

1 Like