edwardtfn / home-assistant-sun-card

Home Assistant Sun card based on Google Weather design
MIT License
49 stars 7 forks source link

How to register with lovelace UI via yaml? #16

Closed Altycoder closed 1 year ago

Altycoder commented 1 year ago

I use home assistant via docker and have dashboards designed via yaml.

Following the instructions on this page, I've downloaded the .js file to my config/www/community/home-assistant-sun-card/ folder.

But the manual step 2 I can't complete as under the 3 dot menu there is no add resource entry.

If I try adding the card to my dashboad in yaml I get a "Custom element doesn't exist: sun-card" error.

So how do I register this custom card type with my setup (which isn't uncommon)?