Skip to content

Gauge mode is not accurately reflecting the value provided. #57

@Goobaroo

Description

@Goobaroo

I'm using the gauge mode on the custom:cb-lcars-multimeter-card, however I can't seem to get the bar to align with the current value.

The current temperature is 19.1°C but the graphic is showing maybe 10° less.

Is there something obvious that I'm missing to get this working as expected?

Image
type: custom:cb-lcars-multimeter-card
template:
  - cb-lcars-animation-geo-array
enable_resize_observer: true
variables:
  entity_match_header: false
  entity_match_slider: false
  entity_match_gauge: false
  entity_match_slider_start: false
  entity_match_slider_end: false
  _mode: gauge
  _vertical: false
  _min: -20
  _max: 40
  label: Outside
  gauge:
    ranges:
      - from: -20
        to: 18
        color: var(--picard-blue)
      - from: 18
        to: 24
        color: var(--picard-green)
      - from: 24
        to: 40
        color: var(--picard-orange)
    sub_meter:
      show_sub_meter: false
    range:
      enabled: true
    label:
      font_size: "12"
  slider_track:
    bar_thickness: 10
    gap: 0
    bar_border_radius: 0
  animation:
    geo_array:
      animation_axis: col
      grid: {}
      pattern: default
      shape:
        type: square
  entity: sensor.lumi_lumi_weather_temperature
  _show_unit_of_measurement: true
  _increment: 10
  card:
    border:
      left: {}
      top: {}
      right: {}
      bottom: {}
tap_action:
  action: none
double_tap_action:
  action: none
hold_action:
  action: none
show_label: true
show_advanced: false
show_state: true
show_name: false

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions