Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Version 1.1

Compare
Choose a tag to compare
@GideonLeGrange GideonLeGrange released this 13 Apr 09:07
· 58 commits to master since this release

Version 1.1 adds better control over the units used by Endpoint when retrieving a value or receiving an event. The following new methods are available on Endpoint:

  • String getUnit() - return the unit currently set as default for the endpoint. Values returned by getValue() are scaled using this unit.
  • void setUnit(String unit) - set the unit to use as default for the endpoint.

Some internal changes were made to accommodate the implementation the new functionality.