You can add custom repositories to HACS as long as they have the proper folder structure. I have quite a few custom integrations that I don’t publish to anyone because I don’t want to support them. I still add them via HACS and use HACS to manage updates.
You can just add it manually: Download the home-assistant-sun-card.js file from the latest release available and save it in your configuration/www/community folder.
Go to Configuration > Lovelace dashboard > Resources in Home Assistant and click on Add resource.
Add /local/community/home-assistant-sun-card.js to the URL.
Choose Javascript Module as Resource type.
Thank you!
Hey Akos, can you add some more details to your info to help a beginner out?
I am running the HA on a nuc hardware and just getting into all that. (have some basic linux knowledge)
I cannot find the " your configuration/www/community" folder on my system though … i need a little hint there
Thank you
Uwe
Have you tried following the steps for installation as described in the repository?
Thanks a lot, EdwardTFN … as soon as i have solved the issue, that i cant seem to be able to add the repo… I am sure, i can then follow these instructions
Hmmm i managed to add the card finally looking at t, i would like to suggest that the current time would make a useful additon to be shown on this card.
Uwe
Notice about the future of that repository I’ve created to host the Sun card
As you may know, this repo was duplicated from AitorDB/home-assistant-sun-card which was archived on 2023-03-10, and just like this one, multiple other forks have been created in a rush to preserve this nice card in Home Assistant. And since then our fork have received some pull requests from users who wanted to contribute to this card.
However, one of the other forks, named rejuvenate/lovelace-horizon-card, has received more development and is now the recommended card to use for your Home Assistant installation. Therefore, we encourage you to switch to that repository for any future updates or contributions.
We understand that it may take some time for everyone to switch to the new repository, so we will keep this repository available for a while to give users a chance to migrate. However, we will not be actively developing or maintaining this repository going forward.
If you have contributed to this repository in the past, we appreciate your efforts and would like to kindly ask you to consider contributing to the rejuvenate/lovelace-horizon-card repository as well. Your help is greatly appreciated, and we hope to see you there!
Thing is…that card has issues with the layout, I am keeping a local copy of the old one as a private rep.
I notice that the lovelace-horizon-card.js file still references “polymer.” That’s deprecated in the current release, and is slated to be unsupported in future releases. Am I missing something?
Good catch
Good catch, @CaptTom.
Could you please report this as an issue on the rejuvenate/lovelace-horizon-card repo?
Done:
Just to let you know, your solution even after 4 years is helping people. Thank you for the code.