All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added support for pydantic 2.x (>=2.0.0) while maintaining compatibility with pydantic 1.x (>=1.9.0).
- Dropped support for Python 3.8 and added 3.11/3.12.
- Fixed error in cli for printing events.
- Loosen version for required package aiohttp (Dependency to Home Assistant).
- Downgrade pydantic to 1.x (Dependency to Home Assistant).
- All models are now based on pydantic - interface is still the same.
- Code is refactored into separate modules - imports are still provided by using
import pykoplenti
- If a request is anwered with 401, an automatic re-login is triggered (like this was already the case for 400 response).
- A new api client
ExtendedApiClient
was added which provides virtual process data values. See Virtual Process Data for details. - Package provide type hints via
py.typed
.
- Add installer authentication
- Add a new class
pykoplenti.ExtendedApiClient
which provides virtual process ids for some common missing values.
- ProcessDataCollection can now return raw json response.
- Minimum Python Version is now 3.7
- Change package metadata
- Changed naming to simpler unique name
- new function to read events from the inverter
- new sub-command
read-events
for reading events - download of log data
- Prepared for PyPI-Publishing
- Allow reading setting values from multiple modules