Comments (5)
Hello,
I got the same issue and I was thinking that it's not working too (the js module not being loaded/loaded correctly) - but it loads (web browser dev tools show that the js is loaded with HTTP/200 OK).
The dual-gauge-card just won't show up in the card list - you have to enter it's code manually 😞 ...
Here is a short "guide":
- copy the
dual-gauge-card.js
intoconfig/www/
, - Next add resource, go to config -> Lovelace Dashborads -> tab Resources,
- click Add Resource
- Set fields:
url:/local/dual-gauge-card.js
(eventually adjust path to your HA system)
Resource type:JavaScript Module
(should set automatically) - Now go to Dashboard that you want put the dual gauge,
- From list of available cards at the very end there is button:
Need to add a custom card or just want to manually write the YAML?
, use it. Should open editor, with emptytype: ''
Use the code as base, you have to adjust entities and other parameters to fit your need:
type: 'custom:dual-gauge-card'
title: Test 1
outer:
entity: sensor.zewnatrz
unit: °C
min: -20
max: 60
inner:
entity: sensor.zewnatrz_2
min: 0
max: 100
unit: '%'
Everything is down to manually edit card YAML and set type to custom:dual-gauge-card
to get this card to work.
I guess this should be mentioned in README.md .
from dual-gauge-card.
Hello
The same issue !
However I have files in /config/www/community/dual-gauge-card
from dual-gauge-card.
Check if you added "url" in ui-lovelace.yaml.
- url: /community_plugin/dual-gauge-card/dual-gauge-card.js
type: js
from dual-gauge-card.
No change
from dual-gauge-card.
Thanks for your solution !
from dual-gauge-card.
Related Issues (20)
- Changing inner and outer text font size HOT 6
- 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
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.