Skip to content

Skip implausible statistics rows, cap flow speed (v0.2.2) - #4

Merged
Developer089 merged 1 commit into
mainfrom
v0.2.2
Nov 28, 2026
Merged

Developer089 merged 1 commit into
mainfrom
v0.2.2

Conversation

@Developer089

Copy link
Copy Markdown
Owner
  • Statistics rows holding more energy than statistics.max_power_kw could deliver in the time they cover are left out as counter glitches; the card reports how many it skipped. Rows after a sensor outage are allowed the limit for every missed step.
  • statistics may hold only max_power_kw; sensors then still come from the Energy dashboard.
  • Flow dots are spaced wider and their top speed is capped.

Statistics were checked against a real Home Assistant instance (read-only); the build was also loaded into the real dashboard in Chrome.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NrA3aA4eLEG9uSXFGb9mko

- Statistics are fetched hourly (daily for a year) and a row holding more energy than statistics.max_power_kw could deliver in the time it covers is left out as a counter glitch; the card says how many it skipped. Rows after a sensor outage are allowed the limit for every missed step.
- statistics may hold only max_power_kw; sensors then still come from the Energy dashboard.
- Flow dots are spaced wider and their top speed is capped, so that high power no longer looks like a still dotted line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrA3aA4eLEG9uSXFGb9mko
@Developer089
Developer089 merged commit 38772a5 into main Nov 28, 2026
@Developer089
Developer089 deleted the v0.2.2 branch November 28, 2026 09:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T09:47:28.619794Z bacd076 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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