HACS and using ui-lovelace.yaml help

Guys,
There couple of things I want to install from HACS and it says I have to add a line to ui-lovelace.yaml .
I don’t know how to do this, I know how to add to my configuration file but have no idea how to add to ui-lovelace.yaml.

For example, trying to install the Button Card and says I need to add this to ui-lovelace.yaml as below:

resources:

  • url: /hacsfiles/button-card/button-card.js
    type: module

Does HACS add this line automatically or do I add it manually and how would I do this?

Thanks

you add it manually. If you’re not in yaml mode you have to go into raw configuration mode and add it at the top in the resources section.

1 Like