Hi together,
after updating my setup to HassOS 4.15 and Home Assistant 0.116.4 my secrets.yaml is not working anymore for an unknown reason. I did not change my configuration at all. Maybe it was already failing before the update, which I did not recognize.
Some background:
I am using a splitted setup, means my configuration.yaml is including the integrations and entities from separate yaml files. This setup worked for several months until now.
Because my static IP setup on my DHCP sever got messed up, I wanted to update also the Home Assistant configuration with the changed ip addresses e.g from 192.168.0.1 to 192.168.0.200. I then recognized, that Home Assistant is still trying to include the entity with the old IP address 192.168.0.1 although the new one is in the secrets.yaml.
What I have already tried:
- Rename secrets.yaml (trying to invalidate some cache I am not aware of)
- Restart Home Assistant
- Reboot the system
- Switch off electricity completely for some minutes
- Clean browser cache
Nothing has helped. Home Assistant is still using the old IP address. Which leads to my first question: Is there any kind of cache, which can be invalidated?
Moreover I added “logger: debug” to my secrets.yaml showing me the following:
2020-10-26 13:08:47 DEBUG (SyncWorker_53) [homeassistant.util.yaml.loader] Secret synology_nas_01_password retrieved from secrets.yaml in folder /config/integrations/..
2020-10-26 13:08:47 DEBUG (SyncWorker_53) [homeassistant.util.yaml.loader] Loading /config/integrations/secrets.yaml
But I have no secrets.yaml files in these folders. There is only my central secrets.yaml in /config. I cannot explain, why HA is trying to find the secrets in different locations. I am aware, what there is a hierarchy to search for secrets 1) same folder, 2) parent and 3) /config. It seems HA is stopping in step 1).
I would really appreciate if anyone could help. Thank you in advance.
Kind regards
tob_lip