So I am trying to split my config file before it gets to overcrowded. Today I was trying to implement the secrets file. I fought for two days to get the automation file working and I still do not know how I pulled that one off. Can someone take a quick looks and see where I have messed up.
Welcome to the Community, @ksu1971! As @aidbish mentioned, you need to have the secrets file (secrets.yaml) in the config directory - this is the same one your configuration.yaml is in. For your configuration, it would look like this:
personal_email: [email protected] # obviously made this up
wyzeapipassword: my_secret_password
Make sure the spacing is spot-on, as yaml is VERY particular about spacing - bit me a number of times. No space at the beginning of the above line and just one space after the colon.
Hope this helps! If you continue to have trouble, post a portion of your secrets.yaml file (with the secret stuff replaced with dummy characters, which I’m pretty sure you already know…).
On a totally unrelated note, are you a K-State alum? I taught there for 20+ years.
EDIT: I should have asked if you run the config validation checker in Configuration -> Server Controls. This will tell you a little more about anything wrong in the configuration file structure, including the include files. Ideally, you want to see this result:
The subdirectory config-include-files is in the config directory. Then, for example, I have a number of files that have all my automations. They are all in the config-include-files/automations/ subdirectory that looks like this:
So did my wife! She decided to get an MBA while we were there. I think they are in a new building now, but not sure. We loved it there, but the call of family and a career change brought us back to Chicago - we miss Kansas!
These three are indented too far, they don’t belong in the homeassistant: block, they each have their own block so need to be indented on the same level as homeassistant: