I havenât tried it yet. but do I understand correct that (if i copy your way) I should add a file named âincludesâ and in that folder I should add the rest of the files? eg history.yaml?
and one more please.
how do I create the history.yaml file with configurator?
Everything is assumed to be a subdirectory of your base config. If youâre using hassio or home assistant docker, that full PWD is /config, so my files and directories are located in /config
You can do whatever you like. You can name the directory hefeweisen if you like. It doesnât matter. You donât have to put them in subdirectories if you donât want. You can leave them in the root of the config directory. The thing about it is, if you stick them in directories, your configuration yaml has to know that the file it is looking for is in that subdirectory.
Strange, I use home assistant docker and my base path is called /configuration and in this path is the configuration.yaml and a folder config, and in the folder config are all my other files.
Then you have told home assistant to use the path /configuration for your docker run. The DEFAULT docker image looks at /config, per the documentation.
Ah now I understand! Stupid me, you are right, I mapped the volume /configuration to /config in the docker-compose file and if I commit it to Github it will take the name from my volume. Thanks for the insights!