Min Graph Card not showing 2 lines

Hi Community,

I’m using the mini graph card in a horizontal stack mode. The left-hand card of the stack is the area of concern.

I have 2 different sensors that I want to display the temperature for over the last 24 hours. The problem is the lines are not showing up as separate. Do you know why this is?

I’ve attached the YAML for and graph view at the bottom. Any help would be appreciated!


First of all I would advice you check if both sensors got valid values.
Second I would start without defining upper and lower limits since this could also cause a complete line missing in case of outside this defined range.

The code works, but a hint.
If you press the “</>” and then paste your YAML into the highlighted line it’ll be much easier so help since one could copy/paste it for testing. No need sending pictures.

  1. Never ever post a code as a picture (as it was already said before). Use a “preformatted” tag.
  2. Test with a stock card first:
type: history-graph
entities:
  ... your entities
  1. And also test with a SIMPLE case - no additional options, only these:
type: custom:mini-graph-card
entities:
  ... your entities
hours_to_show: 24

Unrelated: your “label” & “secondary_labels” options are misspelled.

Besides, no need to create a separate thread for similar questions, there is a dedicated main thread: Lovelace: mini graph card