Hi, I have a Problem to display the correct values in my apexchart card.
The values are storing from Home Assistant in UTC. And apexchart is also getting in UTC, so the values are in the wrong day with a difference of +2h.
This is my snippet:
type: custom:apexcharts-card
graph_span: 7d
cache: false
span:
end: day
header:
show: true
title: Stromverbrauch letzte 7 Tage
show_states: false
colorize_states: true
series:
- entity: sensor.stromverbrauch_heute
name: Stromverbrauch
type: column
float_precision: 1
show:
datalabels: true
group_by:
duration: 1d
func: last
Now we have 9:00am. The last stored value is from 1681196430.748265 which is in our timezone 7:00 am.
I have no solution for that problem. I have the feeling, that the problem is coming with one of the last updates ( I did not know, which update this Problem creates). 3 Month before, where I have added the card, I might the problem was not there.
In the Screenshot, you can see, that he does not read the 2 last values, because of the tmezone problem (he is thinking, this is for the next days, because of +2h).
