I have a process that runs at startup (NodeRed or HA) that reads my secrets.yaml file and creates global context variables for all entries. This allows me to access secrets data easily in node red.
To initially get to the secrets file, it uses a read file node with the path set to /homeassistant/secrets.yaml.
Previously, this was set to /config/secrets.yaml and when home assistant updates recently change the root name to homeassistant, all my node red flows that utilised the global variables from secrets.yaml failed as the file was not found.
It seems logical to me that I should be able to use some form of variable for the /homeassistant/ root folder name but that would need to be accessible to Node Red on initialisation. Can Node Red give me that info in some kind of system variable and, if so, how?