Dans une carte type: custom:canvas-gauge-card
Comment positionner correctement titre, unités et value ?
Ma carte pour direction du vent
code de la carte
type: custom:canvas-gauge-card
entity: sensor.bresser_6in1_0_427820547_wd
card_height: 780
card_width: 780
shadow_height: 0%
gauge:
type: radial-gauge
width: 750
height: 750
title: Vent
colorTitle: red
fontTitleSize: 14
units: (°)
colorUnits: blue
fontUnitsSize: 10
colorValueTextShadow: white
barStartPosition: right
valueBox: true
valueBoxStroke: 1
valueBoxWidth: 10
valueBoxHeight: 10
colorValueText: red
valueTextShadow: true
valueDec: 0
valueInt: null
valueBoxBorderRadius: 10
fontValueSize: 20
colorValueBoxBackground: lightblue
colorValueBoxShadow: blue
colorPlate: pink
colorPlateEnd: white
colorValueBoxRect: blue
colorValueBoxRectEnd: lightblue
needle: true
needleShadow: true
needleType: arrow
needleWidth: 10
needleEnd: 110
needleStart: 40
colorNeedle: red
colorNeedleEnd: blue
colorNeedleShadowUp: green
colorNeedleShadowDown: black
needleCircleSize: 10
needleCircleOuter: true
colorNeedleCircleOuter: white
colorNeedleCircleOuterEnd: black
needleCircleInner: true
colorNeedleCircleInner: lightblue
colorNeedleCircleInnerEnd: blue
minValue: 0
maxValue: 360
startAngle: 0
ticksAngle: 360
majorTicks:
- S
- SSO
- SO
- OSO
- O
- ONO
- 'NO'
- NNO
- 'N'
- NNE
- NE
- ENE
- E
- ESE
- SE
- SSE
- S
colorNumbers: white
numbersMargin: -55
HighlightsWidth: 10
fontNumbersSize: 15
strokeTicks: true
colorMajorTicks: green
colorMinorTicks: red
colorStrokeTicks: green
highlights:
- from: 0
to: 380
color: yellow
minorTicks: 2
animation: true
animationDuration: 500
animationTarget: needle
animationRule: quad
animatedValue: true
animateOnInit: false
useMinPath: true
borders: true
borderOuterWidth: 30
colorBorderOuter: lightgreen
colorBorderOuterEnd: green
borderShadowWidth: 10
colorBorderShadow: yellow
colorBorderShadowEnd: red
borderMiddleWidth: 70
colorBorderMiddle: Blue
colorBorderMiddleEnd: lightblue
borderInnerWidth: 15
colorBorderInner: pink
colorBorderInnerEnd: red
colorBarStroke: red
colorBar: lightgreen
colorBarProgress: yellow
barWidth: 5%
barStrokeWidth: 5
barProgress: true
barShadow: 2
HighlightsLineCap: square