0.3.0
Feature release: two new aggregation endpoints and automated PyPI publishing.
Added
get_site_time_series()— whole-site rollup (GET /aggregations/site-time-series), supporting the same relative (time_ago_*) and absolute (start/end) time windows as the other aggregation methods. Defaults:measure_kind="FLOW",aggregation_level="HOUR",aggregation_type="SUM". (#27)get_top_consumption()— per-device consumption breakdown (GET /aggregations/top-consumption): the top consuming devices with their percentage share, plus an "other" bucket. Reuses the shared aggregation query helper (relative & absolute windows), fully type-annotated. (#28)
Changed
- 💥 Dropped Python 3.9 support (EOL since October 2025):
requires-pythonraised to>=3.10, CI matrix and trove classifiers updated. If you are still on Python 3.9, pincomwatt-client==0.2.4. (#30)
CI
- Automated PyPI publishing via GitHub Actions trusted publishing (no API tokens): publishing a GitHub release now builds the sdist + wheel and uploads them to PyPI. (#29)
Full Changelog: 0.2.4...0.3.0