Skip to content

feat: expose modeled weekly consumption categories - #22

Merged
lukefx merged 2 commits into
lukefx:mainfrom
kioku:feat/consumption-categories-upstream
Oct 11, 2026
Merged

lukefx merged 2 commits into
lukefx:mainfrom
kioku:feat/consumption-categories-upstream

Conversation

@kioku

@kioku kioku commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Energy Buddy exposes a modeled weekly appliance breakdown that the integration does not currently show in Home Assistant.

  • Add a weekly total sensor and one sensor per provider category, with stable IDs and measurement state class.
  • Poll the supplementary endpoint at most daily. A category fetch failure leaves meter consumption available.
  • Keep modeled estimates separate from cumulative meter statistics and the Energy dashboard.
Screenshot 2026-09-27 at 18 20 09

Signed-off-by: Claudiu Ivan <contact@claudiu-ivan.com>
Signed-off-by: Claudiu Ivan <contact@claudiu-ivan.com>
@kioku kioku closed this Sep 27, 2026
@kioku kioku reopened this Sep 27, 2026
@kioku

kioku commented Sep 27, 2026

Copy link
Copy Markdown
Contributor Author

@lukefx I'm experimenting with this functionality but it's quite limited since the data is estimated, and there's a bit of difficulty keeping the session active since there's AIL token refresh API to my knowledge.

Decided to share either way.

@lukefx
lukefx marked this pull request as ready for review October 11, 2026 07:15
@lukefx
lukefx merged commit 946cd7a into lukefx:main Oct 11, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants