My question is to better understand this process, and best practice.
Current running info:
Core 2023.11.3
Supervisor 2023.11.6
Operating System 11.1
Frontend 20231030.2
Here is a base scenario:
I use HACS to add a repository and install the “MOD”. The JS files any other needed resources are then stored in:
/homeassistant/www/community/ADD-ON NAME/FILES
Now for the discrepancies, when visiting GITHUB Read.me file, it states that the files should be stored in the config/www and that I should manually add the resources to the “Configuration.yaml” file.
My issue with this is that I am not sure how the HA is dealing with the information.
For example, when using NAGIOS, there is a command that says look in a folder and find any files that end with *.cfg
Is there something like that in HA that says store all data in config/www and look for JS files?
Should the data reside at the root of the www or can it sit further in to better organize and will HA recursively check?
The next question is about the manually adding the info to the YAML file.
In my experience in applications, you do not write to the main config file, you create a secondary file to better organize as well as protect the original configurations. Could I create a second Config file, call it “addons.yaml” and have HA pull from that?