#[SOLVED] Any suggestion for round gauge?

1 messages · Page 1 of 1 (latest)

fickle pivot
fickle pivot
#

oh thanks, havent heard of those

#

to be more specific trying to find alternative needle gauge

#

canvas gauge gets me an error

#

Configuration error

#

No type provided

buoyant quest
#

did you provide a type?

fickle pivot
#

- type: custom:canvas-gauge-card

buoyant quest
#

can you copy the whole card config?

fickle pivot
#

as in example ```- type: custom:canvas-gauge-card
entity: sensor.processor_use
name: Processor (%)
card_height: 210
shadow_height: 12%
font_size: 1em
gauge:
type: "radial-gauge"
width: 220
height: 220
borderShadowWidth: 0
borderOuterWidth: 0
borderMiddleWidth: 0
borderInnerWidth: 0
minValue: 0
maxValue: 100
startAngle: 40
ticksAngle: 280
valueBox: false
units: "%"
majorTicks:
["0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"]
minorTicks: 2
strokeTicks: true
highlights: [{ "from": 80, "to": 100, "color": "rgba(200, 50, 50, .75)" }]
borders: false

buoyant quest
#

you're too indented

#

if you're using the UI to edit the card you just need:

type: custom:canvas-gauge-card
entity: sensor.processor_use
name: Processor (%)
card_height: 210
shadow_height: 12%
font_size: 1em
gauge:
  type: "radial-gauge"
  width: 220
  height: 220
  borderShadowWidth: 0
  borderOuterWidth: 0
  borderMiddleWidth: 0
  borderInnerWidth: 0
  minValue: 0
  maxValue: 100
  startAngle: 40
  ticksAngle: 280
  valueBox: false
  units: "%"
  majorTicks:
    ["0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"]
  minorTicks: 2
  strokeTicks: true
  highlights: [{ "from": 80, "to": 100, "color": "rgba(200, 50, 50, .75)" }]
  borders: false
fickle pivot
#

oh, seems so now it is working, thank you very much

buoyant quest
#

i think when they wrote that you needed to define your dashboard fully in yaml - which is when their syntax was correct

fickle pivot
#

yea, "This card is basically deprecated and do not expect maintainence."

#

🙂

#

did not even think of that since im newish for ha, had openhab before so idk old format and so on

buoyant quest
#

np

fickle pivot
#

but apricieted from your help 👍🏼

buoyant quest
#

if yaml isn't working, 80% of the time it's indentations

#

the other 20% is you've screwed up a template somewhere

fickle pivot
#

ye, just thought first it is not going to work if it deprecated so didnt even think of it 😄

fickle pivot