Releases: denpamusic/PyPlumIO
Releases · denpamusic/PyPlumIO
PyPlumIO v0.4.2
- Fixed
on_change
filter not respectingParameter
boundaries, when determining whether parameter is changed. - Fixed
delta
filter getting forever stuck, when values is continuously incremented by less than a significant change (<= 0.1).
PyPlumIO v0.4.1
- Requests that are failed during initial device setup will now be ignored when doing versioning. Related to denpamusic/homeassistant-plum-ecomax#26.
PyPlumIO v0.4.0.post1
- Fixed documentation link.
PyPlumIO v0.4.0
- Improved sub-devices handling.
- Added offset support for parameters.
- Added documentation
- Removed deprecated functions.
PyPlumIO v0.3.5
- Improved timing precision and use monotonic timers.
- Added retries parameter to
Device.set
andDevice.set_nowait
methods. It defines number of tries to set value on the remote. - Added
Parameter.set_nowait
method. Same asParameter.set
but without blocking. - Added
EcoMAX.turn_on_nowait
andEcoMAX.turn_off_nowait
methods. Same as their unsuffixed counterparts, but without blocking. - Added
BinaryParameter.turn_on_nowait
andBinaryParameter.turn_on_nowait
methods. Same as their unsuffixed counterparts, but without blocking. - Removed
pyplumio.helpers.network_info
module.NetworkInfo
dataclass has been moved topyplumio.structures.network_info
module. - Removed
pyplumio.helpers.version_info
module.VersionInfo
dataclass has been moved topyplumio.structures.program_version
module.
PyPlumIO v0.3.4
A lot of deprecations in this release. Sorry about that, but it need's to be done in order to progress forward. Please check README if you unsure on how to use new methods. Most of the deprecated methods and modules will be removed in v0.4.1.
- Added EventManager class to improve code reusability.
- Added RegulatorData class that is inherited from the EventManager. See Working with Regulator Data section to learn more.
- Added
EventManager.get_nowait(name: str | int, default = None)
method, that returns value right away instead of waiting for it. If value is not available, it returns whatever specified indefault
argument. EventManager
attributes are now proxied toEventManager.data
. This allows to useDevice.mixers
instead ofDevice.data["mixers"]
.- Deprecated
Device.get_value
in favor ofDevice.get
orDevice.get_nowait
. - Deprecated
Device.get_parameter
in favor ofDevice.get
orDevice.get_nowait
. - Deprecated
Device.set_value
in favor ofDevice.set
. - Deprecated
Device.set_value_nowait
in favor ofDevice.set_nowait
. - Deprecated
Protocol.get_device
in favor ofProtocol.get
orProtocol.get_nowait
. - Deprecated
pyplumio.helpers.filters
module in favor ofpyplumio.filters
. - Removed
pyplumio.helpers.product_info
module. ProductInfo dataclass has been moved topyplumio.structures.product_info
and ConnectedModules dataclass has been moved topyplumio.structures.modules
.
PyPlumIO v0.3.3
- Fixed incorrect byte length being used when encoding values of thermostat parameters. Related to #11.
PyPlumIO v0.3.2
- Added
connected
attribute. True when device is connected, False otherwise. - Decreased retry timeout.
- Fixed connection shutdown failure when exception is raised on
FrameWriter.close
call.
PyPlumIO v0.3.1.post1
- Fix requirements.
PyPlumIO v0.3.1
- Dropped Python 3.8 support. Please use branch 0.2.x for Python 3.8.
- Added
Device.wait_for
method for waiting until data is available. - Added
Addressable.async_setup
method to fetch initial data.