You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I found the problem why these are happening, I see this card is requesting energy data with the start date offset by 1 hour (at least for me): "start_time":"2024-02-18T22:00:00.000Z", compared to the stock date picker (which sends"start_time":"2024-02-18T23:00:00.000Z". I suspect that is why the stock cards don't properly render, as they receive data from overlapping days/timeperiods?
@shiner66 yeah, unfortunately I've not had the time to properly maintain it in the last couple of months. I'll try to start fixing issues in the upcoming weeks
I wanted to take a look at getting the following issues fixed:
I think I found the problem why these are happening, I see this card is requesting energy data with the start date offset by 1 hour (at least for me):
"start_time":"2024-02-18T22:00:00.000Z"
, compared to the stock date picker (which sends"start_time":"2024-02-18T23:00:00.000Z"
. I suspect that is why the stock cards don't properly render, as they receive data from overlapping days/timeperiods?When looking at where and how the data gets loaded, I see in https://github.com/flixlix/energy-period-selector-plus/blob/main/src/energy/index.ts that a lot of the functions are duplicated or reimplemented. Is there a reason why we can't import these helper functions from HA itself?
The text was updated successfully, but these errors were encountered: