Skip to content

Document the Peblar meter history action - #47932

Open
syphernl wants to merge 1 commit into
home-assistant:nextfrom
syphernl:peblar-meter-history
Open

Document the Peblar meter history action#47932
syphernl wants to merge 1 commit into
home-assistant:nextfrom
syphernl:peblar-meter-history

Conversation

@syphernl

@syphernl syphernl commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Proposed change

Documents the new peblar.get_meter_history action, which reads the session log
the charger's certified meter keeps for itself. Each record holds the meter
reading at both ends of a session and the token the session was authorized with,
which is what you need to settle up with someone who charges on your charger.

The page follows the other Peblar action pages: UI steps, the options in both
forms, the response data, and one automation example.

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Copilot AI lite review requested due to automatic review settings September 6, 2026 10:26
@home-assistant home-assistant Bot added has-parent This PR has a parent PR in another repo next This PR goes into the next branch labels Sep 6, 2026
@netlify

netlify Bot commented Sep 6, 2026

Copy link
Copy Markdown

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 5742470
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/6a9d40a4ae07620008e91177
😎 Deploy Preview https://deploy-preview-47932--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The documentation incorrectly states that missing tokens return an “empty token” even though the service returns null for uid, so the page needs a small accuracy fix before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds Home Assistant documentation for the new Peblar: Get meter history action (peblar.get_meter_history), describing how to use it from the UI and YAML, what it returns, and providing an automation example to aggregate usage per token.

Changes:

  • Adds a new action documentation page for peblar.get_meter_history.
  • Documents UI and YAML options (after/before) and the response payload structure.
  • Includes an automation example that totals session energy for a specific token.
File summaries
File Description
source/_actions/peblar.get_meter_history.markdown New action page describing configuration, returned session data, and an example automation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread source/_actions/peblar.get_meter_history.markdown Outdated
@syphernl
syphernl force-pushed the peblar-meter-history branch from 904e8eb to 5742470 Compare September 6, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-parent This PR has a parent PR in another repo next This PR goes into the next branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants