HA 2022.8.2 instructions don't seem to be working
See original GitHub issueI installed with HACS. js file is in config/www/community/mini-graph-card/
configuration.yaml file has: `lovelace: resources:
- url: /local/community/mini-graph-card/mini-graph-card-bundle.js type: js`
I’ve tried type: module and I’ve also tried url: /local/mini-graph-card-bundle.js, and others.
When I try to add a card using the gui, it does not show up as a choice, so I try to add it manual card and I get: `Custom element doesn’t exist: mini-graph-card. type: custom:mini-graph-card entities:
- sensor.cpu_temp_f`
It’s not clear from the instructions what else I should be doing but I did follow the 4 items listed if having errors. I have restarted HA many times, but it seems as though the gui editor does not know about the custom card. HACS shows it as installed. Else, if you prefer the graphical editor, use the menu to add the resource: Instructions say: Make sure, advanced mode is enabled in your user profile (click on your user name to get there) [This is done] Navigate to Configuration -> Lovelace Dashboards -> Resources Tab. Hit orange (+) icon >>>[This does not exist in 2022.8.2} Enter URL /local/mini-graph-card-bundle.js and select type “JavaScript Module”. (Use /hacsfiles/mini-graph-card/mini-graph-card-bundle.js and select “JavaScript Module” for HACS install)
Note: I put the .js file in each of the directories config/www, config/www/community/, and config/www/community/mino-grapg-card/ I also put this in my config file: `lovelace: resources:
- url: /local/community/mini-graph-card/mini-graph-card-bundle.js type: js
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js type: module ` Still, get the same error Custom element doesn’t exist: mini-graph-card
Can this be clarified for the current HA version?
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top GitHub Comments
Oops - got it. Thanks!
No, this is what YOU should do if you think that your issue is resolved.