-
Notifications
You must be signed in to change notification settings - Fork 0
Feature Export
The Charging and
Trips card views each
carry CSV and Report buttons that download the current month straight
from the browser. Both are backed by the bavariandata.export_history
service, so automations can use them too. Nothing is written to disk — the file
contents come back as service response data — and it spends no API quota.
One row per session or trip:
- Both the battery-side and measured grid energy in separate columns.
- The cost and where it came from.
- For trips, the endpoints as place names.
Headers are always machine-readable English. Opens cleanly in Excel and Numbers.
A self-contained HTML page: month totals, the charging table and the trip journal. Print it (Ctrl/⌘+P → Save as PDF) for a tidy A4 document. The report language follows Home Assistant's own language, or set it explicitly.
The report is a trip journal and expense helper, not a tax-office-compliant logbook, and says so on the page.
service: bavariandata.export_history
data:
month: "2026-07" # defaults to the current month
type: both # charging · trips · both
format: csv # csv · html
language: de # en · de (HTML report only; defaults to HA's language)See the Services reference for the full field list.
BavarianData is an independent, community-built integration and is not affiliated with, endorsed by, or sponsored by BMW Group. "BMW", "Mini", "Rolls-Royce" and "CarData" are trademarks of their respective owners. Screenshots and documentation images of the MyBMW / BMW CarData portal are © BMW AG, shown here solely to document how to set up the service; personal data has been redacted. Released under the MIT License. · Issues · Discussions
Getting started
The card
Features
- Entities & devices
- Charging history & cost
- Battery health
- Trips
- Energy & statistics
- Export
- Events & blueprints
- API quota
Reference