Strange history-graph card behavior

Hello,

I have configured a history-graph card with two sensor values.

type: history-graph
entities:
  - entity: sensor.test7_home_heizung_warmwasser_ist_temperatur
    name: Ist
  - entity: sensor.test7_home_heizung_warmwasser_soll_temperatur
    name: Soll
title: Warmwasser Temperaturen
hours_to_show: 1

This way, the card looks fine:
Screenshot_correct

But when I change the order off the two sensors, the card will look strange.

type: history-graph
entities:
  - entity: sensor.test7_home_heizung_warmwasser_soll_temperatur
    name: Soll
  - entity: sensor.test7_home_heizung_warmwasser_ist_temperatur
    name: Ist
title: Warmwasser Temperaturen
hours_to_show: 1

Why does that happen?

The wrong graph looks like this:
Screenshot_wrong

Do you keep seeing this glitch?

hmm, interesting. Currently it is gone. I have nothing changed since yesterday, but changing the order of the entities does not show the issue anymore.
I’m wondering why…