Best practices in configuration

Hello,

I am very new in the home assistant world and I would need some advices to setup it.
I have read the tutorials in the web site. I am using home assistant inside docker (not the supervised one). As soon as I need a very specific plugin/integration, I prefer to setup my own container.

I have understood that there are some configurations in the configuration.yaml and others in the .storage folders, for the configurations done through the front end. I would like to understand really the pro and cons of each configuration.

In my mind, I would prefer to only use the configuration.yaml file (with other included files). I would say it is easier to follow modification through git. However I might have only a narrow view.

In addition, is there any way to convert the “storage” configuration into a yaml configuration ?

Thanyou in advance,
Bill

No.

There’s not much point in comparing them because you can’t decide which one you can use; that choice is made by the integration itself.

Last year, the development team defined guidelines that most integrations should be configured via the UI therefore their configurations are stored in the hidden .storage folder (in JSON format). Integrations that used to be configured in YAML are being migrated to the UI.

1 Like