I’m using mysensors and HA.
I have to use Json persistent file but it doesn’t work.
With the line of persistence_file: ‘mysensors.json’
it doesn’t work.
HA create a mysensor1.pickle…
How can I have the json file?
I’m using windows 10 and last version of HA and python.
Please!!!
You should enter the full path to the file. Make sure the directory exists and that hass has write access. See below for an example. Not tested, but should work. Note the forward slashes.
it should be exactly like this, (2 spaces more then the device line)
after you saved the config, close HA, delete the old mysensor file and restart HA.
look out that you dont have a backupfile somewhere because he will take that one
if it does work pleas copy/paste the part of the config.yaml here so we can look at it.
The YAML syntax and format is not specific for the mysensors component or the persistence_file entry. You will learn YAML and get to know it better after a while of using home assistant.