Let me know what you think. The gauges will be available soon as custom cards. It is in testing. This is an example using them with a picture elements card with background I made in photoshop. Thanks to https://github.com/Mikhus/canvas-gauges for maintaining the library I use for rendering the gauges.
Hi not sure If im doing something wrong. Installed the card and try doing a 3 card-horizontal stack.
Looks good on the computer, but it cuts half of it in the mobile?
Thank you
I release this is an old thread but I have been using the canvas-guages and can’t figure out how to make the background on the outside of the gauge either disappear or transparent like the examples above.
Any help would be appreciated
Apologies I misread and thought you didn’t want to see the frame around your cards in a stack.
What you need to do is to set a background for your view
This is what I have on one of my cards background: url("/local/BMW_220d_GT.png") center / contain no-repeat
You may need to also toy with the custom card code on top of that. I don’t use that custom card so don’t know
Yep, install “Canvas Gauge Card” through HACS and then activate right in the integration page to get it into LL. Then add a manual card, paste the code and adjust the entity (and height/width). Changed mine now with a black border and a ‘units’ reading at the bottom. Use in conjunction with the ‘slate’ theme.
EDIT: Changed the code so that the value display shows two numbers with one decimal point.
Hi
I was able to display my gauge with below code.
To have a background card color, I used Mod-Card also (info got from another post) (otherwise I have my gauge on a full transparent Card which is not what I wanted)
I have an issue with a black horizontal line visible below my gauge (whatever if I use ot not the Mod-Card). Here is below pointed with my yellow arrow.
Any idea from where it comes ? How could I remove it ?
Thanks
I think the sizes of your gages are probably too big.
Try the transform function that is a few post up from here.
Post your yaml also, just in case there is something in there.