Skip to content

fix(web): remove the timing note under the energy flow - #1752

Merged
frahlg merged 1 commit into
masterfrom
fix/remove-home-use-timing-note
Oct 20, 2026
Merged

frahlg merged 1 commit into
masterfrom
fix/remove-home-use-timing-note

Conversation

@frahlg

@frahlg frahlg commented Oct 19, 2026

Copy link
Copy Markdown
Member

Problem

On v0.154.0-beta.1 the Overview prints a long line under the energy-flow diagram:

Estimated home use 2.7 kW · latest power readings; device delays may differ. Energy mean 2.7 kW · 10 s window · 17:21:37 CEST – 17:21:47 CEST · ended 1 s ago · sampled power. Includes arrival times; device delay is unknown.

It repeats the value already shown in the house node and reads as debug output. Fredrik asked to remove it.

Change

  • Remove homeEstimateNote and its helper from web/components/energy-flow-readings.js.
  • Remove the paragraph that web/app.js created under #energy-flow.
  • Drop the test assertions on the note; assert that the mapper no longer returns one.

What stays:

  • status.load_estimate and the API are unchanged.
  • The house node still shows current Home use, marked estimated (House load, estimated).
  • The diagram still shows missing data (no data) and pauses when data is not live.

The web app and the iOS app never showed this text, so they need no change.

Evidence

  • node --test 'web/**/*.test.mjs': 864 pass, 0 fail.
  • Browser review: I served master's web/ and this branch's web/ locally with a proxy that forwarded only GET requests to the home box, so both rendered the same live data. On master the note sat under the diagram. On this branch the card ends below the diagram, and the house still shows ≈ 2.8 kW.
  • No open PR touches these files.

🤖 Generated with Claude Code

The Overview showed a long line under the diagram with the current
balance, a 10 s energy mean, its clock range, age, basis and timing
caveats. It repeated the house value and read as debug output.

Home use still shows current power, marked estimated, and the diagram
still shows missing or paused data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T15:26:34.149879Z 93e244d 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.

@frahlg
frahlg merged commit f805c6d into master Oct 20, 2026
17 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.

1 participant