I am new to this HASS.io and also coding trying to figure it all out, i’m good with PC hardware but coding is not something i have done, trying to learn as i go.
I have api_password: 123456 and can log in just fine. if i change it to api_password: !include secrets.yaml I can’t log in at all after reboot. i have the line api_password: 123456 inside the secrets.yaml file
If possible how do i use the !include ****.yaml command for various things?
when you want to use values from the secrets.yaml file you have to reference them like this:
api_password: !secret http_api_password
you can add more key value pairs to the secrets file and use them identically, eg. define pyro: helloworld in your secrets.yaml and use it with !secret pyro when you need it.