Comments (11)
Same here. will you fix this @thomasloven ? or should we manually download it?
from lovelace-card-mod.
What makes you say that?
from lovelace-card-mod.
Here are the steps I took:
- Installed card mod through HAC
- Added card-mod.js as a module in my Lovelace file
- Added the exact example from the Mod-Card README section
Which results in the error Custom element doesn't exist: mod-card.
from lovelace-card-mod.
Also, these are the files that get installed through HACS (under www/community/lovelace-card-mod/):
- card-mod.js
- card-mod.js.gz
- web pack.config.js
- web pack.config.js.gz
Note: This is the first time I'm using your mod-card. Perhaps the documentation is wrong or I'm doing something wrong.
from lovelace-card-mod.
I'm also getting an error like you see on the pic. Followed the instructions.
from lovelace-card-mod.
A couple little things I noticed as well.
No Option to to Lovelace Config
Looks Like Incorrect Type Listed in HACS
Edit: For those having issues, add the following to your lovelace config after installing through HACS
- type: module
url: /community_plugin/lovelace-card-mod/card-mod.js
from lovelace-card-mod.
@Teryeahh
That's a completely different error from what's discussed here.
The error message is very clear. Indentation matters.
from lovelace-card-mod.
@JesseWebDotCom Please post anything you found in the browser log while you stepped through the troubleshooting guide linked from the readme.
from lovelace-card-mod.
I had this problem and found the solution to be:
The README.MD page says add:
resources:
- url: /local/card-mod.js
type: module
DO NOT DO THIS
Instead add the following which is shown at the end of the HACS install page - NB make everything lowercase! - url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
Worked for me, hope it does for others.
from lovelace-card-mod.
I had this problem and found the solution to be:
The README.MD page says add:
resources:
- url: /local/card-mod.js
type: module
DO NOT DO THIS
Instead add the following which is shown at the end of the HACS install page - NB make everything lowercase!- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: moduleWorked for me, hope it does for others.
This solved the issue for me, thanks. FWIW - I didn't see the solution in the README.MD however.
from lovelace-card-mod.
In general, when using HACS, follow the instructions for HACS instead of the other ones.
from lovelace-card-mod.
Related Issues (20)
- styling map markers HOT 1
- Card mod configuration no appearing in card YAMLs but appear in dashboard YAML HOT 1
- Intermittently fails to apply custom style HOT 10
- Outdated signature on Home Assistant entity card HOT 1
- Static icon color in basic cards not surviving HA restart or charging of cache. After some use of HA, the icon color works. I've tried coding the icon color in a few ways, same result. Please note, the same card-mod on mushroom cards work as expected. HOT 5
- Position: Sticky not working in mobile app HOT 6
- position: sticky doesn't work HOT 7
- Intermittent issue with cardmod when casting HOT 2
- Dynamic title for card? HOT 1
- HA Update 2024.7.2 card_mod no longer seems to work properly HOT 18
- position: sticky dosen't work HOT 2
- Code in raw editor chnages after save
- weather-forecast-card class breaks when compressed horizontally HOT 11
- Need help, can't load local image
- Fade Animation on Page Load HOT 2
- Card mod not working in new section view? HOT 8
- Card-mod right justified text failing on HA 2024.8 HOT 1
- 2024.8 style badge styling doesn't work HOT 9
- 2024.8.0 - Markdown cards not loading classes on page load until theme is reloaded HOT 4
- 2024.8: card_mod does not work for new mushroom-template-badge HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-card-mod.