Document the Peblar meter history action - #47932
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
🟡 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.
904e8eb to
5742470
Compare
Proposed change
Documents the new
peblar.get_meter_historyaction, which reads the session logthe 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
currentbranch).currentbranch).nextbranch).nextbranch).Additional information