Esphome Time / HA History Graph

I’ve been having some issues with power monitoring on esphome using CT clamps. I believe it could be an issue with the time sync. I can see the power usage during the day, but when day changes the history is not kept and the previous day reads 0. Some days it works and some days it doesn’t. The device in question is in blue, which has constant load every day. On some days, the yellow device has no load and that is why there is no data.

Yellow device is running 2026.3.0, but the issue as been since at least 2026.2.x and the blue is running 2025.12.6

EspHome is configured as:

time:
  - platform: homeassistant
    id: homeassistant_time
    timezone: America/Toronto

But the log shows it is still using UTC and not EST/EDT

[09:36:51.808][C][homeassistant.time:010]: Home Assistant Time
[09:36:51.811][C][time:051]: Timezone: UTC+0:00
[09:36:51.815][C][time:055]: Current time: 2026-03-20 13:36:50

Is this a bug? If it isn’t time what else could be the issue?

Actually, looking at the history, this looks more like a frontend issue. The data looks like it is there, just not being displayed properly. But there is still the question as to why the TZ is wrong in ESPHome

Please share the configuration for the sensor. Also be careful about confusing power and energy. They are different things. Your energy sensors seem to be named as power sensor, e.g. “total daily p…” should probably be “total daily e…”.

Did you check you have correct time zone set on home assistant?