I would like to add two sliders to enter maximum (maxValue) and minimum (minValue) in the following yaml dashboard. I found a slider card which can change the value of an entity…so I could have one slider change entity climate.lowtemp and another to create climate.hightemp but I don’t know if that will work.
Is it possible to code the max and min Value lines to use the state of the climate.xxx entity instead of a fixed value of 350 or 50? how would I code each line?
views:
- cards:
- entity: sensor.maverick_temperature
font_size: 1em
gauge:
animatedValue: true
borders: false
colorBorderInner: '#111'
colorBorderInnerEnd: '#333'
colorBorderMiddle: '#222'
colorBorderMiddleEnd: '#111'
colorBorderOuter: '#333'
colorBorderOuterEnd: '#111'
colorNumbers: '#ccc'
colorPlate: ''
colorTitle: '#f5f5f5'
colorUnits: '#f5f5f5'
height: 360
highlights:
- color: 'rgba(0, 68, 255, .75)'
from: 50
to: 100
- color: 'rgba(4, 205, 24, .75)'
from: 100
to: 200
- color: 'rgba(239, 93, 13, .75)'
from: 200
to: 350
maxValue: 350
minValue: 50
minorTicks: 5
startAngle: 45
strokeTicks: true
ticksAngle: 270
title: Grill Temp
type: radial-gauge
units: °F
valueBox: true
valueDec: 1
valueInt: 2
width: 600
type: 'custom:canvas-gauge-card'