@kalkih So, first of all… thank you for this awesome card! I’m loving it. Ever since I saw some graph cards for Lovelace I’ve wanted to combine multiple entities and this one does it perfectly!
I’ve got a question though… I’m currently showing the values of two temperature sensors in a single graph. Now, I would like to use
line_color_above, but applied to a single entity instead of the entire graph.
In the screenshot below you see the lines of the two sensors. The value shown (23.18 °C) is the value of the bottom of the two lines. The other room is above 25 °C (the upper line).
What I would like to do:
- Change the color of a line to red when above 25 °C.
- Change the color of a line to orange when above 21 °C.
- Below 21 °C default color for a line.
But only applied to each line. So, the lower line would be orange and the upper line would be red in the above screenshot. What it does now (when using the below configuration) is making them both red.
Is that possible? Or is this not possible with the graph library used?
cards: - type: custom:mini-graph-card name: Temperature entities: - entity: sensor.living_room_temperature name: Living room show_state: true - entity: sensor.bedroom_temperature name: Bedroom points_per_hour: 6 hours_to_show: 24 hour24: true more_info: false line_color_above: - value: 21 color: orange - value: 25 color: red show: legend: false extrema: true