Releases: alengwenus/pypck
Releases · alengwenus/pypck
0.7.12
Other
- Exception handling for unknown hardware types
- Excpetion handling for PCK decode errors
- Add test support for Python 3.10
- Set default GIT CI Environment to Python 3.9
0.7.11
Improvements
- Possiblity to register general input callbacks not bound to a device.
0.7.10
Improvements
- Add status message handler for transmitter, transponder and fingerprint codes.
Bugfixes
- Fix cancelling all tasks for all open connections when closing a single connection.
- Fix unit for ampere (Kelvin -> Ampere).
- Fix conversion function for ampere (mA -> A).
0.7.9
Bugfixes
- Fix ping timeout interval
Other
- Add a task registry to keep track of all pending tasks scheduled on the event loop
0.7.8
Breaking changes
- Remove explicit support for Python 3.7
Improvements
- Dump available module information in a hierachical dict
Bugfixes
- Status messages targetting segment id 4 (all segments) are handled correctly
Other
- GroupConnection object is created on the fly
- Remove input handling for groups (groups don't receive status messages)
- Add test support for Python 3.9
- Add type hints to tests
0.7.7
Bugfixes
- Exclude test directory from build
0.7.6
Breaking changes
- Change convenience methods in Module-/GroupConnection to coroutines
- Change
send_commandmethods to coroutines - Rename
sw_ageattributes tosoftware_serial
Improvements
- Add group membership discovery (static and dynamic groups)
- Add
RelaysTimercommand - Add message handler for
SendKeysHostmessage - Add scene status message request store command
- Change hardware type number in serial to HardwareType enum
Bugfixes
- Fixe an error message due to wrong formatters when logging in debug level
- Correct handling of unicode characters for display's dynamic text
Other
- Increase amount of unit tests for messages and commands
- Additional pre-commit hooks, tests and Github actions
- Improve
README.md - Relicense to EPL 2.0
0.7.5
Breaking changes
- Remove the
loopparameter fromPchkConnectionManager - Change
LogicOpStatusvalues fromnot/or/andtonone/some/all
Improvements
- Add beep command.
- Add command to store scenes.
- Add empty command.
- Add parsing of
send command hostmessage.
Bugfixes
- Several pending tasks are awaited after a
async_close() - Fix hardware type value after serial number request.
- Fix valid address range for modules and groups in
LcnAddr. - Separate parser for native and percent output units due to wrong percentage calculation.
Other
- Remove asyncio loop from all methods.
- Add a test framework.
- Increase test coverage.
- Add type hints.
- Fix linting errors.
- Add pre-commit hook.
0.7.4
Bugfixes
- Correct handling of variable responses without a type.
- Variable polling when requesting the same variable status multiple times.
0.7.3
Improvements
- Support for connection handshake for PCHK versions <2.2.
- Add callback function to handle various LCN host exceptions.