Skip to content

Releases: fjfricke/brunata-api

v0.2.0

20 Feb 16:32

Choose a tag to compare

What's new

  • Periods API: get_periods() returns all dashboard periods (start/end). New Period model.
  • Period selection: Optional period_index on get_meter_readings(), get_meter_reading(), get_current_consumption(), get_monthly_consumption(), and get_monthly_consumptions() (default 0 = first period, e.g. current year).
  • Yearly reset: Cumulative values are per period and reset when a new period (e.g. new year) starts. Documented in docstrings and README so integrations (e.g. Home Assistant) can handle it (e.g. period_index=1 for previous year).
  • Exports: Period, CurrentConsumption, MeterReading in package __all__.

Full Changelog: v0.1.4...v0.2.0

Publish to Pypi. Add LICENCE and english README

27 Jan 14:44

Choose a tag to compare

Add option to return all meter readings for one cost type if present

26 Jan 12:25

Choose a tag to compare

Update client to return all HZ/WW cost types.

get_meter_readings() now returns a dict keyed by cost_type, add get_monthly_consumptions() for all series, and update CLI/README/tests accordingly.

Add current meter readings

25 Jan 18:18

Choose a tag to compare

v0.1.2

Update version to 0.1.2 in pyproject.toml. Add new commands to CLI fo…

Initial release

24 Jan 19:36

Choose a tag to compare

v0.1.1

Update version to 0.1.1 in pyproject.toml and adjust pydantic depende…