Releases: mdeweerd/zha-toolkit
Releases · mdeweerd/zha-toolkit
v0.7.14 🧰 Fix zcl_type references, fail_exception option
Changes
Functional:
- #15 Added
fail_exception
parameter to raise an exception when success is False; - #15 Fixed zcl type references (some types are called like uint16_t and others int16s);
- Improved priority of parameters types (for parameter checks);
Documentation:
- Added
attr_write
example with template.
Internal:
- Refactored the way services/commansd are called (reduce repetition);
- Prepare bind methods to add more bindable clusters;
- README.md formatted (improves readability when opening as text).
Full Changelog: v0.7.13...v0.7.14
v0.7.13 🧰 Improve `scan_device` filename, `zha_device` output sort, `fail_exception`
Changes
- scan_device filename improved: better partial IEEE address (#12), include selected endpoint (list); @mdeweerd
- Sort zha_device list according to 'csvlabel' - cope with absent values for sorting.
- zha_device sorting. @mdeweerd
- Add 'fail_exception' to generate service exception on "failure" @mdeweerd
- Extend documentation (service screenshot); @mdeweerd
- Extend services.yaml (UI parameters); @mdeweerd
⭐️ Thank you so much for helping out to keep this integration awesome
What's Changed
Full Changelog: v0.7.12...v0.7.13
v0.7.12 🧰 Add zha_devices + named attributes + attr_type detection
Changes
Full Changelog: v0.7.11...v0.7.12
v0.7.11 🧰 Improvements regarding service definitions & CSV output
v0.7.10 🧰Add numeric attr_id value to scan_device results
Changes
- #9 Add numeric attribute type to scan result,
- Add scan_device and conf_report to services.yaml to get options in UI.
Full Changelog: v0.7.8...v0.7.10
v0.7.8 🧰 misc_reinitialize, accept CancelledError, more commands added to service definitions, more attribute types.
Changes
misc_reinitialize
to force reinitialisation of the device as if it freshly joined.- 'attr_read' and 'attr_write' use the tries paramter.
- Extra services defined in services.yaml (for UI configuration)
- Accept CancelledError on retries
- Accept out clusters in the device definition for reading attributes as if there have corresponding in clusters
- Better handling of attribute read during attr_write, especially if
read_before_write
is false - Parameter definitions for individual services (for parameter validation)
- #8 Add more types for attributes (uint and int types) @mdeweerd
Full Changelog: v0.7.0...v0.7.8
v0.7.0 🧰A service for each internal command, 'user.py' for user commands.
Changes
- Each internal command is now available using either 'service.execute' or 'service.COMMAND' where COMMAND is a command like
attr_write
,attr_read
, ... . - Fully specified
attr_write
andattr_read
in services.yaml so that UI configuration is more concise and clearly indicates required options. - Added a default implemetation to make the addition of future commands easier with less code, and avoiding restarts after updates.
- Added the possibility to call commands in
local/user.py
which is a gread tool to develop your personal commands and/or more general commands you might propose for integration tozha-toolkit
. - Commands, services and parameters are now all defined as constants in the code.
v0.5.11 🧰 Write attribute values to CSV file
Changes
- Options to write attribute values to CSV file
- Refactored string constants to constants for strings.
v0.5.10 🧰 Fixed uninitialized msg in attr_write due to bad indentation.
Changes
- Fixed uninitialized msg in attr_write due to bad indentation.
v0.5.9 🧰 Fix for error message in logs that is actually debug information.
Changes
- Fix for error message in logs that is actually debug information.