Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV] #36

Open
Tommatheussen opened this issue Feb 19, 2024 · 3 comments
Open

[DEV] #36

Tommatheussen opened this issue Feb 19, 2024 · 3 comments

Comments

@Tommatheussen
Copy link

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?

@shiner66
Copy link

I don't really believe this repo is being actively maintaned, you might want to give it a shot yourself(?)

@flixlix
Copy link
Owner

flixlix commented Apr 15, 2024

@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

@shiner66
Copy link

shiner66 commented Apr 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants