Is there an option to draw a graph with data for the same entity for different time frames?

Hi community,

I’d like to create a statistics graph with data for the same entity, but for different time frames.

For example:
I’d like to see the graph with 2 lines:

  1. Temperature from Sensor A for August
  2. Temperature from Sensor A for September

So I could see how the average temperature from the sensor changes with time.

Is there a way to create smth like this in HA?

Many thanks

Create two graphs with different x-axes on the same card?

I use this for temperature over 24h and 7days.

I suppose you could even switch the visibility property to swap between graphs.

Graphs should be for the same entity but for different time frames.
It’s possible to add different entities with different x-axes. But it seems not possible to add

Sensor A for time from 2024-09-01 to 2024-09-31
Sensor A for time from 2024-10-01 to 2024-10-31

No that is genitally not how graphs work. You can only have multiple y-axes on the one graph. You will need to use separate graphs, as previously advised.