Skip to content

Releases: mdeweerd/zha-toolkit

v0.7.14 🧰 Fix zcl_type references, fail_exception option

12 Feb 13:42
07d10e5
Compare
Choose a tag to compare

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`

10 Feb 23:37
ab2b9c3
Compare
Choose a tag to compare

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

@mdeweerd, @dcoder42

What's Changed

  • scan_device filename, zha_device sorting. by @mdeweerd in #13

Full Changelog: v0.7.12...v0.7.13

v0.7.12 🧰 Add zha_devices + named attributes + attr_type detection

10 Feb 11:16
05422ef
Compare
Choose a tag to compare

Changes

  • #11 Add zha_devices + named attributes + attr_type detection @mdeweerd

Full Changelog: v0.7.11...v0.7.12

v0.7.11 🧰 Improvements regarding service definitions & CSV output

09 Feb 13:45
823e595
Compare
Choose a tag to compare

Changes

  • #10 Improvements regarding service definitions & CSV output @mdeweerd

v0.7.10 🧰Add numeric attr_id value to scan_device results

08 Feb 17:47
145569d
Compare
Choose a tag to compare

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.

08 Feb 15:01
08cbd12
Compare
Choose a tag to compare

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.

04 Feb 23:31
Compare
Choose a tag to compare

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 and attr_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 to zha-toolkit.
  • Commands, services and parameters are now all defined as constants in the code.

v0.5.11 🧰 Write attribute values to CSV file

01 Feb 00:17
Compare
Choose a tag to compare

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.

31 Jan 17:59
Compare
Choose a tag to compare

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.

30 Jan 16:22
Compare
Choose a tag to compare

Changes

  • Fix for error message in logs that is actually debug information.