I want to relocate my zigbee.db file. So I copied the db file and updated configuration.yaml:
zha:
database_path: /recorderdb/zigbee.db
Restarted HA and sure enough I see -wal and -shm files created at the new location…however the original config/zigbee.db file also has -wal and -shm created and these are the only ones that are being written to.
I tried a different tack - new location and name:
zha:
database_path: /recorderdb/zigbee_new.db
Restarted HA and I see a _new DB file created at my new location together with -wal and -shm files but as before it is config/zigbee.db that is being updated. The files at my new location are never updated again (according to timestamps).
How do I get HA to NOT write to config/zigbee.db??