You’re not supposed to add resources: to configuration.yaml, you have to edit the Lovelace config. In your Home Assistant home page, click the menu at the top right, click Configure UI, click the menu again, then click Raw config editor. Finally, add the resources: line there with the card info.
Hi,
I am just starting with lovelace manual and read you comment here about addit it to this file but I am unsure as to where to add it. My file is 350 lines long so and I think all of it has been auto generated.
Is it added in column zero?
Please excuse my ignorance but trying to learn.
Hi,
I’ve also started using HA more and more. Adding more things but also getting more confused.
I’ve added a theme via HACS and added resources in my configuration.yaml and it works…
but know i get an error that my configuration file is incorrect about the resources. but first it worked when i checked my configuration file.
The other thing is that i can’t save automations. That’s not completely correct, i can save them and they show up in my automations.yaml file but they don’t show up in the gui.
And to top it off, when i try to remove the lines from my automations.yaml, that doesn’t work. and i end up restarting the ssh because i can’t quit nano editor.
So the resources go in the ui_lovelace file when you edit the dashboard and just put them at the top?
Has anybody else had these issues? if so, any idea how to fix them?
Thanks!!
Henk
You’re formatting is incorrect in your automation file. Run the config check and fix the errors. Don’t use nano. You’ll spend 90% of the time fighting nano and it’s limitations over actually modifying your information. Setup samba, use the vscode addon, or scp to access the files with a text editor.
Oke. thanks!
Finally deleted some stuff from the automations.yaml file and voila, i can add new ones.
Somehow that light sensor automation broke things.