kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.85k stars 231 forks source link

The display of numerical values does not support the format set in HA #1061

Closed trandus closed 5 months ago

trandus commented 5 months ago

Numerical values on chart sheets are always displayed in the format xxx,xxx.yy, irrespective of the format set in HA. Chart example: image Settings in HA: image Graph YAML:

type: custom:mini-graph-card
name: Weather
entities:
  - entity: sensor.weather_forecast_home_temperature
    name: Temperature Outside
  - entity: sensor.lumi_gerald_pressure_calibrated_average
    name: Pressure
    show_state: true
    y_axis: secondary
    color: '#7516e0'
hours_to_show: 96
points_per_hour: 1
show:
  fill: false
color_thresholds:
  - value: -50
    color: '#036bfc'
  - value: 0
    color: '#00c427'
  - value: 25
    color: '#fc3838'
ildar170975 commented 5 months ago

https://github.com/kalkih/mini-graph-card/issues/1010

cataseven commented 4 months ago

Numerical values on chart sheets are always displayed in the format xxx,xxx.yy, irrespective of the format set in HA. Chart example: image Settings in HA: image Graph YAML:

type: custom:mini-graph-card
name: Weather
entities:
  - entity: sensor.weather_forecast_home_temperature
    name: Temperature Outside
  - entity: sensor.lumi_gerald_pressure_calibrated_average
    name: Pressure
    show_state: true
    y_axis: secondary
    color: '#7516e0'
hours_to_show: 96
points_per_hour: 1
show:
  fill: false
color_thresholds:
  - value: -50
    color: '#036bfc'
  - value: 0
    color: '#00c427'
  - value: 25
    color: '#fc3838'

https://github.com/kalkih/mini-graph-card/issues/1010#issuecomment-1937086129