Registering of custom javascript resources broken
See original GitHub issueObviously, registering of the custom javascript resource valetudo-map-card.js is currently broken.
I’m using the latest Home Assistant OS, the latest Valetudo, successfully set up MQTT, and installed the Lovelace Valetudo Map Card via the recommended HACS way.
I’m pretty new to Home Assistant, so I lack the knowledge to fully understand where registering fails. I guess it’s due to a wrong path/URL. In the README it currently says the url to the JS file would be /community_plugin/lovelace-valetudo-map-card/valetudo-map-card.js while it actually should be /local/community/lovelace-valetudo-map-card/valetudo-map-card.js.
The exact same issue was reported on the Home Assistant Community Forum almost two years ago (which irritates me a bit)…
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Solved: Re: Custom JavaScript/CSS Changes - Page 2 - Instructure ...
In the notes, it mentions undocumented changes to the CSS/Javascript. It seems that those changes have broken our Resources Tab, specifically the slide...
Read more >Failed to load resource: the server responded with a status of ...
Your files are not under the jsp folder that's why it is not found. You have to go back again 1 folder Try...
Read more >How to Fix Render-Blocking JavaScript and CSS in WordPress
First, you need to check the box next to 'Optimize JavaScript Code' option under the JavaScript Options block. Make sure that 'Aggregate JS- ......
Read more >4 Reasons Why Your Source Maps are Broken - Sentry Blog
You can customize the source map filename itself by specifying sourceMapFilename . // webpack.config.js module.exports = { // ... entry ...
Read more >Using JavaScript on a Form and Within Calculations
Our support team does not provide custom code and cannot help edit, write, or design custom code for your forms. While FormAssembly does...
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 Free
Top 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

Well, as far as I understood, HACS devs don’t consider this issue (not auto-registering custom resources when Lovelace is in
auto-genmode) a bug. Thus they won’t fix it. So I tried to adapt the README enough to avoid further confusion/frustration for future users. Hopefully it’ll work and you don’t have to waste time with more issue reports like this one… 🤞😉You’re changing the manual installation instructions (which you shouldn’t be running when using HACS) to HACS bugfixing instructions but… that could work.
What a weird HACS issue though…