Open typxxi opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!
Surely there is some problems here.
These options work if color_thresholds
NOT specified:
type: custom:mini-graph-card
entities:
- entity: sensor.cleargrass_1_co2
color: red
state_adaptive_color: true
hours_to_show: 6
points_per_hour: 60
show:
fill: true
name_adaptive_color: true
icon_adaptive_color: true
When the color_thresholds
are specified:
type: custom:mini-graph-card
entities:
- entity: sensor.cleargrass_1_co2
state_adaptive_color: true
hours_to_show: 6
points_per_hour: 60
aggregate_func: last
smoothing: false
show:
labels: false
fill: true
name_adaptive_color: true
icon_adaptive_color: true
color_thresholds_transition: hard
line_width: 3
height: 500
color_thresholds:
- value: 700
color: cyan
- value: 740
color: orange
- value: 800
color: violet
- value: 850
color: blue
- value: 900
color: brown
The icon & name are colored only when the MAX points are selected - but it should be colored always dependingly on the selected point's color:
The state is colored always by the LATEST value's color - but it should be colored always dependingly on the selected point's color:
Still an active issue, got it! Removing stale label.
Additional info here: https://github.com/kalkih/mini-graph-card/issues/688
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!
Yes, the colour does change, but the icon's and title's color does NOT REFLECT THE LASTEST state but the lowest state in my case. Look at this weight curve and you can see that the orange belongs to the past with the lowest weight and not to the latest weight which would mean a lot more red instead of orange. Here is the code.
If I change the thesholds I get this darke red and it looks like this, but again : icon and header represent a minimum and not the latest state which in this case would mean orange and not red.