The "Add to Lovelace" button won't appear if there are types that are not "module" in the resource list.
See original GitHub issueVersion of HACS
0.22.2
Describe the bug
Many (possibly all, it has been all the ones I have checked) plugins are showing that they should be added to the resources with a type of “module”, even though the repository shows that it should be added with a type of “js”. For example: https://github.com/gadgetchnnel/lovelace-home-feed-card/ has the following in the README.md file:
resources:
- url: /local/custom-lovelace/home-feed-card/lovelace-home-feed-card.js?v=0.0.0
type: js
but shows this in HACS
Debug log
Logs
2020-03-05 19:30:28 DEBUG (MainThread) [hacs.repository.plugin.gadgetchnnel.lovelace-home-feed-card] Getting repository information
2020-03-05 19:30:29 DEBUG (MainThread) [hacs.repository.plugin.gadgetchnnel.lovelace-home-feed-card] Running checks against 0.4.0b3
2020-03-05 19:30:30 DEBUG (MainThread) [hacs.template] 'states' is undefined
2020-03-05 19:30:36 INFO (MainThread) [hacs.factory] Task processing of 36 tasks completed in 27 seconds
2020-03-05 19:30:36 DEBUG (MainThread) [hacs.data] Saving data
2020-03-05 19:30:37 DEBUG (MainThread) [hacs] Recuring background task for installed repositories done
2020-03-05 19:30:37 DEBUG (MainThread) [hacs.data] Saving data
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Adding resources to lovelace - Home Assistant OS
Hello, I have updated my hassio to version 0.107.4. Until this version it was possible to add resources like. resources: type: js
Read more >Unable to get custom lovelace cards working : r/homeassistant
Grabbed a card from the list there. Installed it. Went to Configuration -> Lovelace -> Resources -> Added it with the path shown...
Read more >How to Create a Home Assistant Dashboard - LazyAdmin
A step-by-step guide on creating your own custom Home Assistant Dashboard. With Weather, Calendar, Chart and music cards.
Read more >Docs • Svelte
This page contains detailed API reference documentation. It's intended to be a resource for people who already have some familiarity with Svelte. If...
Read more >5 FRONTEND HACS (Cards and Elements) - YouTube
In todays video I will be showing you 5 Front End HACS that you can make use of in your Home Assistant Lovelace...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ludeeus I think they were asking what needs to be added for the “Add to Lovelace” option to appear (uninstalling a plugin still seems to automatically remove it from the Lovelace config, but can’t automatically add it to the config when installing it).
I answer to the your question, I haven’t personally found any cards which have had any issues if I have changed them in the resources from “type: js” to “type: module”
https://github.com/hacs/integration/releases/tag/0.22.3