-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
Initial report: #1115 (comment)
With #1115 merged:
a legend indicator's color may follow color_thresholds
:
type: custom:mini-graph-card
entities:
- entity: sensor.xiaomi_cg_1_co2
show_state: true
state_adaptive_color: true
- entity: sensor.xiaomi_cg_2_co2
show_state: true
state_adaptive_color: true
name: CO2
hours_to_show: 24
points_per_hour: 60
lower_bound: ~400
color_thresholds:
- value: 450
color: orange
- value: 550
color: green
- value: 650
color: magenta
color_thresholds_transition: hard
height: 400
show:
labels: true
i.e. here a color = PINK for both entities.
With changed color_thresholds
:
color_thresholds:
- value: 450
color: orange
- value: 550
color: green
- value: 680
color: magenta
there is different picture - an indicator is BLACK for the 2nd entity:
Same - when graphs are built for attributes.
mateuszdrab