Access sqlite database from python

Hi,

I am trying to access sql lite from my addon through python. I have configured the map option in the config file:

map:

  • config:rw

In python I have tried a lot of different paths but the only one that doesn´t give any error is this
conn = sqlite3.connect(‘home-assistant_v2.db’)

On the other hand that database seems empty.

Where is the database located and how can I access in python?

Thanks so much.

Hi , I have the exact same problem. Dit you ever find a solution to it ?
Best regards,
H.