Skip to content

1.2.0

Compare
Choose a tag to compare
@marthoc marthoc released this 16 Feb 20:40
· 3 commits to main since this release
6df3da2
1.2.0 (#2)

* Refactor get_devices method for total HomeSeer device support

The get_devices method no longer returns device objects based on device_type_string, but instead based on the Control Pairs detected for the device. This change makes libhomeseer completely agnostic as to the technology or plug-in that provides the device. All HomeSeer devices are now supported and libhomeseer will return at least a status-only object for every device. Devices with Control Pairs that fall into certain categories (initially On/Off, On/Off/Dim, and Lock/Unlock) will have an object returned with appropriate methods (e.g. on(), off(), dim(), lock(), unlock()) that match the device's detected Control Pairs.

* Update documentation in example.py

* Bump version to 1.2.0

* Improve release script