Repository navigation
Releases: Herbertmt978/python-axle
Release list
aioaxlevpp 0.2.0
Add AxleStatus and AxleClient.get_status() to retain Axle's optional opted_out flag when no event is scheduled. Existing get_event() and parse_event() remain available and preserve valid event results. Both client methods use the existing request, session, authentication and timeout behaviour.
An explicitly supplied opted_out value must be Boolean, including on empty schedules. A missing value remains unknown in AxleStatus. The library exposes the raw flag without claiming whether it describes account or event participation.
46 tests pass with 98.68% coverage. Ruff, strict MyPy, source and wheel builds, strict Twine checks and a fresh source-package installation pass.
aioaxlevpp 0.1.1
Fix handling of Axle's no-event response, identified during Home Assistant DEV testing. Responses with explicitly null start, end and direction fields now return no event instead of raising a connection error. Partial or malformed events still raise an error.
aioaxlevpp 0.1.0
Initial release of the async Axle Energy Home Assistant event client.
- Read the household grid-event schedule using a caller-owned aiohttp session.
- Return typed event timestamps, direction and participation data.
- Report authentication and connection failures through dedicated exceptions.
Validated with 26 tests and 100% coverage, strict typing, lint and distribution checks.