Skip to content

New chart for PV accuracy#3883

Merged
springfall2008 merged 1 commit intomainfrom
feat/pv_forecast_vs_actual
May 7, 2026
Merged

New chart for PV accuracy#3883
springfall2008 merged 1 commit intomainfrom
feat/pv_forecast_vs_actual

Conversation

@springfall2008
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 7, 2026 07:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “PVAccuracy” chart to the built-in web charts page to compare PV forecast progress (forecast-to-date) against actual PV energy-to-date, helping users evaluate forecast accuracy over time.

Changes:

  • Add PVAccuracy chart option in web.py, deriving “forecast so far” from sensor.{prefix}_pv_today attributes (total - remaining) and plotting against pv_energy_h0.
  • Tag Solcast-published PV dashboard entities with app="solar" for dashboard grouping.
  • Bump Predbat version to v8.38.0.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
apps/predbat/web.py Adds the new PVAccuracy chart and a navigation link in the charts menu.
apps/predbat/solcast.py Adds app="solar" when publishing PV forecast/stat sensors for grouping in the dashboard UI.
apps/predbat/predbat.py Version bump to v8.38.0.

@springfall2008 springfall2008 merged commit 3b90b14 into main May 7, 2026
5 checks passed
@springfall2008 springfall2008 deleted the feat/pv_forecast_vs_actual branch May 7, 2026 08:12
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