Comments (10)
It's not adding an error for me, try manually adding /hacsfiles/dual-gauge-card/dual-gauge-card.js
. Time to close @Rocka84?
from dual-gauge-card.
After having a closer look at this, I see this as an enhancement, not a bug. Installation via HACS works fine, it just doesn't tell you that this is of type: js
.
I'll add a note to the readme until I figure out how to become fully compatible with HACS.
from dual-gauge-card.
Not sure if related, or if I'm a big dummy, but after installing via HACS, it's not liking anything I put for type.
from dual-gauge-card.
Don't remember how, but I figured my thing out, turns out I was just being a big dummy
from dual-gauge-card.
I install HACS, install dual-gauge frontend, and try to add url and type in all places in ui-lovelace file. Still not working.
Maybe I´m doing something wrong, please help. I´m facing the following error.
Value is not accepted, Valid values: "iframe"
from dual-gauge-card.
from dual-gauge-card.
In the instructions, it mentions adding the following information in the ui-lovelace.yaml
- url: /community_plugin/dual-gauge-card/dual-gauge-card.js
type: js
But I´m not sure where to add these commands?
If I add in the beginning of ui-locelace.yaml it shows the following error:
If I add the commands included in the card configuration it shows the first error.
But both of them show the following error when I try to refresh the screen.
I will be glad if you can share an example where do I add these commands?
from dual-gauge-card.
I finally found the issue.
In configuration.YAML you should add on top the following information bellow.
lovelace:
mode: yaml
resources:
- url: /local/community/dual-gauge-card/dual-gauge-card.js
type: module
The instruction tells me to use type: js, but I always got an error. So I use type: module and it works.
from dual-gauge-card.
What error do you get? It's definitely not CSS, JS should work.
from dual-gauge-card.
Sorry. I used type: module.
I correct my comment on the top.
The error that I was facing is on comments on top.
When I use type: js, it shows an error (print screen on top). With type: module work just fine.
from dual-gauge-card.
Related Issues (20)
- No card type found HOT 5
- Installation on latest versions of HA and HACS
- Change value and title location HOT 1
- Clicking on labels opens unexpected plot HOT 3
- Theme Support
- No card type configured HOT 1
- transparent gauge and bigger gauge/background ratio
- feature suggestion: needle mode HOT 2
- Card does not scale properly HOT 2
- variable max HOT 1
- feature request: set colors based on differences between values
- feature request: do not display "unavailable"
- Use sensor value for the "max" config item HOT 1
- When trying to add a new dual gauge card to a dashboard using the yaml editor I keep getting a spinning icon
- Since the last 2023.4.0b0 gauge does not work HOT 8
- Gauge Not Respecting Sensor Accuracy HOT 1
- actively maintained?
- Format to two decimal places HOT 2
- Won't work HOT 2
- Can the gauge bar size be changed ?
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 dual-gauge-card.