As of 2021.4 it appears that we are no longer can use secrets in automations.yaml files. When I try to open any automation for editing via Configuration->Automations I get a “Error loading automation (500)” popup and this in the logs:
File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 306, in secret_yaml
raise HomeAssistantError("Secrets not supported in this YAML file")
homeassistant.exceptions.HomeAssistantError: Secrets not supported in this YAML file
Previously I use secrets to hide sensitive information in my automations.yaml about my network architecture when posting my config to GitHub.
Is there a new recommended way to use secret values inside of automations?