I have the following AppDaemon app:
grocy_automator:
module: grocy_automator
class: GrocyAutomator
grocy_api_key: !secret grocy_api_key
in my secrets.yaml I have updated grocy_api_key
, for simplicity, it used to be
grocy_api_key: "old_key"
and I have since updated it to
grocy_api_key: "NEW_key"
But in the GrocyAutomator
class in grocy_automator.py
this:
self.log(self.args['grocy_api_key'])
logs "old_key"
.
I have restarted Home Assistant multiple times, and done a “find an replace” for any other mentions of "old_key"
(replaced to "NEW_key"
) both in all of config
and all of AppDaemon
Samba mounts.
But it keeps showing the old value from secrets.yaml no matter how many times I restart HA.
BUT restarting AppDaemon addon does make it load new secrets
value. Is this expected behavior? I would have thought that a HA restart included an AppDaemon restart?