Skip to content

Dynamic line color breaks at highest value #1108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FilmForge3D opened this issue Jun 2, 2024 · 5 comments
Open

Dynamic line color breaks at highest value #1108

FilmForge3D opened this issue Jun 2, 2024 · 5 comments
Labels
question Further information is requested

Comments

@FilmForge3D
Copy link

When using the dynamic line color on my installation (fully up to date as of 2.6.2024) the coloring of the line stops working when the sensor value is over the color threshold. Instead of the highest value color the line color is one from a lower point on the graf.

Adding another value high above the ones that can ever be reached does not resolve the issue.

image

type: custom:mini-graph-card
name: Gartenklima
icon: mdi:thermometer-water
entities:
  - entity: sensor.thermometer_garten_temperature
    show_legend: false
    show_state: true
  - entity: sensor.thermometer_garten_humidity
    color: blue
    show_legend: false
    show_state: true
    y_axis: secondary
color_thresholds:
  - value: -5
    color: '#8000ff'
  - value: 0
    color: '#0045ff'
  - value: 10
    color: '#00c8ff'
  - color: '#c8ff80'
  - color: '#ffc800'
  - color: '#ff8000'
  - value: 25
    color: '#ff0000'
line_width: 2
points_per_hour: 2
hour24: true
smoothing: true
animate: true

@MrcoSchrnr
Copy link

+1 Vote from me!

a configuration with thresholds by a value of a sensor will be awesome

@owldown
Copy link

owldown commented Jun 11, 2024

I am seeing the same issue

@ildar170975
Copy link
Collaborator

Please check v0.13.0-dev.2
Do not see the described behaviour.

@ildar170975 ildar170975 added the question Further information is requested label Feb 25, 2025
@FilmForge3D
Copy link
Author

FilmForge3D commented Apr 17, 2025

Even in v0.13.0-dev.2 the behavior hasn't changed.
Image
The temperature peaked at about 39°C as a reference

@ildar170975
Copy link
Collaborator

Sorry , what shall we see here with unreadable hex colors and with no Yaxis labels shown? Please use more clear colors like ff0000 and show the labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants