Skip to content

Docs: document energy.today in api.md - #51

Merged
frahlg merged 1 commit into
masterfrom
worktree-agent-afdd54be
Apr 16, 2026
Merged

Docs: document energy.today in api.md#51
frahlg merged 1 commit into
masterfrom
worktree-agent-afdd54be

Conversation

@frahlg

@frahlg frahlg commented Apr 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Documents the energy.today nested object in the GET /api/status section of docs/api.md
  • Adds JSON example showing all six Wh counters (import_wh, export_wh, pv_wh, bat_charged_wh, bat_discharged_wh, load_wh)
  • Adds side notes explaining the integration method (W x dt since midnight) and omission semantics

Test plan

  • go test ./... passes (docs-only change, no code modified)
  • Verified field names and structure match go/internal/api/api.go lines 297-351
  • No other undocumented fields found in the /api/status response

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@frahlg
frahlg merged commit bee4645 into master Apr 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant