This has a small chance of breaking tables with older firmwares; if your table has issues, make sure it is running at least firmware v1.10.73.
From the release notes for the new version:
[3.0] - 2020-11-08
==================
Added
-----
* Track remaining/total time support (requires recent firmware)
* Test shell program
Changed
-------
* Reworked the data model to match how Sisyphus itself does it. This fixes crashes that were occurring working with tables that have the latest firmware, but may break things with older firmwares.
* Switched to `python-socketio` for Socket.IO support, as it is more actively maintained than `SocketIO-client-nexus`.
* Switched to VSCode for development
* Initial switch-group/stretch with failing wk_lisa_battery test
* Adding switch tests, but TypeErrors, needs more investigation
* Fixes and tests aligned
* Review updates
* Use const
* Comments
* Add stretch hostname for testing part
* Remove unused consts
* Revert guardings in line with -beta
* Catchup with dev (mostly with ourselves from #41201)
* Update docstring
* Remove debug logging
* Fix for #42725 (incorrect entity namingi)
* Fix naming for gas interval
* Add missing CONF_USERNAME and use of it
* Change "dummy" to "class"
* Don't use "class"
* Fix CONF_USERNAME default, dummy and other consts
Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
* check for false config in modbus tests.
add call to pytest.fail() if device cannot be defined.
* correct bit error in register read.
Only LSB is to be considered for checking ON/OFF
* Add register tests for modbus switch.
Copy the coil tests to work for register tests.
* allow test coverage to control switch.py
With both register and coil test the coverage is a log higher than 50%
* Correct minor bug in handling of register in modbus switch
* Add state_on/state_off test for modbus switch
* restore modbus switch exclusion from coverage
switch file coverage is only at 72%, ideally we want either 80%+ coverage on the file or 90%+ on the component itself which is only about 83% currently with this file included. this is so we keep the overall project coverage in 90%+.
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Allow coordinator ZDO binding/unbinding operations
* Let coordinator to provide endpoint it
* Refactor ClusterPair to a dataclass
* Rename ClusterPair