-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I wanted to take a look at getting the following issues fixed:
- [BUG] The card doesn't work on HA 2024.2.1 #35
- [BUG] No dashboard content after install and setup of the card #21
- [BUG] empty board after install and setup of the cards #20
- The energy usage graph occasionally empty[BUG] #18
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels